Home
last modified time | relevance | path

Searched refs:ch1 (Results 1 – 31 of 31) sorted by relevance

/linux-4.1.27/sound/pci/ice1712/
Dse.c38 unsigned char ch1, ch2; member
464 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_volume_get()
475 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_boolean_get()
485 uc->value.enumerated.item[0] = spec->vol[n].ch1; in se200pci_cont_enum_get()
496 spec->vol[n].ch1, in se200pci_cont_update()
502 spec->vol[n].ch1, in se200pci_cont_update()
508 spec->vol[n].ch1, in se200pci_cont_update()
514 spec->vol[n].ch1); in se200pci_cont_update()
518 se200pci_WM8776_set_agc(ice, spec->vol[n].ch1); in se200pci_cont_update()
522 se200pci_WM8776_set_afl(ice, spec->vol[n].ch1); in se200pci_cont_update()
[all …]
Dwm8766.h139 void (*set)(struct snd_wm8766 *wm, u16 ch1, u16 ch2);
140 void (*get)(struct snd_wm8766 *wm, u16 *ch1, u16 *ch2);
Dwm8776.h195 void (*set)(struct snd_wm8776 *wm, u16 ch1, u16 ch2);
196 void (*get)(struct snd_wm8776 *wm, u16 *ch1, u16 *ch2);
/linux-4.1.27/drivers/staging/speakup/
Dkeyhelp.c64 u_char *kp, counters[MAXFUNCS], ch, ch1; in build_key_data() local
97 ch1 = *kp++; in build_key_data()
98 if (!ch1) in build_key_data()
100 if ((state_tbl[i]&16) != 0 && ch1 == SPK_KEY) in build_key_data()
103 counters[ch1]--; in build_key_data()
104 offset = key_offsets[ch1]; in build_key_data()
107 p_key = key_data + offset + counters[ch1]; in build_key_data()
/linux-4.1.27/drivers/iio/light/
Dapds9300.c68 static unsigned long apds9300_calculate_lux(u16 ch0, u16 ch1) in apds9300_calculate_lux() argument
76 tmp = DIV_ROUND_UP(ch1 * 100, ch0); in apds9300_calculate_lux()
81 lux = 2290 * ch0 - 2910 * ch1; in apds9300_calculate_lux()
83 lux = 1570 * ch0 - 1800 * ch1; in apds9300_calculate_lux()
85 lux = 338 * ch0 - 260 * ch1; in apds9300_calculate_lux()
242 int ch0, ch1, ret = -EINVAL; in apds9300_read_raw() local
253 ch1 = apds9300_get_adc_val(data, 1); in apds9300_read_raw()
254 if (ch1 < 0) { in apds9300_read_raw()
255 ret = ch1; in apds9300_read_raw()
258 *val = apds9300_calculate_lux(ch0, ch1); in apds9300_read_raw()
Dtsl2563.c432 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; in adc_to_lux() local
434 ratio = ch0 ? ((ch1 << ADC_FRAC_BITS) / ch0) : ULONG_MAX; in adc_to_lux()
439 lux = ch0 * lp->ch0_coeff - ch1 * lp->ch1_coeff; in adc_to_lux()
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-context.c114 struct pvr2_channel *ch1, *ch2; in pvr2_context_check() local
143 for (ch1 = mp->mc_first; ch1; ch1 = ch2) { in pvr2_context_check()
144 ch2 = ch1->mc_next; in pvr2_context_check()
145 if (ch1->check_func) ch1->check_func(ch1); in pvr2_context_check()
/linux-4.1.27/drivers/staging/iio/light/
Dtsl2583.c111 unsigned int ch1; member
126 s16 ch1; member
196 u16 ch0, ch1; /* separated ch0/ch1 data from device */ in taos_get_lux() local
258 ch1 = le16_to_cpup((const __le16 *)&buf[2]); in taos_get_lux()
261 chip->als_cur_info.als_ch1 = ch1; in taos_get_lux()
263 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) in taos_get_lux()
272 ratio = (ch1 << 15) / ch0; in taos_get_lux()
284 ch1lux = ((ch1 * p->ch1) + in taos_get_lux()
285 (gainadj[chip->taos_settings.als_gain].ch1 >> 1)) in taos_get_lux()
286 / gainadj[chip->taos_settings.als_gain].ch1; in taos_get_lux()
[all …]
Dtsl2x7x.h35 unsigned int ch1; member
Dtsl2x7x_core.c335 u16 ch0, ch1; /* separated ch0/ch1 data from device */ in tsl2x7x_get_lux() local
396 ch1 = le16_to_cpup((const __le16 *)&buf[2]); in tsl2x7x_get_lux()
399 chip->als_cur_info.als_ch1 = ch1; in tsl2x7x_get_lux()
401 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) { in tsl2x7x_get_lux()
412 ratio = (ch1 << 15) / ch0; in tsl2x7x_get_lux()
423 ch1lux = DIV_ROUND_UP((ch1 * p->ch1), in tsl2x7x_get_lux()
1147 chip->tsl2x7x_device_lux[i].ch1); in tsl2x7x_luxtable_show()
/linux-4.1.27/drivers/misc/
Dtsl2550.c156 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) in tsl2550_calculate_lux() argument
162 u16 c1 = count_lut[ch1]; in tsl2550_calculate_lux()
260 u8 ch0, ch1; in __tsl2550_show_lux() local
271 ch1 = ret; in __tsl2550_show_lux()
274 ret = tsl2550_calculate_lux(ch0, ch1); in __tsl2550_show_lux()
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Drenesas,usb-dmac.txt22 interrupt-names = "ch0", "ch1";
33 interrupt-names = "ch0", "ch1";
Drenesas,rcar-dmac.txt57 "ch0", "ch1", "ch2", "ch3",
87 "ch0", "ch1", "ch2", "ch3",
Dshdma.txt65 "ch0", "ch1", "ch2", "ch3",
/linux-4.1.27/drivers/gpu/drm/i915/
Ddvo_tfp410.c158 uint8_t ch1, ch2; in tfp410_getid() local
160 if (tfp410_readb(dvo, addr+0, &ch1) && in tfp410_getid()
162 return ((ch2 << 8) & 0xFF00) | (ch1 & 0x00FF); in tfp410_getid()
/linux-4.1.27/sound/oss/dmasound/
Ddmasound_paula.c463 u_char *start, *ch0, *ch1, *ch2, *ch3; in AmiPlayNextFrame() local
475 ch1 = start+write_sq_block_size_half; in AmiPlayNextFrame()
479 ch1 = start; in AmiPlayNextFrame()
488 custom.aud[1].audlc = (u_short *)ZTWO_PADDR(ch1); in AmiPlayNextFrame()
495 custom.aud[1].audlc = (u_short *)ZTWO_PADDR(ch1); in AmiPlayNextFrame()
500 ch2 = ch1+write_sq_block_size_quarter; in AmiPlayNextFrame()
/linux-4.1.27/arch/arm/boot/dts/
Dstih407-clock.dtsi126 "clk-s-c0-fs0-ch1",
208 "clk-s-d0-fs0-ch1",
242 "clk-s-d2-fs0-ch1",
296 "clk-s-d3-fs0-ch1",
Dstih410-clock.dtsi129 "clk-s-c0-fs0-ch1",
218 "clk-s-d0-fs0-ch1",
254 "clk-s-d2-fs0-ch1",
308 "clk-s-d3-fs0-ch1",
Dstih418-clock.dtsi129 "clk-s-c0-fs0-ch1",
221 "clk-s-d0-fs0-ch1",
257 "clk-s-d2-fs0-ch1",
318 "clk-s-d3-fs0-ch1",
Dr8a7794.dtsi130 "ch0", "ch1", "ch2", "ch3",
160 "ch0", "ch1", "ch2", "ch3",
Dr8a7790.dtsi277 "ch0", "ch1", "ch2", "ch3",
307 "ch0", "ch1", "ch2", "ch3",
335 "ch0", "ch1", "ch2", "ch3",
363 "ch0", "ch1", "ch2", "ch3",
Dr8a7791.dtsi264 "ch0", "ch1", "ch2", "ch3",
294 "ch0", "ch1", "ch2", "ch3",
322 "ch0", "ch1", "ch2", "ch3",
350 "ch0", "ch1", "ch2", "ch3",
Dr8a73a4.dtsi94 "ch0", "ch1", "ch2", "ch3",
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dst,sta32x.txt30 - st,ch1-output-mapping: Channel 1 output mapping
84 st,ch1-output-mapping = /bits/ 8 <0>; // set channel 1 output ch 1
Dst,sta350.txt30 - st,ch1-output-mapping: Channel 1 output mapping
123 st,ch1-output-mapping = /bits/ 8 <0>; // set channel 1 output ch 1
/linux-4.1.27/drivers/staging/iio/adc/
Dmxs-lradc.c492 static void mxs_lradc_setup_ts_pressure(struct mxs_lradc *lradc, unsigned ch1, in mxs_lradc_setup_ts_pressure() argument
507 mxs_lradc_reg_wrt(lradc, reg, LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure()
514 mxs_lradc_reg_clear(lradc, LRADC_CH_VALUE_MASK, LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure()
518 mxs_lradc_reg_wrt(lradc, LRADC_DELAY_TRIGGER(1 << ch1) | in mxs_lradc_setup_ts_pressure()
557 unsigned ch1, unsigned ch2) in mxs_lradc_read_ts_pressure() argument
562 mask = LRADC_CTRL1_LRADC_IRQ(ch1) | LRADC_CTRL1_LRADC_IRQ(ch2); in mxs_lradc_read_ts_pressure()
570 m1 = mxs_lradc_read_raw_channel(lradc, ch1); in mxs_lradc_read_ts_pressure()
/linux-4.1.27/scripts/
DMakefile.lib310 read ch0 ch1 ch2 ch3; \
311 for ch in $$ch3 $$ch2 $$ch1 $$ch0; do \
/linux-4.1.27/Documentation/devicetree/bindings/clock/st/
Dst,flexgen.txt44 | | ch1|----|-->| | | | | | | |
/linux-4.1.27/Documentation/sound/alsa/
DChannel-Mapping-API.txt57 type data-bytes ch0 ch1 ch2...
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965.c700 ch_i1 = il->calib_info->band_info[s].ch1.ch_num; in il4965_interpolate_chan()
709 m1 = &(il->calib_info->band_info[s].ch1. in il4965_interpolate_chan()
Dcommon.h304 struct il_eeprom_calib_ch_info ch1; member