| /linux-6.15/drivers/iio/light/ |
| H A D | apds9300.c | 70 if (ch0 == 0) in apds9300_calculate_lux() 73 tmp = DIV_ROUND_UP(ch1 * 100, ch0); in apds9300_calculate_lux() 75 lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(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 245 ch0 = apds9300_get_adc_val(data, 0); in apds9300_read_raw() 246 if (ch0 < 0) { in apds9300_read_raw() 247 ret = ch0; in apds9300_read_raw() [all …]
|
| H A D | rohm-bu27034.c | 640 if (helper > ch0) { in bu27034_fixp_calc_t1_64bit() 643 return gain_mul_div_helper(helper64, gain0, ch0); in bu27034_fixp_calc_t1_64bit() 646 do_div(helper64, ch0); in bu27034_fixp_calc_t1_64bit() 674 return tmp / (gain1 * gain1) / ch0; in bu27034_fixp_calc_t1() 717 terms[0] = bu27034_fixp_calc_t1(c->A, ch0, ch1, gain0, gain1); in bu27034_fixp_calc_lx() 719 terms[2] = bu27034_fixp_calc_t23(c->C, ch0, gain0); in bu27034_fixp_calc_lx() 885 u16 ch0, ch1; in bu27034_calc_mlux() local 896 ch0 = max_t(u16, 1, le16_to_cpu(res[0])); in bu27034_calc_mlux() 917 unsigned int div = (unsigned int)ch0 * gain1; in bu27034_calc_mlux() 922 d1_d0_ratio_scaled /= ch0 * gain1; in bu27034_calc_mlux() [all …]
|
| H A D | tsl2583.c | 70 unsigned int ch0; member 108 s16 ch0; member 165 u16 ch0, ch1; /* separated ch0/ch1 data from device */ in tsl2583_get_lux() local 216 ch0 = le16_to_cpup((const __le16 *)&buf[0]); in tsl2583_get_lux() 219 chip->als_cur_info.als_ch0 = ch0; in tsl2583_get_lux() 225 if (!ch0) { in tsl2583_get_lux() 237 ratio = (ch1 << 15) / ch0; in tsl2583_get_lux() 249 ch0lux = ((ch0 * p->ch0) + in tsl2583_get_lux() 250 (gainadj[chip->als_settings.als_gain].ch0 >> 1)) in tsl2583_get_lux() 251 / gainadj[chip->als_settings.als_gain].ch0; in tsl2583_get_lux() [all …]
|
| H A D | tsl2563.c | 425 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; in tsl2563_adc_to_lux() local 427 ratio = ch0 ? ((ch1 << ADC_FRAC_BITS) / ch0) : ULONG_MAX; in tsl2563_adc_to_lux() 432 lux = ch0 * lp->ch0_coeff - ch1 * lp->ch1_coeff; in tsl2563_adc_to_lux()
|
| H A D | tsl2772.c | 463 for (p = (struct tsl2772_lux *)chip->tsl2772_device_lux; p->ch0 != 0; in tsl2772_get_lux() 467 lux = ((chip->als_cur_info.als_ch0 * p->ch0) - in tsl2772_get_lux() 633 if (chip->pdata && chip->pdata->platform_lux_table[0].ch0 != 0) in tsl2772_defaults() 986 chip->tsl2772_device_lux[i].ch0, in in_illuminance0_lux_table_show() 988 if (chip->tsl2772_device_lux[i].ch0 == 0) { in in_illuminance0_lux_table_show()
|
| /linux-6.15/Documentation/devicetree/bindings/clock/ |
| H A D | allwinner,sun4i-a10-tcon-ch0-clk.yaml | 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml# 24 - allwinner,sun4i-a10-tcon-ch0-clk 49 const: allwinner,sun4i-a10-tcon-ch0-clk 62 compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; 65 clock-output-names = "tcon-ch0-sclk";
|
| /linux-6.15/drivers/gpu/drm/i915/soc/ |
| H A D | intel_dram.c | 369 intel_is_dram_symmetric(const struct dram_channel_info *ch0, in intel_is_dram_symmetric() argument 372 return !memcmp(ch0, ch1, sizeof(*ch0)) && in intel_is_dram_symmetric() 373 (ch0->dimm_s.size == 0 || in intel_is_dram_symmetric() 374 !memcmp(&ch0->dimm_l, &ch0->dimm_s, sizeof(ch0->dimm_l))); in intel_is_dram_symmetric() 381 struct dram_channel_info ch0 = {}, ch1 = {}; in skl_dram_get_channels_info() local 387 ret = skl_dram_get_channel_info(i915, &ch0, 0, val); in skl_dram_get_channels_info() 402 if (ch0.ranks == 0 && ch1.ranks == 0) { in skl_dram_get_channels_info() 407 dram_info->wm_lv_0_adjust_needed = ch0.is_16gb_dimm || ch1.is_16gb_dimm; in skl_dram_get_channels_info() 409 dram_info->symmetric_memory = intel_is_dram_symmetric(&ch0, &ch1); in skl_dram_get_channels_info()
|
| /linux-6.15/drivers/misc/ |
| H A D | tsl2550.c | 143 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) in tsl2550_calculate_lux() argument 148 u16 c0 = count_lut[ch0]; in tsl2550_calculate_lux() 245 u8 ch0, ch1; in __tsl2550_show_lux() local 251 ch0 = ret; in __tsl2550_show_lux() 259 ret = tsl2550_calculate_lux(ch0, ch1); in __tsl2550_show_lux()
|
| /linux-6.15/Documentation/devicetree/bindings/dma/ |
| H A D | loongson,ls1b-apbdma.yaml | 37 - const: ch0 63 interrupt-names = "ch0", "ch1", "ch2";
|
| H A D | renesas,usb-dmac.yaml | 49 - pattern: ch0 98 interrupt-names = "ch0", "ch1";
|
| H A D | renesas,rz-dmac.yaml | 34 - const: ch0 145 "ch0", "ch1", "ch2", "ch3",
|
| /linux-6.15/sound/oss/dmasound/ |
| H A D | dmasound_paula.c | 464 u_char *start, *ch0, *ch1, *ch2, *ch3; in AmiPlayNextFrame() local 475 ch0 = start; in AmiPlayNextFrame() 479 ch0 = start; in AmiPlayNextFrame() 487 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); in AmiPlayNextFrame() 494 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); in AmiPlayNextFrame() 500 ch3 = ch0+write_sq_block_size_quarter; in AmiPlayNextFrame()
|
| /linux-6.15/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | nvidia,tegra186-mc.yaml | 156 - const: ch0 175 - const: ch0 206 - const: ch0 250 reg-names = "sid", "broadcast", "ch0", "ch1", "ch2", "ch3";
|
| /linux-6.15/Documentation/devicetree/bindings/display/ |
| H A D | allwinner,sun4i-a10-tcon.yaml | 186 - const: tcon-ch0 205 - const: tcon-ch0 225 - const: tcon-ch0 246 - const: tcon-ch0 390 "tcon-ch0", 464 "tcon-ch0", 532 clock-names = "ahb", "tcon-ch0"; 582 clock-names = "ahb", "tcon-ch0";
|
| /linux-6.15/include/linux/platform_data/ |
| H A D | tsl2772.h | 14 unsigned int ch0; member
|
| /linux-6.15/arch/arm/boot/dts/renesas/ |
| H A D | r8a77470.dtsi | 395 dma-names = "ch0", "ch1", "ch2", "ch3"; 430 dma-names = "ch0", "ch1", "ch2", "ch3"; 464 interrupt-names = "ch0", "ch1"; 478 interrupt-names = "ch0", "ch1"; 492 interrupt-names = "ch0", "ch1"; 506 interrupt-names = "ch0", "ch1"; 535 "ch0", "ch1", "ch2", "ch3", 568 "ch0", "ch1", "ch2", "ch3",
|
| /linux-6.15/Documentation/devicetree/bindings/clock/st/ |
| H A D | st,quadfs.txt | 44 clock-output-names = "clk-s-c0-fs0-ch0",
|
| H A D | st,flexgen.txt | 42 | |->| ch0|----|-->| | | | | | | |
|
| /linux-6.15/Documentation/admin-guide/media/ |
| H A D | raspberrypi-rp1-cfe.dot | 18 n00000011 [label="rp1-cfe-csi2-ch0\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
|
| /linux-6.15/arch/arm64/boot/dts/renesas/ |
| H A D | r8a77995.dtsi | 521 dma-names = "ch0", "ch1", "ch2", "ch3"; 536 interrupt-names = "ch0", "ch1"; 550 interrupt-names = "ch0", "ch1"; 607 "ch0", "ch1", "ch2", "ch3", 635 "ch0", "ch1", "ch2", "ch3", 663 "ch0", "ch1", "ch2", "ch3", 787 interrupt-names = "ch0", "ch1", "ch2", "ch3", 1184 "ch0", "ch1", "ch2", "ch3",
|
| H A D | r9a09g011.dtsi | 168 interrupts = <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, /* ch0: Rx0 BE */ 197 interrupt-names = "ch0", "ch1", "ch2", "ch3",
|
| /linux-6.15/Documentation/devicetree/bindings/phy/ |
| H A D | samsung,ufs-phy.yaml | 73 - description: symbol clock for input symbol (rx0-ch0 symbol clock)
|
| /linux-6.15/scripts/ |
| H A D | Makefile.lib | 394 read ch0 ch1 ch2 ch3; \ 395 for ch in $$ch3 $$ch2 $$ch1 $$ch0; do \
|
| /linux-6.15/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath10k.yaml | 188 vdd-3.3-ch0-supply: 326 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
|
| /linux-6.15/Documentation/devicetree/bindings/usb/ |
| H A D | renesas,usbhs.yaml | 103 - const: ch0
|