| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | adi,max77857.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices MAX77857 Buck-Boost Converter 11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com> 12 - Okan Sahin <Okan.Sahin@analog.com> 14 description: Analog Devices MAX77857 Buck-Boost Converter 19 - adi,max77831 20 - adi,max77857 21 - adi,max77859 [all …]
|
| D | qcom,rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 The regulator node houses sub-nodes for each regulator within the device. 16 Each sub-node is identified using the node's name, with valid values listed 28 l29, lvs1, lvs2, lvs3, lvs4, lvs5, lvs6, lvs7, usb-switch, hdmi-switch, 37 - Bjorn Andersson <andersson@kernel.org> 42 - qcom,rpm-pm8058-regulators 43 - qcom,rpm-pm8901-regulators [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | tda7419.c | 1 // SPDX-License-Identifier: GPL-2.0-only 136 if (tvc->reg == tvc->rreg) in tda7419_vol_is_stereo() 146 (struct tda7419_vol_control *)kcontrol->private_value; in tda7419_vol_info() 148 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tda7419_vol_info() 149 uinfo->count = tda7419_vol_is_stereo(tvc) ? 2 : 1; in tda7419_vol_info() 150 uinfo->value.integer.min = tvc->min; in tda7419_vol_info() 151 uinfo->value.integer.max = tvc->max; in tda7419_vol_info() 163 val = 0 - val; in tda7419_vol_get_value() 166 val = val - thresh; in tda7419_vol_get_value() 168 val = thresh - val; in tda7419_vol_get_value() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | tda7419.c | 1 // SPDX-License-Identifier: GPL-2.0-only 136 if (tvc->reg == tvc->rreg) in tda7419_vol_is_stereo() 146 (struct tda7419_vol_control *)kcontrol->private_value; in tda7419_vol_info() 148 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tda7419_vol_info() 149 uinfo->count = tda7419_vol_is_stereo(tvc) ? 2 : 1; in tda7419_vol_info() 150 uinfo->value.integer.min = tvc->min; in tda7419_vol_info() 151 uinfo->value.integer.max = tvc->max; in tda7419_vol_info() 163 val = 0 - val; in tda7419_vol_get_value() 166 val = val - thresh; in tda7419_vol_get_value() 168 val = thresh - val; in tda7419_vol_get_value() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/opp/ |
| D | opp.txt | 2 ---------------------------------------------------- 4 Devices work at voltage-current-frequency combinations and some implementations 13 Binding 1: operating-points 16 This binding only supports voltage-frequency pairs. 19 - operating-points: An array of 2-tuples items, and each item consists 20 of frequency and voltage like <freq-kHz vol-uV>. 21 freq: clock frequency in kHz 27 compatible = "arm,cortex-a9"; 29 next-level-cache = <&L2>; 30 operating-points = < [all …]
|
| /kernel/linux/linux-6.6/init/ |
| D | calibrate.c | 1 // SPDX-License-Identifier: GPL-2.0 29 * Also, this code tries to handle non-maskable asynchronous events 32 #define DELAY_CALIBRATION_TICKS ((HZ < 100) ? 1 : (HZ/100)) 44 int max = -1; /* index of measured_times with max/min values or not set */ in calibrate_delay_direct() 45 int min = -1; in calibrate_delay_direct() 55 * will not do. As we don't really know whether jiffy switch in calibrate_delay_direct() 60 * 1. pre_start <- When we are sure that jiffy switch hasn't happened in calibrate_delay_direct() 61 * 2. check jiffy switch in calibrate_delay_direct() 62 * 3. start <- timer value before or after jiffy switch in calibrate_delay_direct() 63 * 4. post_start <- When we are sure that jiffy switch has happened in calibrate_delay_direct() [all …]
|
| /kernel/linux/linux-5.10/init/ |
| D | calibrate.c | 1 // SPDX-License-Identifier: GPL-2.0 29 * Also, this code tries to handle non-maskable asynchronous events 32 #define DELAY_CALIBRATION_TICKS ((HZ < 100) ? 1 : (HZ/100)) 44 int max = -1; /* index of measured_times with max/min values or not set */ in calibrate_delay_direct() 45 int min = -1; in calibrate_delay_direct() 55 * will not do. As we don't really know whether jiffy switch in calibrate_delay_direct() 60 * 1. pre_start <- When we are sure that jiffy switch hasn't happened in calibrate_delay_direct() 61 * 2. check jiffy switch in calibrate_delay_direct() 62 * 3. start <- timer value before or after jiffy switch in calibrate_delay_direct() 63 * 4. post_start <- When we are sure that jiffy switch has happened in calibrate_delay_direct() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/analogbits/ |
| D | wrpll-cln28hpc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018-2019 SiFive, Inc. 16 * pre-determined set of performance points. 19 * - Analog Bits "Wide Range PLL Datasheet", version 2015.10.01 20 * - SiFive FU540-C000 Manual v1p0, Chapter 7 "Clocking and Reset" 21 * https://static.dev.sifive.com/FU540-C000-v1.0.pdf 28 #include <linux/clk/analogbits-wrpll-cln28hpc.h> 30 /* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */ 33 /* MAX_INPUT_FREQ: maximum input clock frequency, in Hz (Fref_max) */ 36 /* MIN_POST_DIVIDE_REF_FREQ: minimum post-divider reference frequency, in Hz */ [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/analogbits/ |
| D | wrpll-cln28hpc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018-2019 SiFive, Inc. 16 * pre-determined set of performance points. 19 * - Analog Bits "Wide Range PLL Datasheet", version 2015.10.01 20 * - SiFive FU540-C000 Manual v1p0, Chapter 7 "Clocking and Reset" 21 * https://static.dev.sifive.com/FU540-C000-v1.0.pdf 32 #include <linux/clk/analogbits-wrpll-cln28hpc.h> 34 /* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */ 37 /* MAX_INPUT_FREQ: maximum input clock frequency, in Hz (Fref_max) */ 40 /* MIN_POST_DIVIDE_REF_FREQ: minimum post-divider reference frequency, in Hz */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | qcom-rpm.txt | 8 - compatible: 12 "qcom,rpm-apq8064" 13 "qcom,rpm-msm8660" 14 "qcom,rpm-msm8960" 15 "qcom,rpm-ipq8064" 16 "qcom,rpm-mdm9615" 18 - reg: 20 Value type: <prop-encoded-array> 23 - interrupts: 25 Value type: <prop-encoded-array> [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | timex.h | 28 * Added defines for hybrid phase/frequency-lock loop. 32 * defines for PPS phase-lock loop. 46 * 1995-08-13 Torsten Duwe 47 * kernel PLL updated to 1994-12-13 specs (rfc-1589) 48 * 1997-08-30 Ulrich Windl 50 * 2004-08-12 Christoph Lameter 58 #define ADJ_ADJTIME 0x8000 /* switch between adjtime/adjtimex modes */ 59 #define ADJ_OFFSET_SINGLESHOT 0x0001 /* old-fashioned adjtime */ 60 #define ADJ_OFFSET_READONLY 0x2000 /* read-only adjtime */ 73 * when an interrupt takes places versus a high speed, fine-grained [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | timex.h | 28 * Added defines for hybrid phase/frequency-lock loop. 32 * defines for PPS phase-lock loop. 46 * 1995-08-13 Torsten Duwe 47 * kernel PLL updated to 1994-12-13 specs (rfc-1589) 48 * 1997-08-30 Ulrich Windl 50 * 2004-08-12 Christoph Lameter 58 #define ADJ_ADJTIME 0x8000 /* switch between adjtime/adjtimex modes */ 59 #define ADJ_OFFSET_SINGLESHOT 0x0001 /* old-fashioned adjtime */ 60 #define ADJ_OFFSET_READONLY 0x2000 /* read-only adjtime */ 73 * when an interrupt takes places versus a high speed, fine-grained [all …]
|
| /kernel/linux/linux-5.10/include/linux/soundwire/ |
| D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 71 * enum sdw_slave_status - Slave status 89 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare 90 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare 100 * enum sdw_command_response - Command response as defined by SDW spec 180 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a 191 * enum sdw_dpn_type - Data port types 206 * enum sdw_clk_stop_mode - Clock Stop modes 209 * @SDW_CLK_STOP_MODE1: Slave may have entered a deeper power-saving mode, [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/pressure/ |
| D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 44 * Note that hardware sampling frequency is taken into account only when 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 71 #define ZPA2326_CONVERSION_JIFFIES (HZ / 5) 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 79 * @hz : Frequency in Hertz. [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/pressure/ |
| D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 44 * Note that hardware sampling frequency is taken into account only when 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 71 #define ZPA2326_CONVERSION_JIFFIES (HZ / 5) 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 79 * @hz : Frequency in Hertz. [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/accel/ |
| D | bma400_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - Support for power management 9 * - Support events and interrupts 10 * - Create channel for step count 11 * - Create channel for sensor time 27 * The G-range selection may be one of 2g, 4g, 8, or 16g. The scale may 50 int hz; member 68 switch (reg) { in bma400_is_writable_reg() 101 switch (reg) { in bma400_is_volatile_reg() 147 return &data->orientation; in bma400_accel_get_mount_matrix() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/hisilicon/ |
| D | clk-hi6220-stub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/clk-provider.h> 33 /* CPU dynamic frequency scaling */ 71 regmap_read(stub_clk->dfs_map, ACPU_DFS_CUR_FREQ, &freq); in hi6220_acpu_get_freq() 80 /* set the frequency in sram */ in hi6220_acpu_set_freq() 81 regmap_write(stub_clk->dfs_map, ACPU_DFS_FREQ_REQ, freq); in hi6220_acpu_set_freq() 89 mbox_send_message(stub_clk->mbox, &data); in hi6220_acpu_set_freq() 99 /* check the constrained frequency */ in hi6220_acpu_round_freq() 100 regmap_read(stub_clk->dfs_map, ACPU_DFS_FLAG, &limit_flag); in hi6220_acpu_round_freq() 102 regmap_read(stub_clk->dfs_map, ACPU_DFS_FREQ_LMT, &limit_freq); in hi6220_acpu_round_freq() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/hisilicon/ |
| D | clk-hi6220-stub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/clk-provider.h> 33 /* CPU dynamic frequency scaling */ 71 regmap_read(stub_clk->dfs_map, ACPU_DFS_CUR_FREQ, &freq); in hi6220_acpu_get_freq() 80 /* set the frequency in sram */ in hi6220_acpu_set_freq() 81 regmap_write(stub_clk->dfs_map, ACPU_DFS_FREQ_REQ, freq); in hi6220_acpu_set_freq() 89 mbox_send_message(stub_clk->mbox, &data); in hi6220_acpu_set_freq() 99 /* check the constrained frequency */ in hi6220_acpu_round_freq() 100 regmap_read(stub_clk->dfs_map, ACPU_DFS_FLAG, &limit_flag); in hi6220_acpu_round_freq() 102 regmap_read(stub_clk->dfs_map, ACPU_DFS_FREQ_LMT, &limit_freq); in hi6220_acpu_round_freq() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | hda_beep.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Digital Beep Input Interface for HD-audio codec 18 DIGBEEP_HZ_STEP = 46875, /* 46.875 Hz */ 19 DIGBEEP_HZ_MIN = 93750, /* 93.750 Hz */ 26 struct hda_codec *codec = beep->codec; in generate_tone() 28 if (tone && !beep->playing) { in generate_tone() 30 if (beep->power_hook) in generate_tone() 31 beep->power_hook(beep, true); in generate_tone() 32 beep->playing = 1; in generate_tone() 34 if (!codec->beep_just_power_on) in generate_tone() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | hda_beep.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Digital Beep Input Interface for HD-audio codec 18 DIGBEEP_HZ_STEP = 46875, /* 46.875 Hz */ 19 DIGBEEP_HZ_MIN = 93750, /* 93.750 Hz */ 26 struct hda_codec *codec = beep->codec; in generate_tone() 28 if (tone && !beep->playing) { in generate_tone() 30 if (beep->power_hook) in generate_tone() 31 beep->power_hook(beep, true); in generate_tone() 32 beep->playing = 1; in generate_tone() 34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone() [all …]
|
| /kernel/linux/linux-6.6/include/linux/soundwire/ |
| D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 75 * enum sdw_slave_status - Slave status 93 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare 94 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare 104 * enum sdw_command_response - Command response as defined by SDW spec 190 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a 201 * enum sdw_dpn_type - Data port types 216 * enum sdw_clk_stop_mode - Clock Stop modes 219 * @SDW_CLK_STOP_MODE1: Slave may have entered a deeper power-saving mode, [all …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | tuner-types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * enum param_type - type of the tuner pameters 27 * struct tuner_range - define the frequencies supported by the tuner 29 * @limit: Max frequency supported by that range, in 62.5 kHz 30 * (TV) or 62.5 Hz (Radio), as defined by 32 * @config: Value of the band switch byte (BB) to setup this mode. 43 * #) band switch byte (BB) 54 * struct tuner_params - Parameters to be used to setup the tuner. Those 55 * are used by drivers/media/tuners/tuner-types.c in 57 * the parameters are for tuners based on tda9887 IF-PLL [all …]
|
| /kernel/linux/linux-6.6/include/media/ |
| D | tuner-types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * enum param_type - type of the tuner pameters 27 * struct tuner_range - define the frequencies supported by the tuner 29 * @limit: Max frequency supported by that range, in 62.5 kHz 30 * (TV) or 62.5 Hz (Radio), as defined by 32 * @config: Value of the band switch byte (BB) to setup this mode. 43 * #) band switch byte (BB) 54 * struct tuner_params - Parameters to be used to setup the tuner. Those 55 * are used by drivers/media/tuners/tuner-types.c in 57 * the parameters are for tuners based on tda9887 IF-PLL [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/media/ |
| D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
| D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|