/linux/drivers/iio/light/ |
H A D | apds9300.c | 56 /* Calculated values 1000 * (CH1/CH0)^1.4 for CH1/CH0 from 0 to 0.52 */ 64 static unsigned long apds9300_calculate_lux(u16 ch0, u16 ch1) in apds9300_calculate_lux() argument 69 if (ch0 == 0) in apds9300_calculate_lux() 72 tmp = DIV_ROUND_UP(ch1 * 100, ch0); in apds9300_calculate_lux() 74 lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(ch0 in apds9300_calculate_lux() 77 lux = 2290 * ch0 - 2910 * ch1; in apds9300_calculate_lux() 79 lux = 1570 * ch0 - 1800 * ch1; in apds9300_calculate_lux() 81 lux = 338 * ch0 in apds9300_calculate_lux() 238 int ch0, ch1, ret = -EINVAL; apds9300_read_raw() local [all...] |
H A D | rohm-bu27034.c | 568 * => (6.44 * ch1 / gain1 + 19.088 * ch0 / gain0 - 569 * 0.47808 * ch1 * ch1 * gain0 / gain1 / gain1 / ch0) / 575 * => (1.91232 * ch1 / gain1 + 30.5408 * ch0 / gain0 + 576 * [0 * ch1 * ch1 * gain0 / gain1 / gain1 / ch0] ) / 581 * A * ch1 * ch1 * gain0 / (ch0 * gain1 * gain1) + 583 * C * ch0 / gain0 630 static u64 bu27034_fixp_calc_t1_64bit(unsigned int coeff, unsigned int ch0, in bu27034_fixp_calc_t1_64bit() argument 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() 652 bu27034_fixp_calc_t1(unsigned int coeff,unsigned int ch0,unsigned int ch1,unsigned int gain0,unsigned int gain1) bu27034_fixp_calc_t1() argument 693 bu27034_fixp_calc_lx(unsigned int ch0,unsigned int ch1,unsigned int gain0,unsigned int gain1,unsigned int meastime,int coeff_idx) bu27034_fixp_calc_lx() argument 885 u16 ch0, ch1; bu27034_calc_mlux() local [all...] |
H A 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 > in tsl2583_get_lux() [all...] |
/linux/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/drivers/usb/renesas_usbhs/ |
H A 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()
|
/linux/drivers/gpu/drm/i915/soc/ |
H A D | intel_dram.c | 380 intel_is_dram_symmetric(const struct dram_channel_info *ch0, in intel_is_dram_symmetric() argument 383 return !memcmp(ch0, ch1, sizeof(*ch0)) && in intel_is_dram_symmetric() 384 (ch0->dimm_s.size == 0 || in intel_is_dram_symmetric() 385 !memcmp(&ch0->dimm_l, &ch0->dimm_s, sizeof(ch0->dimm_l))); in intel_is_dram_symmetric() 391 struct dram_channel_info ch0 = {}, ch1 = {}; in skl_dram_get_channels_info() local 397 ret = skl_dram_get_channel_info(i915, &ch0, 0, val); in skl_dram_get_channels_info() 412 if (ch0 in skl_dram_get_channels_info() [all...] |
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | nvidia,tegra186-mc.yaml | 171 - const: ch0 196 - const: ch0 233 - const: ch0 270 - const: ch0 330 reg-names = "sid", "broadcast", "ch0", "ch1", "ch2", "ch3";
|
/linux/include/linux/platform_data/ |
H A 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.
|
/linux/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/sound/soc/mediatek/mt8183/ |
H A 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"},
|
/linux/sound/soc/mediatek/mt8192/ |
H A 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"},
|
/linux/tools/perf/pmu-events/arch/x86/grandridge/ |
H A D | uncore-interconnect.json | 117 "EventName": "UNC_B2CMI_PREFCAM_OCCUPANCY.CH0", 127 "EventName": "UNC_B2CMI_TRACKER_INSERTS.CH0", 136 "EventName": "UNC_B2CMI_TRACKER_OCCUPANCY.CH0", 145 "EventName": "UNC_B2CMI_WR_TRACKER_INSERTS.CH0",
|
/linux/include/linux/usb/ |
H A 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 */
|
/linux/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 | 38 - const: ch0 216 "ch0", "ch1", "ch2", "ch3",
|
/linux/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/Documentation/firmware-guide/acpi/ |
H A D | intel-pmc-mux.rst | 37 Device (CH0) 56 Device (CH0) 123 Device (CH0)
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs62x-keys.yaml | 46 | 0 | CH0 Touch | x | x | x | x | x | 49 | 1 | CH0 Proximity | x | x | x | x | x | 84 * Two-channel SAR. Replaces CH0-2 plus metal touch and proximity events 88 *** One-channel SAR. Replaces CH0-2 touch and proximity events if enabled
|
/linux/sound/soc/codecs/ |
H A D | peb2466.c | 554 SND_SOC_DAPM_SUPPLY("CH0 PWR", PEB2466_CR1(0), 0, 0, NULL, 0), 559 SND_SOC_DAPM_DAC("CH0 DIN", "Playback", SND_SOC_NOPM, 0, 0), 564 SND_SOC_DAPM_SIGGEN("CH0 TG1"), 569 SND_SOC_DAPM_SIGGEN("CH0 TG2"), 609 { "CH0 DIN", NULL, "CH0 PWR" }, 614 { "CH0 TG1", NULL, "CH0 PWR" }, 619 { "CH0 TG2", NULL, "CH0 PW [all...] |
H A D | max98926.c | 145 SND_SOC_DAPM_MUX("PDM CH0 Source", 161 {"PDM CH0 Source", "Current", "DAI_OUT"}, 162 {"PDM CH0 Source", "Voltage", "DAI_OUT"}, 164 {"PCM Sel", "Analog", "PDM CH0 Source"},
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpio_phy.c | 52 * logic. CH0 common lane also contains the IOSF-SB logic for the 78 * pipe A == CMN/PLL/REF CH0 82 * port B == PCS/TX CH0 91 * pipe C == CMN/PLL/REF CH0 93 * port D == PCS/TX CH0 107 * | CH0 | CH1 | 119 * | CH0 | 783 * The document said it needs to set bit 27 for ch0 and bit 26 in chv_set_phy_signal_level() 786 * 27 for ch0 and ch1. in chv_set_phy_signal_level()
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-memory.json | 713 "BriefDescription": "UNC_M2HBM_IMC_READS.CH0.ALL", 716 "EventName": "UNC_M2HBM_IMC_READS.CH0.ALL", 723 "BriefDescription": "UNC_M2HBM_IMC_READS.CH0.NORMAL", 726 "EventName": "UNC_M2HBM_IMC_READS.CH0.NORMAL", 755 "BriefDescription": "Critical Priority - Ch0", 881 "BriefDescription": "UNC_M2HBM_IMC_WRITES.CH0.ALL", 884 "EventName": "UNC_M2HBM_IMC_WRITES.CH0.ALL", 891 "BriefDescription": "UNC_M2HBM_IMC_WRITES.CH0.FULL", 894 "EventName": "UNC_M2HBM_IMC_WRITES.CH0.FULL", 901 "BriefDescription": "UNC_M2HBM_IMC_WRITES.CH0 [all...] |
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | uncore-memory.json | 713 "BriefDescription": "UNC_M2HBM_IMC_READS.CH0.ALL", 716 "EventName": "UNC_M2HBM_IMC_READS.CH0.ALL", 723 "BriefDescription": "UNC_M2HBM_IMC_READS.CH0.NORMAL", 726 "EventName": "UNC_M2HBM_IMC_READS.CH0.NORMAL", 755 "BriefDescription": "Critical Priority - Ch0", 881 "BriefDescription": "UNC_M2HBM_IMC_WRITES.CH0.ALL", 884 "EventName": "UNC_M2HBM_IMC_WRITES.CH0.ALL", 891 "BriefDescription": "UNC_M2HBM_IMC_WRITES.CH0.FULL", 894 "EventName": "UNC_M2HBM_IMC_WRITES.CH0.FULL", 901 "BriefDescription": "UNC_M2HBM_IMC_WRITES.CH0 [all...] |
/linux/drivers/clk/ |
H A D | clk-cs2000-cp.c | 300 int ch = 0; /* it uses ch0 only at this point */ in cs2000_recalc_rate() 376 int ch = 0; /* it uses ch0 only at this point */ in cs2000_set_rate() 383 int ch = 0; /* it uses ch0 only at this point */ in cs2000_set_saved_rate() 469 int ch = 0; /* it uses ch0 only at this point */ in cs2000_clk_register()
|