Home
last modified time | relevance | path

Searched full:ch1 (Results 1 – 25 of 195) sorted by relevance

12345678

/Linux-v6.1/drivers/iio/light/
Dapds9300.c57 /* Calculated values 1000 * (CH1/CH0)^1.4 for CH1/CH0 from 0 to 0.52 */
65 static unsigned long apds9300_calculate_lux(u16 ch0, u16 ch1) in apds9300_calculate_lux() argument
73 tmp = DIV_ROUND_UP(ch1 * 100, ch0); in apds9300_calculate_lux()
78 lux = 2290 * ch0 - 2910 * ch1; in apds9300_calculate_lux()
80 lux = 1570 * ch0 - 1800 * ch1; in apds9300_calculate_lux()
82 lux = 338 * ch0 - 260 * ch1; in apds9300_calculate_lux()
239 int ch0, ch1, ret = -EINVAL; in apds9300_read_raw() local
250 ch1 = apds9300_get_adc_val(data, 1); in apds9300_read_raw()
251 if (ch1 < 0) { in apds9300_read_raw()
252 ret = ch1; in apds9300_read_raw()
[all …]
Dtsl2583.c71 unsigned int ch1; member
109 s16 ch1; member
152 * The raw ch0 and ch1 values of the ambient light sensed in the last
157 * of ch1 value, to the ch0 value, is calculated. The array als_device_lux[]
159 * above the ratio we just calculated. The ch0 and ch1 multiplier constants in
165 u16 ch0, ch1; /* separated ch0/ch1 data from device */ in tsl2583_get_lux() local
217 ch1 = le16_to_cpup((const __le16 *)&buf[2]); in tsl2583_get_lux()
220 chip->als_cur_info.als_ch1 = ch1; in tsl2583_get_lux()
222 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) in tsl2583_get_lux()
237 ratio = (ch1 << 15) / ch0; in tsl2583_get_lux()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dtas571x.c489 BIQUAD_COEFS("CH1 - Biquad 0", TAS5707_CH1_BQ0_REG),
490 BIQUAD_COEFS("CH1 - Biquad 1", TAS5707_CH1_BQ1_REG),
491 BIQUAD_COEFS("CH1 - Biquad 2", TAS5707_CH1_BQ2_REG),
492 BIQUAD_COEFS("CH1 - Biquad 3", TAS5707_CH1_BQ3_REG),
493 BIQUAD_COEFS("CH1 - Biquad 4", TAS5707_CH1_BQ4_REG),
494 BIQUAD_COEFS("CH1 - Biquad 5", TAS5707_CH1_BQ5_REG),
495 BIQUAD_COEFS("CH1 - Biquad 6", TAS5707_CH1_BQ6_REG),
575 SOC_DOUBLE_R_RANGE("CH1 Mixer Volume",
590 BIQUAD_COEFS("CH1 - Biquad 0", TAS5717_CH1_BQ0_REG),
591 BIQUAD_COEFS("CH1 - Biquad 1", TAS5717_CH1_BQ1_REG),
[all …]
Dnau8540.c231 SOC_DAPM_ENUM("Digital CH1 Select", digital_ch1_enum);
295 SND_SOC_DAPM_PGA("ADC CH1", NAU8540_REG_ANALOG_PWR, 0, 0, NULL, 0),
306 SND_SOC_DAPM_MUX("Digital CH1 Mux",
324 {"ADC CH1", NULL, "ADC1"},
334 {"Digital CH1 Mux", "ADC channel 1", "ADC CH1"},
335 {"Digital CH1 Mux", "ADC channel 2", "ADC CH2"},
336 {"Digital CH1 Mux", "ADC channel 3", "ADC CH3"},
337 {"Digital CH1 Mux", "ADC channel 4", "ADC CH4"},
339 {"Digital CH2 Mux", "ADC channel 1", "ADC CH1"},
344 {"Digital CH3 Mux", "ADC channel 1", "ADC CH1"},
[all …]
Dsta350.c442 SOC_SINGLE_TLV("Ch1 Volume", STA350_C1VOL, 0, 0xff, 1, chvol_tlv),
467 SOC_SINGLE("Ch1 Switch", STA350_MMUTE, STA350_MMUTE_C1M_SHIFT, 1, 1),
474 SOC_SINGLE("Ch1 Tone Control Bypass Switch",
478 SOC_SINGLE("Ch1 EQ Bypass Switch",
482 SOC_SINGLE("Ch1 Master Volume Bypass Switch",
488 SOC_ENUM("Ch1 Binary Output Select", sta350_binary_output_ch1_enum),
491 SOC_ENUM("Ch1 Limiter Select", sta350_limiter_ch1_enum),
533 BIQUAD_COEFS("Ch1 - Biquad 1", 0),
534 BIQUAD_COEFS("Ch1 - Biquad 2", 5),
535 BIQUAD_COEFS("Ch1 - Biquad 3", 10),
[all …]
Dsta32x.c447 SOC_SINGLE("Ch1 Switch", STA32X_MMUTE, 1, 1, 1),
450 SOC_SINGLE_TLV("Ch1 Volume", STA32X_C1VOL, 0, 0xff, 1, chvol_tlv),
463 SOC_SINGLE("Ch1 Tone Control Bypass Switch", STA32X_C1CFG, STA32X_CxCFG_TCB_SHIFT, 1, 0),
465 SOC_SINGLE("Ch1 EQ Bypass Switch", STA32X_C1CFG, STA32X_CxCFG_EQBP_SHIFT, 1, 0),
467 SOC_SINGLE("Ch1 Master Volume Bypass Switch", STA32X_C1CFG, STA32X_CxCFG_VBP_SHIFT, 1, 0),
470 SOC_ENUM("Ch1 Limiter Select", sta32x_limiter_ch1_enum),
500 BIQUAD_COEFS("Ch1 - Biquad 1", 0),
501 BIQUAD_COEFS("Ch1 - Biquad 2", 5),
502 BIQUAD_COEFS("Ch1 - Biquad 3", 10),
503 BIQUAD_COEFS("Ch1 - Biquad 4", 15),
[all …]
Dak5558.c108 SND_SOC_DAPM_ADC("ADC Ch1", NULL, AK5558_00_POWER_MANAGEMENT1, 0, 0),
125 SND_SOC_DAPM_ADC("ADC Ch1", NULL, AK5558_00_POWER_MANAGEMENT1, 0, 0),
132 {"ADC Ch1", NULL, "AIN1"},
133 {"SDTO", NULL, "ADC Ch1"},
158 {"ADC Ch1", NULL, "AIN1"},
159 {"SDTO", NULL, "ADC Ch1"},
/Linux-v6.1/drivers/accessibility/speakup/
Dkeyhelp.c51 u_char *kp, counters[MAXFUNCS], ch, ch1; in build_key_data() local
84 ch1 = *kp++; in build_key_data()
85 if (!ch1) in build_key_data()
87 if ((state_tbl[i] & 16) != 0 && ch1 == SPK_KEY) in build_key_data()
90 counters[ch1]--; in build_key_data()
91 offset = key_offsets[ch1]; in build_key_data()
94 p_key = key_data + offset + counters[ch1]; in build_key_data()
/Linux-v6.1/drivers/media/usb/pvrusb2/
Dpvrusb2-context.c101 struct pvr2_channel *ch1, *ch2; in pvr2_context_check() local
130 for (ch1 = mp->mc_first; ch1; ch1 = ch2) { in pvr2_context_check()
131 ch2 = ch1->mc_next; in pvr2_context_check()
132 if (ch1->check_func) ch1->check_func(ch1); in pvr2_context_check()
/Linux-v6.1/sound/pci/ice1712/
Dse.c24 unsigned char ch1, ch2; member
450 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_volume_get()
461 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_boolean_get()
471 uc->value.enumerated.item[0] = spec->vol[n].ch1; in se200pci_cont_enum_get()
482 spec->vol[n].ch1, in se200pci_cont_update()
488 spec->vol[n].ch1, in se200pci_cont_update()
494 spec->vol[n].ch1, in se200pci_cont_update()
500 spec->vol[n].ch1); in se200pci_cont_update()
504 se200pci_WM8776_set_agc(ice, spec->vol[n].ch1); in se200pci_cont_update()
508 se200pci_WM8776_set_afl(ice, spec->vol[n].ch1); in se200pci_cont_update()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-tcon-ch0-clk.yaml25 - allwinner,sun4i-a10-tcon-ch1-clk
71 compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
74 clock-output-names = "tcon-ch1-sclk";
/Linux-v6.1/sound/soc/mediatek/mt8183/
Dmt8183-dai-tdm.c145 "CH0", "CH1", "CH2", "CH3",
348 {"HDMI_CH0_MUX", "CH1", "HDMI"},
357 {"HDMI_CH1_MUX", "CH1", "HDMI"},
366 {"HDMI_CH2_MUX", "CH1", "HDMI"},
375 {"HDMI_CH3_MUX", "CH1", "HDMI"},
384 {"HDMI_CH4_MUX", "CH1", "HDMI"},
393 {"HDMI_CH5_MUX", "CH1", "HDMI"},
402 {"HDMI_CH6_MUX", "CH1", "HDMI"},
411 {"HDMI_CH7_MUX", "CH1", "HDMI"},
/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/
Dnvidia,tegra186-mc.yaml157 - const: ch1
176 - const: ch1
207 - const: ch1
250 reg-names = "sid", "broadcast", "ch0", "ch1", "ch2", "ch3";
/Linux-v6.1/sound/soc/mediatek/mt8192/
Dmt8192-dai-tdm.c137 "CH0", "CH1", "CH2", "CH3",
396 {"HDMI_CH0_MUX", "CH1", "HDMI"},
405 {"HDMI_CH1_MUX", "CH1", "HDMI"},
414 {"HDMI_CH2_MUX", "CH1", "HDMI"},
423 {"HDMI_CH3_MUX", "CH1", "HDMI"},
432 {"HDMI_CH4_MUX", "CH1", "HDMI"},
441 {"HDMI_CH5_MUX", "CH1", "HDMI"},
450 {"HDMI_CH6_MUX", "CH1", "HDMI"},
459 {"HDMI_CH7_MUX", "CH1", "HDMI"},
/Linux-v6.1/drivers/gpu/drm/i915/
Dintel_dram.c177 const struct dram_channel_info *ch1) in intel_is_dram_symmetric() argument
179 return !memcmp(ch0, ch1, sizeof(*ch0)) && in intel_is_dram_symmetric()
188 struct dram_channel_info ch0 = {}, ch1 = {}; in skl_dram_get_channels_info() local
200 ret = skl_dram_get_channel_info(i915, &ch1, 1, val); in skl_dram_get_channels_info()
209 if (ch0.ranks == 0 && ch1.ranks == 0) { in skl_dram_get_channels_info()
214 dram_info->wm_lv_0_adjust_needed = ch0.is_16gb_dimm || ch1.is_16gb_dimm; in skl_dram_get_channels_info()
216 dram_info->symmetric_memory = intel_is_dram_symmetric(&ch0, &ch1); in skl_dram_get_channels_info()
/Linux-v6.1/include/linux/usb/
Dr8a66597.h440 #define CH1STCLR 0x0002 /* b2: Ch1 DMA Status Clear */
444 #define CH1BUFW 0x0200 /* b9: Ch1 DMA Buffer Data Transfer Enable */
446 #define CH1BUFS 0x0002 /* b2: Ch1 DMA Buffer Data Status */
450 #define CH1ERRE 0x0200 /* b9: Ch1 SHwy Res Err Detect Int Enable */
452 #define CH1ENDE 0x0002 /* b2: Ch1 DMA Transfer End Int Enable */
456 #define CH1ERRS 0x0200 /* b9: Ch1 SHwy Res Err Detect Int Status */
458 #define CH1ENDS 0x0002 /* b2: Ch1 DMA Transfer End Int Status */
462 #define CH1ERRC 0x0200 /* b9: Ch1 SHwy Res Err Detect Int Stat Clear */
464 #define CH1ENDC 0x0002 /* b2: Ch1 DMA Transfer End Int Stat Clear */
/Linux-v6.1/tools/perf/tests/
Dapi-io.c131 __u64 val1, int ch1, in do_test_get_hex() argument
146 EXPECT_EQUAL(ch, ch1); in do_test_get_hex()
212 __u64 val1, int ch1, in do_test_get_dec() argument
227 EXPECT_EQUAL(ch, ch1); in do_test_get_dec()
/Linux-v6.1/drivers/usb/renesas_usbhs/
Drza.c21 /* Input Clock Selection (NOTE: ch0 controls both ch0 and ch1) */ in usbhs_rza1_hardware_init()
40 /* Enable USB PLL (NOTE: ch0 controls both ch0 and ch1) */ in usbhs_rza1_hardware_init()
/Linux-v6.1/drivers/misc/
Dtsl2550.c143 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) in tsl2550_calculate_lux() argument
149 u16 c1 = count_lut[ch1]; in tsl2550_calculate_lux()
245 u8 ch0, ch1; in __tsl2550_show_lux() local
256 ch1 = ret; in __tsl2550_show_lux()
259 ret = tsl2550_calculate_lux(ch0, ch1); in __tsl2550_show_lux()
/Linux-v6.1/Documentation/devicetree/bindings/display/
Dallwinner,sun4i-a10-tcon.yaml187 - const: tcon-ch1
206 - const: tcon-ch1
266 - const: tcon-ch1
391 "tcon-ch1";
465 "tcon-ch1",
637 clock-names = "ahb", "tcon-ch1";
/Linux-v6.1/sound/soc/ti/
Domap-mcpdm.h59 #define MCPDM_PDM_UPLINK_EN(x) (1 << (x - 1)) /* ch1 is at bit 0 */
60 #define MCPDM_PDM_DOWNLINK_EN(x) (1 << (x + 2)) /* ch1 is at bit 3 */
/Linux-v6.1/sound/soc/amd/
Dacp-pcm-dma.c340 ch_acp_sysmem = rtd->ch1; in config_acp_dma()
343 ch_acp_i2s = rtd->ch1; in config_acp_dma()
905 rtd->ch1 = SYSRAM_TO_ACP_BT_INSTANCE_CH_NUM; in acp_dma_hw_params()
925 rtd->ch1 = SYSRAM_TO_ACP_MICSP_INSTANCE_CH_NUM; in acp_dma_hw_params()
947 rtd->ch1 = SYSRAM_TO_ACP_CH_NUM; in acp_dma_hw_params()
963 rtd->ch1 = I2S_TO_ACP_DMA_BT_INSTANCE_CH_NUM; in acp_dma_hw_params()
980 rtd->ch1 = I2S_TO_ACP_DMA_CH_NUM; in acp_dma_hw_params()
1096 ch_acp_sysmem = rtd->ch1; in acp_dma_prepare()
1099 ch_acp_i2s = rtd->ch1; in acp_dma_prepare()
1141 acp_dma_start(rtd->acp_mmio, rtd->ch1, true); in acp_dma_trigger()
[all …]
/Linux-v6.1/drivers/input/touchscreen/
Dmxs-lradc-ts.c161 unsigned int ch1, unsigned int ch2) in mxs_lradc_setup_ts_pressure() argument
175 writel(reg, ts->base + LRADC_CH(ch1)); in mxs_lradc_setup_ts_pressure()
183 ts->base + LRADC_CH(ch1) + STMP_OFFSET_REG_CLR); in mxs_lradc_setup_ts_pressure()
188 writel(LRADC_DELAY_TRIGGER(1 << ch1) | LRADC_DELAY_TRIGGER(1 << ch2) | in mxs_lradc_setup_ts_pressure()
225 unsigned int ch1, unsigned int ch2) in mxs_lradc_read_ts_pressure() argument
230 mask = LRADC_CTRL1_LRADC_IRQ(ch1) | LRADC_CTRL1_LRADC_IRQ(ch2); in mxs_lradc_read_ts_pressure()
238 m1 = mxs_lradc_ts_read_raw_channel(ts, ch1); in mxs_lradc_read_ts_pressure()
/Linux-v6.1/Documentation/devicetree/bindings/dma/
Drenesas,usb-dmac.yaml50 - pattern: ch1
98 interrupt-names = "ch0", "ch1";
Drenesas,rz-dmac.yaml36 - const: ch1
121 "ch0", "ch1", "ch2", "ch3",

12345678