/linux-master/include/linux/platform_data/ |
H A D | tsl2772.h | 15 unsigned int ch1; member in struct:tsl2772_lux
|
/linux-master/drivers/accessibility/speakup/ |
H A D | keyhelp.c | 51 u_char *kp, counters[MAXFUNCS], ch, ch1; local 84 ch1 = *kp++; 85 if (!ch1) 87 if ((state_tbl[i] & 16) != 0 && ch1 == SPK_KEY) 90 counters[ch1]--; 91 offset = key_offsets[ch1]; 94 p_key = key_data + offset + counters[ch1];
|
/linux-master/sound/pci/ice1712/ |
H A D | se.c | 24 unsigned char ch1, ch2; member in struct:se_spec::__anon2149 450 uc->value.integer.value[0] = spec->vol[n].ch1; 461 uc->value.integer.value[0] = spec->vol[n].ch1; 471 uc->value.enumerated.item[0] = spec->vol[n].ch1; 482 spec->vol[n].ch1, 488 spec->vol[n].ch1, 494 spec->vol[n].ch1, 500 spec->vol[n].ch1); 504 se200pci_WM8776_set_agc(ice, spec->vol[n].ch1); 508 se200pci_WM8776_set_afl(ice, spec->vol[n].ch1); [all...] |
H A D | wm8766.h | 125 void (*set)(struct snd_wm8766 *wm, u16 ch1, u16 ch2); 126 void (*get)(struct snd_wm8766 *wm, u16 *ch1, u16 *ch2);
|
H A D | wm8776.h | 181 void (*set)(struct snd_wm8776 *wm, u16 ch1, u16 ch2); 182 void (*get)(struct snd_wm8776 *wm, u16 *ch1, u16 *ch2);
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-context.c | 103 struct pvr2_channel *ch1, *ch2; local 130 for (ch1 = mp->mc_first; ch1; ch1 = ch2) { 131 ch2 = ch1->mc_next; 132 if (ch1->check_func) ch1->check_func(ch1);
|
/linux-master/drivers/iio/light/ |
H A D | apds9300.c | 65 static unsigned long apds9300_calculate_lux(u16 ch0, u16 ch1) argument 73 tmp = DIV_ROUND_UP(ch1 * 100, ch0); 78 lux = 2290 * ch0 - 2910 * ch1; 80 lux = 1570 * ch0 - 1800 * ch1; 82 lux = 338 * ch0 - 260 * ch1; 239 int ch0, ch1, ret = -EINVAL; local 250 ch1 = apds9300_get_adc_val(data, 1); 251 if (ch1 < 0) { 252 ret = ch1; 255 *val = apds9300_calculate_lux(ch0, ch1); [all...] |
H A D | rohm-bu27034.c | 228 u16 ch1; member in struct:bu27034_result 672 * => 115.7400832 * ch1 / gain1 / mt - 674 * 0.00012213 * 25600 * (ch1 / gain1 / mt) * 25600 * 675 * (ch1 /gain1 / mt) / (25600 * ch0 / gain0 / mt) 677 * A = 0.00012213 * 25600 * (ch1 /gain1 / mt) * 25600 * 678 * (ch1 /gain1 / mt) / (25600 * ch0 / gain0 / mt) 679 * => 0.00012213 * 25600 * (ch1 /gain1 / mt) * 680 * (ch1 /gain1 / mt) / (ch0 / gain0 / mt) 681 * => 0.00012213 * 25600 * (ch1 / gain1) * (ch1 /gain 821 bu27034_fixp_calc_t1_64bit(unsigned int coeff, unsigned int ch0, unsigned int ch1, unsigned int gain0, unsigned int gain1) argument 843 bu27034_fixp_calc_t1(unsigned int coeff, unsigned int ch0, unsigned int ch1, unsigned int gain0, unsigned int gain1) argument 884 bu27034_fixp_calc_lx(unsigned int ch0, unsigned int ch1, unsigned int gain0, unsigned int gain1, unsigned int meastime, int coeff_idx) argument 1084 u16 ch0, ch1; local [all...] |
H A D | tsl2583.c | 71 unsigned int ch1; member in struct:tsl2583_lux 109 s16 ch1; member in struct:gainadj 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 */ local 217 ch1 = le16_to_cpup((const __le16 *)&buf[2]); 220 chip->als_cur_info.als_ch1 = ch1; 222 if ((ch0 >= chip->als_saturation) || (ch1 > [all...] |
H A D | tsl2563.c | 425 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; local 427 ratio = ch0 ? ((ch1 << ADC_FRAC_BITS) / ch0) : ULONG_MAX; 432 lux = ch0 * lp->ch0_coeff - ch1 * lp->ch1_coeff;
|
H A D | tsl2772.c | 404 * The raw ch0 and ch1 values of the ambient light sensed in the last 468 (chip->als_cur_info.als_ch1 * p->ch1)) / 987 chip->tsl2772_device_lux[i].ch1);
|
/linux-master/tools/perf/tests/ |
H A D | api-io.c | 132 __u64 val1, int ch1, 147 EXPECT_EQUAL(ch, ch1); 213 __u64 val1, int ch1, 228 EXPECT_EQUAL(ch, ch1); 131 do_test_get_hex(const char *test_string, __u64 val1, int ch1, __u64 val2, int ch2, __u64 val3, int ch3, bool end_eof) argument 212 do_test_get_dec(const char *test_string, __u64 val1, int ch1, __u64 val2, int ch2, __u64 val3, int ch3, bool end_eof) argument
|
/linux-master/drivers/misc/ |
H A D | tsl2550.c | 143 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) argument 149 u16 c1 = count_lut[ch1]; 245 u8 ch0, ch1; local 256 ch1 = ret; 259 ret = tsl2550_calculate_lux(ch0, ch1);
|
/linux-master/drivers/counter/ |
H A D | rz-mtu3-cnt.c | 395 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); local 399 rz_mtu3_8bit_ch_write(ch1, RZ_MTU3_TMDR1, RZ_MTU3_TMDR1_PH_CNT_MODE_1); 401 rz_mtu3_8bit_ch_write(ch1, RZ_MTU3_TCR, RZ_MTU3_TCR_CCLR_TGRA); 402 rz_mtu3_8bit_ch_write(ch1, RZ_MTU3_TIOR, RZ_MTU3_TIOR_IC_BOTH); 404 rz_mtu3_enable(ch1); 423 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); local 439 if (!rz_mtu3_request_channel(ch1)) 443 rz_mtu3_release_channel(ch1); 458 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); local 463 rz_mtu3_release_channel(ch1); 476 struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0); local [all...] |
/linux-master/drivers/clk/sunxi/ |
H A D | Makefile | 19 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sun4i-tcon-ch1.o
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | dvo_tfp410.c | 159 u8 ch1, ch2; local 161 if (tfp410_readb(dvo, addr+0, &ch1) && 163 return ((ch2 << 8) & 0xFF00) | (ch1 & 0x00FF);
|
/linux-master/drivers/input/touchscreen/ |
H A D | mxs-lradc-ts.c | 161 unsigned int ch1, unsigned int ch2) 175 writel(reg, ts->base + LRADC_CH(ch1)); 183 ts->base + LRADC_CH(ch1) + STMP_OFFSET_REG_CLR); 188 writel(LRADC_DELAY_TRIGGER(1 << ch1) | LRADC_DELAY_TRIGGER(1 << ch2) | 225 unsigned int ch1, unsigned int ch2) 230 mask = LRADC_CTRL1_LRADC_IRQ(ch1) | LRADC_CTRL1_LRADC_IRQ(ch2); 238 m1 = mxs_lradc_ts_read_raw_channel(ts, ch1); 160 mxs_lradc_setup_ts_pressure(struct mxs_lradc_ts *ts, unsigned int ch1, unsigned int ch2) argument 224 mxs_lradc_read_ts_pressure(struct mxs_lradc_ts *ts, unsigned int ch1, unsigned int ch2) argument
|
/linux-master/drivers/gpu/drm/i915/soc/ |
H A D | intel_dram.c | 327 const struct dram_channel_info *ch1) 329 return !memcmp(ch0, ch1, sizeof(*ch0)) && 338 struct dram_channel_info ch0 = {}, ch1 = {}; local 350 ret = skl_dram_get_channel_info(i915, &ch1, 1, val); 359 if (ch0.ranks == 0 && ch1.ranks == 0) { 364 dram_info->wm_lv_0_adjust_needed = ch0.is_16gb_dimm || ch1.is_16gb_dimm; 366 dram_info->symmetric_memory = intel_is_dram_symmetric(&ch0, &ch1); 326 intel_is_dram_symmetric(const struct dram_channel_info *ch0, const struct dram_channel_info *ch1) argument
|
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 464 u_char *start, *ch0, *ch1, *ch2, *ch3; local 476 ch1 = start+write_sq_block_size_half; 480 ch1 = start; 489 custom.aud[1].audlc = (u_short *)ZTWO_PADDR(ch1); 496 custom.aud[1].audlc = (u_short *)ZTWO_PADDR(ch1); 501 ch2 = ch1+write_sq_block_size_quarter;
|
/linux-master/sound/soc/amd/ |
H A D | acp-pcm-dma.c | 340 ch_acp_sysmem = rtd->ch1; 343 ch_acp_i2s = rtd->ch1; 905 rtd->ch1 = SYSRAM_TO_ACP_BT_INSTANCE_CH_NUM; 925 rtd->ch1 = SYSRAM_TO_ACP_MICSP_INSTANCE_CH_NUM; 947 rtd->ch1 = SYSRAM_TO_ACP_CH_NUM; 963 rtd->ch1 = I2S_TO_ACP_DMA_BT_INSTANCE_CH_NUM; 980 rtd->ch1 = I2S_TO_ACP_DMA_CH_NUM; 1096 ch_acp_sysmem = rtd->ch1; 1099 ch_acp_i2s = rtd->ch1; 1141 acp_dma_start(rtd->acp_mmio, rtd->ch1, tru [all...] |
H A D | acp.h | 144 u16 ch1; member in struct:audio_substream_data
|
/linux-master/scripts/ |
H A D | Makefile.lib | 447 read ch0 ch1 ch2 ch3; \ 448 for ch in $$ch3 $$ch2 $$ch1 $$ch0; do \
|
/linux-master/drivers/iio/adc/ |
H A D | palmas_gpadc.c | 997 int ch0 = 0, ch1 = 0; local 1060 ch1 = ev->channel; 1094 PALMAS_GPADC_AUTO_SELECT, (ch1 << 4) | ch0);
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965.c | 684 ch_i1 = il->calib_info->band_info[s].ch1.ch_num; 693 m1 = &(il->calib_info->band_info[s].ch1.
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | phy_be.c | 553 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch1, u8 ch2) 559 fill_limit_nonbf_bf(rtwdev, &v1, band, bw, ntx, rs, ch1); 552 fill_limit_nonbf_bf_min(struct rtw89_dev *rtwdev, s8 (*ptr)[RTW89_BF_NUM], u8 band, u8 bw, u8 ntx, u8 rs, u8 ch1, u8 ch2) argument
|