| /kernel/linux/linux-6.6/drivers/iio/light/ |
| D | rohm-bu27034.c | 227 u16 ch0; member 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 / gain0) / [all …]
|
| D | apds9300.c | 57 /* 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 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() [all …]
|
| D | tsl2583.c | 70 unsigned int ch0; member 108 s16 ch0; 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 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() 222 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) in tsl2583_get_lux() 225 if (!ch0) { in tsl2583_get_lux() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/light/ |
| D | apds9300.c | 57 /* 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 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() [all …]
|
| D | tsl2583.c | 70 unsigned int ch0; member 108 s16 ch0; 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 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() 222 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) in tsl2583_get_lux() 225 if (!ch0) { in tsl2583_get_lux() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| 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";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| 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";
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | intel_dram.c | 171 intel_is_dram_symmetric(const struct dram_channel_info *ch0, in intel_is_dram_symmetric() argument 174 return !memcmp(ch0, ch1, sizeof(*ch0)) && in intel_is_dram_symmetric() 175 (ch0->dimm_s.size == 0 || in intel_is_dram_symmetric() 176 !memcmp(&ch0->dimm_l, &ch0->dimm_s, sizeof(ch0->dimm_l))); in intel_is_dram_symmetric() 183 struct dram_channel_info ch0 = {}, ch1 = {}; in skl_dram_get_channels_info() local 189 ret = skl_dram_get_channel_info(i915, &ch0, 0, val); in skl_dram_get_channels_info() 209 if (ch0.ranks == 1 || ch1.ranks == 1) in skl_dram_get_channels_info() 212 dram_info->ranks = max(ch0.ranks, ch1.ranks); in skl_dram_get_channels_info() 219 dram_info->is_16gb_dimm = ch0.is_16gb_dimm || ch1.is_16gb_dimm; in skl_dram_get_channels_info() 221 dram_info->symmetric_memory = intel_is_dram_symmetric(&ch0, &ch1); in skl_dram_get_channels_info()
|
| /kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/ |
| D | rza.c | 21 /* 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()
|
| /kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
| D | rza.c | 21 /* 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/soc/ |
| D | intel_dram.c | 326 intel_is_dram_symmetric(const struct dram_channel_info *ch0, in intel_is_dram_symmetric() argument 329 return !memcmp(ch0, ch1, sizeof(*ch0)) && in intel_is_dram_symmetric() 330 (ch0->dimm_s.size == 0 || in intel_is_dram_symmetric() 331 !memcmp(&ch0->dimm_l, &ch0->dimm_s, sizeof(ch0->dimm_l))); in intel_is_dram_symmetric() 338 struct dram_channel_info ch0 = {}, ch1 = {}; in skl_dram_get_channels_info() local 344 ret = skl_dram_get_channel_info(i915, &ch0, 0, val); in skl_dram_get_channels_info() 359 if (ch0.ranks == 0 && ch1.ranks == 0) { in skl_dram_get_channels_info() 364 dram_info->wm_lv_0_adjust_needed = ch0.is_16gb_dimm || ch1.is_16gb_dimm; in skl_dram_get_channels_info() 366 dram_info->symmetric_memory = intel_is_dram_symmetric(&ch0, &ch1); in skl_dram_get_channels_info()
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | tsl2772.h | 14 unsigned int ch0; member 54 * @als_thresh_low: CH0 'low' count to trigger interrupt. 55 * @als_thresh_high: CH0 'high' count to trigger interrupt.
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | tsl2772.h | 14 unsigned int ch0; member 54 * @als_thresh_low: CH0 'low' count to trigger interrupt. 55 * @als_thresh_high: CH0 'high' count to trigger interrupt.
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| D | allwinner,sun4i-a10-tcon.yaml | 198 - const: tcon-ch0 217 - const: tcon-ch0 237 - const: tcon-ch0 257 - const: tcon-ch0 398 "tcon-ch0", 472 "tcon-ch0", 540 clock-names = "ahb", "tcon-ch0"; 590 clock-names = "ahb", "tcon-ch0";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ |
| 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";
|
| /kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/ |
| D | mt8183-dai-tdm.c | 145 "CH0", "CH1", "CH2", "CH3", 347 {"HDMI_CH0_MUX", "CH0", "HDMI"}, 356 {"HDMI_CH1_MUX", "CH0", "HDMI"}, 365 {"HDMI_CH2_MUX", "CH0", "HDMI"}, 374 {"HDMI_CH3_MUX", "CH0", "HDMI"}, 383 {"HDMI_CH4_MUX", "CH0", "HDMI"}, 392 {"HDMI_CH5_MUX", "CH0", "HDMI"}, 401 {"HDMI_CH6_MUX", "CH0", "HDMI"}, 410 {"HDMI_CH7_MUX", "CH0", "HDMI"},
|
| /kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/ |
| D | mt8183-dai-tdm.c | 145 "CH0", "CH1", "CH2", "CH3", 347 {"HDMI_CH0_MUX", "CH0", "HDMI"}, 356 {"HDMI_CH1_MUX", "CH0", "HDMI"}, 365 {"HDMI_CH2_MUX", "CH0", "HDMI"}, 374 {"HDMI_CH3_MUX", "CH0", "HDMI"}, 383 {"HDMI_CH4_MUX", "CH0", "HDMI"}, 392 {"HDMI_CH5_MUX", "CH0", "HDMI"}, 401 {"HDMI_CH6_MUX", "CH0", "HDMI"}, 410 {"HDMI_CH7_MUX", "CH0", "HDMI"},
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ |
| D | nvidia,tegra186-mc.yaml | 156 - const: ch0 175 - const: ch0 206 - const: ch0 250 reg-names = "sid", "broadcast", "ch0", "ch1", "ch2", "ch3";
|
| /kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/ |
| D | mt8192-dai-tdm.c | 137 "CH0", "CH1", "CH2", "CH3", 395 {"HDMI_CH0_MUX", "CH0", "HDMI"}, 404 {"HDMI_CH1_MUX", "CH0", "HDMI"}, 413 {"HDMI_CH2_MUX", "CH0", "HDMI"}, 422 {"HDMI_CH3_MUX", "CH0", "HDMI"}, 431 {"HDMI_CH4_MUX", "CH0", "HDMI"}, 440 {"HDMI_CH5_MUX", "CH0", "HDMI"}, 449 {"HDMI_CH6_MUX", "CH0", "HDMI"}, 458 {"HDMI_CH7_MUX", "CH0", "HDMI"},
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | stih407-clock.dtsi | 105 clock-output-names = "clk-s-c0-fs0-ch0", 109 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */ 210 clock-output-names = "clk-s-d0-fs0-ch0", 244 clock-output-names = "clk-s-d2-fs0-ch0", 292 clock-output-names = "clk-s-d3-fs0-ch0",
|
| D | stih410-clock.dtsi | 106 clock-output-names = "clk-s-c0-fs0-ch0", 110 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */ 218 clock-output-names = "clk-s-d0-fs0-ch0", 254 clock-output-names = "clk-s-d2-fs0-ch0", 302 clock-output-names = "clk-s-d3-fs0-ch0",
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| D | r8a66597.h | 455 #define CH0STCLR 0x0001 /* b1: Ch0 DMA Status Clear */ 459 #define CH0BUFW 0x0100 /* b8: Ch0 DMA Buffer Data Transfer Enable */ 461 #define CH0BUFS 0x0001 /* b1: Ch0 DMA Buffer Data Status */ 465 #define CH0ERRE 0x0100 /* b8: Ch0 SHwy Res Err Detect Int Enable */ 467 #define CH0ENDE 0x0001 /* b1: Ch0 DMA Transfer End Int Enable */ 471 #define CH0ERRS 0x0100 /* b8: Ch0 SHwy Res Err Detect Int Status */ 473 #define CH0ENDS 0x0001 /* b1: Ch0 DMA Transfer End Int Status */ 477 #define CH0ERRC 0x0100 /* b8: Ch0 SHwy Res Err Detect Int Stat Clear */ 479 #define CH0ENDC 0x0001 /* b1: Ch0 DMA Transfer End Int Stat Clear */
|
| /kernel/linux/linux-6.6/include/linux/usb/ |
| D | r8a66597.h | 441 #define CH0STCLR 0x0001 /* b1: Ch0 DMA Status Clear */ 445 #define CH0BUFW 0x0100 /* b8: Ch0 DMA Buffer Data Transfer Enable */ 447 #define CH0BUFS 0x0001 /* b1: Ch0 DMA Buffer Data Status */ 451 #define CH0ERRE 0x0100 /* b8: Ch0 SHwy Res Err Detect Int Enable */ 453 #define CH0ENDE 0x0001 /* b1: Ch0 DMA Transfer End Int Enable */ 457 #define CH0ERRS 0x0100 /* b8: Ch0 SHwy Res Err Detect Int Status */ 459 #define CH0ENDS 0x0001 /* b1: Ch0 DMA Transfer End Int Status */ 463 #define CH0ERRC 0x0100 /* b8: Ch0 SHwy Res Err Detect Int Stat Clear */ 465 #define CH0ENDC 0x0001 /* b1: Ch0 DMA Transfer End Int Stat Clear */
|
| /kernel/linux/linux-5.10/drivers/misc/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/misc/ |
| 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()
|