/linux-master/include/linux/platform_data/ |
H A D | tsl2772.h | 14 unsigned int ch0; member in struct:tsl2772_lux
|
/linux-master/drivers/iio/light/ |
H A D | apds9300.c | 65 static unsigned long apds9300_calculate_lux(u16 ch0, u16 ch1) argument 70 if (ch0 == 0) 73 tmp = DIV_ROUND_UP(ch1 * 100, ch0); 75 lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(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 245 ch0 [all...] |
H A D | tsl2583.c | 70 unsigned int ch0; member in struct:tsl2583_lux 108 s16 ch0; 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 216 ch0 = le16_to_cpup((const __le16 *)&buf[0]); 219 chip->als_cur_info.als_ch0 = ch0; 222 if ((ch0 > [all...] |
H A D | rohm-bu27034.c | 227 u16 ch0; member in struct:bu27034_result 673 * 68.1982976 * ch0 / gain0 / mt + 675 * (ch1 /gain1 / mt) / (25600 * ch0 / gain0 / mt) 678 * (ch1 /gain1 / mt) / (25600 * ch0 / gain0 / mt) 680 * (ch1 /gain1 / mt) / (ch0 / gain0 / mt) 682 * (ch0 / gain0) 684 * gain0 / ch0 685 * => 3.126528 * ch1 * ch1 * gain0 / gain1 / gain1 / mt /ch0 687 * lx = (115.7400832 * ch1 / gain1 - 68.1982976 * ch0 / gain0) / 689 * => (115.7400832 * ch1 / gain1 - 68.1982976 * ch0 / 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 | 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 463 for (p = (struct tsl2772_lux *)chip->tsl2772_device_lux; p->ch0 != 0; 467 lux = ((chip->als_cur_info.als_ch0 * p->ch0) - 633 if (chip->pdata && chip->pdata->platform_lux_table[0].ch0 != 0) 986 chip->tsl2772_device_lux[i].ch0, 988 if (chip->tsl2772_device_lux[i].ch0 == 0) {
|
/linux-master/drivers/gpu/drm/i915/soc/ |
H A D | intel_dram.c | 326 intel_is_dram_symmetric(const struct dram_channel_info *ch0, argument 329 return !memcmp(ch0, ch1, sizeof(*ch0)) && 330 (ch0->dimm_s.size == 0 || 331 !memcmp(&ch0->dimm_l, &ch0->dimm_s, sizeof(ch0->dimm_l))); 338 struct dram_channel_info ch0 = {}, ch1 = {}; local 344 ret = skl_dram_get_channel_info(i915, &ch0, 0, val); 359 if (ch0 [all...] |
/linux-master/drivers/misc/ |
H A D | tsl2550.c | 143 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) argument 148 u16 c0 = count_lut[ch0]; 245 u8 ch0, ch1; local 251 ch0 = ret; 259 ret = tsl2550_calculate_lux(ch0, ch1);
|
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 464 u_char *start, *ch0, *ch1, *ch2, *ch3; local 475 ch0 = start; 479 ch0 = start; 487 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); 494 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); 500 ch3 = ch0+write_sq_block_size_quarter;
|
/linux-master/drivers/iio/adc/ |
H A D | palmas_gpadc.c | 997 int ch0 = 0, ch1 = 0; local 1023 ch0 = ev->channel; 1094 PALMAS_GPADC_AUTO_SELECT, (ch1 << 4) | ch0);
|
/linux-master/scripts/ |
H A D | Makefile.lib | 451 read ch0 ch1 ch2 ch3; \ 452 for ch in $$ch3 $$ch2 $$ch1 $$ch0; do \
|
/linux-master/drivers/crypto/ |
H A D | talitos.c | 430 DEF_TALITOS1_DONE(ch0, TALITOS1_ISR_CH_0_DONE) 457 DEF_TALITOS2_DONE(ch0, TALITOS2_ISR_CH_0_DONE)
|