/Linux-v4.19/drivers/iio/light/ |
D | apds9300.c | 68 static unsigned long apds9300_calculate_lux(u16 ch0, u16 ch1) in apds9300_calculate_lux() argument 73 if (ch0 == 0) in apds9300_calculate_lux() 76 tmp = DIV_ROUND_UP(ch1 * 100, ch0); in apds9300_calculate_lux() 78 lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(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 248 ch0 = apds9300_get_adc_val(data, 0); in apds9300_read_raw() 249 if (ch0 < 0) { in apds9300_read_raw() [all …]
|
D | tsl2583.c | 79 unsigned int ch0; member 117 s16 ch0; member 174 u16 ch0, ch1; /* separated ch0/ch1 data from device */ in tsl2583_get_lux() local 225 ch0 = le16_to_cpup((const __le16 *)&buf[0]); in tsl2583_get_lux() 228 chip->als_cur_info.als_ch0 = ch0; in tsl2583_get_lux() 231 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) in tsl2583_get_lux() 234 if (!ch0) { in tsl2583_get_lux() 246 ratio = (ch1 << 15) / ch0; in tsl2583_get_lux() 258 ch0lux = ((ch0 * p->ch0) + in tsl2583_get_lux() 259 (gainadj[chip->als_settings.als_gain].ch0 >> 1)) in tsl2583_get_lux() [all …]
|
D | tsl2563.c | 432 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; in tsl2563_adc_to_lux() local 434 ratio = ch0 ? ((ch1 << ADC_FRAC_BITS) / ch0) : ULONG_MAX; in tsl2563_adc_to_lux() 439 lux = ch0 * lp->ch0_coeff - ch1 * lp->ch1_coeff; in tsl2563_adc_to_lux()
|
D | tsl2772.c | 430 for (p = (struct tsl2772_lux *)chip->tsl2772_device_lux; p->ch0 != 0; in tsl2772_get_lux() 434 lux = ((chip->als_cur_info.als_ch0 * p->ch0) - in tsl2772_get_lux() 536 if (chip->pdata && chip->pdata->platform_lux_table[0].ch0 != 0) in tsl2772_defaults() 873 chip->tsl2772_device_lux[i].ch0, in in_illuminance0_lux_table_show() 875 if (chip->tsl2772_device_lux[i].ch0 == 0) { in in_illuminance0_lux_table_show()
|
/Linux-v4.19/Documentation/devicetree/bindings/clock/ |
D | uniphier-clock.txt | 38 14: USB3 ch0 host 40 16: USB3 ch0 PHY0 41 17: USB3 ch0 PHY1 78 0: SD ch0 host 82 8: USB2 ch0 host 85 12: USB2 ch0 PHY 122 0: UART ch0 126 4: I2C ch0
|
/Linux-v4.19/drivers/misc/ |
D | tsl2550.c | 156 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) in tsl2550_calculate_lux() argument 161 u16 c0 = count_lut[ch0]; in tsl2550_calculate_lux() 260 u8 ch0, ch1; in __tsl2550_show_lux() local 266 ch0 = ret; in __tsl2550_show_lux() 274 ret = tsl2550_calculate_lux(ch0, ch1); in __tsl2550_show_lux()
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | stih407-clock.dtsi | 108 clock-output-names = "clk-s-c0-fs0-ch0", 112 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */ 213 clock-output-names = "clk-s-d0-fs0-ch0", 247 clock-output-names = "clk-s-d2-fs0-ch0", 295 clock-output-names = "clk-s-d3-fs0-ch0",
|
D | stih410-clock.dtsi | 109 clock-output-names = "clk-s-c0-fs0-ch0", 113 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */ 221 clock-output-names = "clk-s-d0-fs0-ch0", 257 clock-output-names = "clk-s-d2-fs0-ch0", 305 clock-output-names = "clk-s-d3-fs0-ch0",
|
D | stih418-clock.dtsi | 108 clock-output-names = "clk-s-c0-fs0-ch0", 215 clock-output-names = "clk-s-d0-fs0-ch0", 251 clock-output-names = "clk-s-d2-fs0-ch0", 306 clock-output-names = "clk-s-d3-fs0-ch0",
|
D | r8a77470.dtsi | 148 "ch0", "ch1", "ch2", "ch3", 181 "ch0", "ch1", "ch2", "ch3",
|
D | artpec6.dtsi | 254 "ch0", "ch1", "ch2", "ch3", 276 "ch0", "ch1", "ch2", "ch3",
|
D | r8a7790.dtsi | 637 dma-names = "ch0", "ch1", "ch2", "ch3"; 674 interrupt-names = "ch0", "ch1"; 688 interrupt-names = "ch0", "ch1"; 717 "ch0", "ch1", "ch2", "ch3", 750 "ch0", "ch1", "ch2", "ch3", 1318 "ch0", "ch1", "ch2", "ch3", 1349 "ch0", "ch1", "ch2", "ch3",
|
/Linux-v4.19/sound/oss/dmasound/ |
D | dmasound_paula.c | 463 u_char *start, *ch0, *ch1, *ch2, *ch3; in AmiPlayNextFrame() local 474 ch0 = start; in AmiPlayNextFrame() 478 ch0 = start; in AmiPlayNextFrame() 486 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); in AmiPlayNextFrame() 493 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); in AmiPlayNextFrame() 499 ch3 = ch0+write_sq_block_size_quarter; in AmiPlayNextFrame()
|
/Linux-v4.19/Documentation/devicetree/bindings/dma/ |
D | renesas,usb-dmac.txt | 34 interrupt-names = "ch0", "ch1"; 45 interrupt-names = "ch0", "ch1";
|
D | renesas,rcar-dmac.txt | 74 "ch0", "ch1", "ch2", "ch3", 104 "ch0", "ch1", "ch2", "ch3",
|
D | shdma.txt | 65 "ch0", "ch1", "ch2", "ch3",
|
/Linux-v4.19/include/linux/platform_data/ |
D | tsl2772.h | 14 unsigned int ch0; member
|
/Linux-v4.19/Documentation/devicetree/bindings/clock/st/ |
D | st,quadfs.txt | 41 clock-output-names = "clk-s-c0-fs0-ch0",
|
D | st,flexgen.txt | 42 | |->| ch0|----|-->| | | | | | | |
|
/Linux-v4.19/scripts/ |
D | Makefile.lib | 310 read ch0 ch1 ch2 ch3; \ 311 for ch in $$ch3 $$ch2 $$ch1 $$ch0; do \
|
/Linux-v4.19/drivers/iio/adc/ |
D | palmas_gpadc.c | 656 int ch0 = 0, ch1 = 0; in palmas_adc_wakeup_configure() local 681 ch0 = adc->wakeup1_data.adc_channel_number; in palmas_adc_wakeup_configure() 741 PALMAS_GPADC_AUTO_SELECT, (ch1 << 4) | ch0); in palmas_adc_wakeup_configure()
|
/Linux-v4.19/arch/arm64/boot/dts/renesas/ |
D | r8a7795.dtsi | 713 dma-names = "ch0", "ch1", "ch2", "ch3"; 730 dma-names = "ch0", "ch1", "ch2", "ch3"; 745 interrupt-names = "ch0", "ch1"; 759 interrupt-names = "ch0", "ch1"; 773 interrupt-names = "ch0", "ch1"; 787 interrupt-names = "ch0", "ch1"; 830 "ch0", "ch1", "ch2", "ch3", 872 "ch0", "ch1", "ch2", "ch3", 914 "ch0", "ch1", "ch2", "ch3", 1100 interrupt-names = "ch0", "ch1", "ch2", "ch3", [all …]
|
D | r8a77965.dtsi | 555 dma-names = "ch0", "ch1", "ch2", "ch3"; 570 interrupt-names = "ch0", "ch1"; 584 interrupt-names = "ch0", "ch1"; 627 "ch0", "ch1", "ch2", "ch3", 661 "ch0", "ch1", "ch2", "ch3", 695 "ch0", "ch1", "ch2", "ch3", 825 interrupt-names = "ch0", "ch1", "ch2", "ch3",
|
D | r8a77995.dtsi | 386 "ch0", "ch1", "ch2", "ch3", 410 "ch0", "ch1", "ch2", "ch3", 434 "ch0", "ch1", "ch2", "ch3", 554 interrupt-names = "ch0", "ch1", "ch2", "ch3",
|
D | r8a7796.dtsi | 683 dma-names = "ch0", "ch1", "ch2", "ch3"; 698 interrupt-names = "ch0", "ch1"; 712 interrupt-names = "ch0", "ch1"; 755 "ch0", "ch1", "ch2", "ch3", 797 "ch0", "ch1", "ch2", "ch3", 839 "ch0", "ch1", "ch2", "ch3", 977 interrupt-names = "ch0", "ch1", "ch2", "ch3", 1885 "ch0", "ch1", "ch2", "ch3", 1927 "ch0", "ch1", "ch2", "ch3",
|