/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | intel_dram.c | 1 // SPDX-License-Identifier: MIT 41 return dimm->ranks * 64 / (dimm->width ?: 1); in intel_dimm_num_devices() 80 return (val & CNL_DRAM_SIZE_MASK) / 2; in cnl_get_dimm_size() 114 return 8 * dimm->size / (intel_dimm_num_devices(dimm) ?: 1) == 16; in skl_is_16gb_dimm() 123 dimm->size = cnl_get_dimm_size(val); in skl_dram_get_dimm_info() 124 dimm->width = cnl_get_dimm_width(val); in skl_dram_get_dimm_info() 125 dimm->ranks = cnl_get_dimm_ranks(val); in skl_dram_get_dimm_info() 127 dimm->size = skl_get_dimm_size(val); in skl_dram_get_dimm_info() 128 dimm->width = skl_get_dimm_width(val); in skl_dram_get_dimm_info() 129 dimm->ranks = skl_get_dimm_ranks(val); in skl_dram_get_dimm_info() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | apds9300.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * apds9300.c - IIO driver for Avago APDS9300 ambient light sensor 57 /* Calculated values 1000 * (CH1/CH0)^1.4 for CH1/CH0 from 0 to 0.52 */ 59 0, 2, 4, 7, 11, 15, 19, 24, 29, 34, 40, 45, 51, 57, 64, 70, 77, 84, 91, 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() [all …]
|
D | tsl2583.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2016-2017 Brian Masney <masneyb@onstation.org> 61 /* Per-device data */ 70 unsigned int ch0; member 108 s16 ch0; member 113 /* Index = (0 - 3) Used to validate the gain selection index */ 131 chip->als_settings.als_time = 100; in tsl2583_defaults() 137 chip->als_settings.als_gain = 0; in tsl2583_defaults() 140 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults() 143 chip->als_settings.als_cal_target = 130; in tsl2583_defaults() [all …]
|
D | tsl2563.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 #define CALIB_FRAC_HALF (1 << (CALIB_FRAC_BITS - 1)) 50 #define TSL2563_REG_LOWLOW 0x02 /* data0 low threshold, 2 bytes */ 52 #define TSL2563_REG_HIGHLOW 0x04 /* data0 high threshold, 2 bytes */ 56 #define TSL2563_REG_DATA0LOW 0x0c /* broadband sensor value, 2 bytes */ 58 #define TSL2563_REG_DATA1LOW 0x0e /* infrared sensor value, 2 bytes */ 129 struct i2c_client *client = chip->client; in tsl2563_set_power() 143 struct i2c_client *client = chip->client; in tsl2563_get_power() 157 ret = i2c_smbus_write_byte_data(chip->client, in tsl2563_configure() 159 chip->gainlevel->gaintime); in tsl2563_configure() [all …]
|
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-tdm.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "mt8183-afe-clk.h" 11 #include "mt8183-afe-common.h" 12 #include "mt8183-interconnection.h" 13 #include "mt8183-reg.h" 44 TDM_WLEN_32_BIT = 2, 50 TDM_CHANNEL_BCK_32 = 2, 56 TDM_CHANNEL_NUM_8 = 2, 92 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width() 99 case 2: in get_tdm_ch() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
D | allwinner,sun4i-a10-tcon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tcon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 18 "#clock-cells": 23 - const: allwinner,sun4i-a10-tcon 24 - const: allwinner,sun5i-a13-tcon 25 - const: allwinner,sun6i-a31-tcon [all …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | stih407-clock.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <dt-bindings/clock/stih407-clks.h> 10 clk_sysin: clk-sysin { 11 #clock-cells = <0>; 12 compatible = "fixed-clock"; 13 clock-frequency = <30000000>; 16 clk_tmdsout_hdmi: clk-tmdsout-hdmi { 17 #clock-cells = <0>; 18 compatible = "fixed-clock"; 19 clock-frequency = <0>; [all …]
|
D | stih410-clock.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <dt-bindings/clock/stih410-clks.h> 10 clk_sysin: clk-sysin { 11 #clock-cells = <0>; 12 compatible = "fixed-clock"; 13 clock-frequency = <30000000>; 14 clock-output-names = "CLK_SYSIN"; 17 clk_tmdsout_hdmi: clk-tmdsout-hdmi { 18 #clock-cells = <0>; 19 compatible = "fixed-clock"; [all …]
|
D | stih418-clock.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <dt-bindings/clock/stih418-clks.h> 10 clk_sysin: clk-sysin { 11 #clock-cells = <0>; 12 compatible = "fixed-clock"; 13 clock-frequency = <30000000>; 14 clock-output-names = "CLK_SYSIN"; 17 clk_tmdsout_hdmi: clk-tmdsout-hdmi { 18 #clock-cells = <0>; 19 compatible = "fixed-clock"; [all …]
|
D | r8a77470.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a77470-cpg-mssr.h> 11 #include <dt-bindings/power/r8a77470-sysc.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 26 #address-cells = <1>; 27 #size-cells = <0>; 28 enable-method = "renesas,apmu"; [all …]
|
/kernel/linux/linux-5.10/include/linux/usb/ |
D | r8a66597.h | 1 // SPDX-License-Identifier: GPL-2.0 11 * the Free Software Foundation; version 2 of the License. 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 42 unsigned xtal:2; 138 #define XTAL 0xC000 /* b15-14: Crystal selection */ 147 #define HSE 0x0080 /* b7: Hi-speed enable */ 149 #define DRPD 0x0020 /* b5: D+/- pull down control */ 154 #define OVCBIT 0x8000 /* b15-14: Over-current bit */ 155 #define OVCMON 0xC000 /* b15-14: Over-current monitor */ 157 #define IDMON 0x0004 /* b3: ID-pin monitor */ [all …]
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | tsl2550.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * tsl2550.c - Linux kernel modules for ambient light sensor 44 static const u8 TSL2550_MODE_RANGE[2] = { 58 data->operating_mode = mode; in tsl2550_set_operating_mode() 74 tsl2550_set_operating_mode(client, data->operating_mode); in tsl2550_set_power_state() 77 data->power_state = state; in tsl2550_set_power_state() 90 return -EAGAIN; in tsl2550_get_adc_value() 121 0, 1, 2, 3, 4, 5, 6, 7, 141 * pages 2, 3. 143 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) in tsl2550_calculate_lux() argument [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
D | renesas,usb-dmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/renesas,usb-dmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 13 - $ref: "dma-controller.yaml#" 18 - enum: 19 - renesas,r8a7742-usb-dmac # RZ/G1H 20 - renesas,r8a7743-usb-dmac # RZ/G1M 21 - renesas,r8a7744-usb-dmac # RZ/G1N [all …]
|
D | renesas,shdma.txt | 3 Sh-/r-mobile and R-Car systems often have multiple identical DMA controller 15 - compatible: should be "renesas,shdma-mux" 16 - #dma-cells: should be <1>, see "dmas" property below 19 - dma-channels: number of DMA channels 20 - dma-requests: number of DMA request signals 25 - compatible: should be of the form "renesas,shdma-<soc>", where <soc> should 27 "renesas,shdma-r8a73a4" for the system DMAC on r8a73a4 SoC 30 dmac: dma-multiplexer@0 { 31 compatible = "renesas,shdma-mux"; 32 #dma-cells = <1>; [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 20 further details and examples. Sensor hardware configuration (self-capacitive 21 vs. mutual-inductive, etc.) is selected based on the device's firmware. 26 - azoteq,iqs620a-keys [all …]
|
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/ |
D | intel-pmc-mux.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel North Mux-Agent 10 North Mux-Agent is a function of the Intel PMC firmware that is supported on 13 platforms that allow the mux-agent to be configured from the operating system 16 The North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver 18 (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C 19 Mux Class which allows the USB Type-C Controller and Interface drivers to 28 ------- 30 For every USB Type-C connector under the mux-agent control on the system, there 31 is a separate child node under the PMC mux-agent device node. Those nodes do not [all …]
|
/kernel/linux/linux-5.10/sound/oss/dmasound/ |
D | dmasound_paula.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * - added versioning 12 * - put in and populated the hardware_afmts field. 13 * [0.2] - put in SNDCTL_DSP_GETCAPS value. 14 * [0.3] - put in constraint on state buffer usage. 15 * [0.4] - put in default hard/soft settings 65 * Helper pointers for 16(14)-bit sound 92 * Heartbeat interferes with sound since the 7 kHz low-pass filter and the 167 return -EFAULT; in ami_ct_s8() 172 used = count*2; in ami_ct_s8() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dpio_phy.c | 2 * Copyright © 2014-2016 Intel Corporation 39 * IOSF-SB port. 43 * logic. CH0 common lane also contains the IOSF-SB logic for the 53 * each spline is made up of one Physical Access Coding Sub-Layer 69 * pipe A == CMN/PLL/REF CH0 73 * port B == PCS/TX CH0 82 * pipe C == CMN/PLL/REF CH0 84 * port D == PCS/TX CH0 97 * --------------------------------- 98 * | CH0 | CH1 | [all …]
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-cs2000-cp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CS2000 -- CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier 8 #include <linux/clk-provider.h> 24 #define Ratio_Val(x, nth) ((x >> (24 - (8 * nth))) & 0xFF) 25 #define Val_Ratio(x, nth) ((x & 0xFF) << (24 - (8 * nth))) 67 #define priv_to_client(priv) (priv->client) 68 #define priv_to_dev(priv) (&(priv_to_client(priv)->dev)) 72 #define CLK_MAX 2 86 { .compatible = "cirrus,cs2000-cp", }, 92 { "cs2000-cp", }, [all …]
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | max98926.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98926.c -- ALSA SoC MAX98926 driver 4 * Copyright 2013-15 Maxim Integrated Products 49 { 0x1B, 0x00 }, /* DAI Clock Mode 2 */ 62 { 0x28, 0xFF }, /* DOUT HiZ Configuration 2 */ 114 MAX98926_DAC_IN_SEL_SHIFT, 2, 0), 115 SOC_DAPM_SINGLE("(Left+Right)/2 Switch", MAX98926_GAIN, 145 SND_SOC_DAPM_MUX("PDM CH0 Source", 161 {"PDM CH0 Source", "Current", "DAI_OUT"}, 162 {"PDM CH0 Source", "Voltage", "DAI_OUT"}, [all …]
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/renesas/ |
D | r8a77995.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car D3 (R8A77995) SoC 9 #include <dt-bindings/clock/r8a77995-cpg-mssr.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/r8a77995-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 18 /* External CAN clock - to be overridden by boards that provide it */ 20 compatible = "fixed-clock"; 21 #clock-cells = <0>; [all …]
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | intel_mrfld_adc.c | 1 // SPDX-License-Identifier: GPL-2.0 66 complete(&adc->completion); in mrfld_adc_thread_isr() 75 struct regmap *regmap = adc->regmap; in mrfld_adc_single_conv() 81 reinit_completion(&adc->completion); in mrfld_adc_single_conv() 92 req = mrfld_adc_requests[chan->channel]; in mrfld_adc_single_conv() 97 timeout = wait_for_completion_interruptible_timeout(&adc->completion, in mrfld_adc_single_conv() 104 ret = -ETIMEDOUT; in mrfld_adc_single_conv() 108 ret = regmap_bulk_read(regmap, chan->address, &value, sizeof(value)); in mrfld_adc_single_conv() 131 mutex_lock(&adc->lock); in mrfld_adc_read_raw() 133 mutex_unlock(&adc->lock); in mrfld_adc_read_raw() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/wireless/ |
D | qcom,ath10k.txt | 4 - compatible: Should be one of the following: 6 * "qcom,ipq4019-wifi" 7 * "qcom,wcn3990-wifi" 10 data along with board specific data via "qcom,ath10k-calibration-data". 13 AHB based devices (i.e. ipq4019) uses compatible string "qcom,ipq4019-wifi" 15 "qcom,ath10k-calibration-data"). It uses "qcom,ath10k-pre-calibration-data" 18 In general, entry "qcom,ath10k-pre-calibration-data" and 19 "qcom,ath10k-calibration-data" conflict with each other and only one 22 SNOC based devices (i.e. wcn3990) uses compatible string "qcom,wcn3990-wifi". 24 - reg: Address and length of the register set for the device. [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
D | samsung,ufs-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/samsung,ufs-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alim Akhtar <alim.akhtar@samsung.com> 13 "#phy-cells": 18 - samsung,exynos7-ufs-phy 23 reg-names: 25 - const: phy-pma 29 - description: PLL reference clock [all …]
|
/kernel/linux/linux-5.10/drivers/clk/renesas/ |
D | r8a77470-cpg-mssr.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/soc/renesas/rcar-rst.h> 13 #include <dt-bindings/clock/r8a77470-cpg-mssr.h> 15 #include "renesas-cpg-mssr.h" 16 #include "rcar-gen2-cpg.h" 48 DEF_FIXED(".pll1_div2", CLK_PLL1_DIV2, CLK_PLL1, 2, 1), 69 DEF_FIXED("cpex", R8A77470_CLK_CPEX, CLK_EXTAL, 2, 1), 82 DEF_MOD("2d-dmac", 115, R8A77470_CLK_ZS), 83 DEF_MOD("fdp1-0", 119, R8A77470_CLK_ZS), 91 DEF_MOD("sys-dmac1", 218, R8A77470_CLK_ZS), [all …]
|