/Linux-v5.10/Documentation/admin-guide/pm/ |
D | suspend-flows.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 At least one global system-wide transition needs to be carried out for the 14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows 28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and 31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states 33 boils down to the platform-specific actions carried out by the suspend and 37 *platform-dependent suspend* states in what follows. 42 Suspend-to-idle Suspend Code Flow [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | ti-tsc-adc.txt | 1 * TI - TSC ADC (Touschscreen and analog digital converter) 5 - mfd 7 "ti,am3359-tscadc" for AM335x/AM437x SoCs 8 "ti,am654-tscadc", "ti,am3359-tscadc" for AM654 SoCs 9 - child "tsc" 10 compatible: Should be "ti,am3359-tsc". 13 ti,x-plate-resistance: X plate resistance 14 ti,coordinate-readouts: The sequencer supports a total of 16 15 programmable steps each step is used to 23 ti,wire-config: Different boards could have a different order for [all …]
|
/Linux-v5.10/sound/soc/fsl/ |
D | fsl_audmix.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 #define FSL_AUDMIX_ATSTPUP0 0x210 /* Attenuation step up factor */ 21 #define FSL_AUDMIX_ATSTPDN0 0x214 /* Attenuation step down factor */ 22 #define FSL_AUDMIX_ATSTPTGT0 0x218 /* Attenuation step target */ 24 #define FSL_AUDMIX_ATSTP0 0x220 /* Attenuation step number */ 28 #define FSL_AUDMIX_ATSTPUP1 0x230 /* Attenuation step up factor */ 29 #define FSL_AUDMIX_ATSTPDN1 0x234 /* Attenuation step down factor */ 30 #define FSL_AUDMIX_ATSTPTGT1 0x238 /* Attenuation step target */ 32 #define FSL_AUDMIX_ATSTP1 0x240 /* Attenuation step number */ 79 /* AUDMIX Attenuation Step Up Factor Register */ [all …]
|
/Linux-v5.10/Documentation/core-api/ |
D | cpu_hotplug.rst | 25 A more novel use of CPU-hotplug support is its use today in suspend resume 26 support for SMP. Dual-core and HT support makes even a laptop run SMP kernels 80 from the map depending on the event is hot-add/hot-remove. There are currently 85 be read-only for most use. When setting up per-cpu resources almost always use 98 $ ls -lh /sys/devices/system/cpu 100 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0 101 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1 102 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2 103 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu3 104 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu4 [all …]
|
/Linux-v5.10/arch/x86/kvm/mmu/ |
D | tdp_iter.c | 1 // SPDX-License-Identifier: GPL-2.0 13 iter->sptep = iter->pt_path[iter->level - 1] + in tdp_iter_refresh_sptep() 14 SHADOW_PT_INDEX(iter->gfn << PAGE_SHIFT, iter->level); in tdp_iter_refresh_sptep() 15 iter->old_spte = READ_ONCE(*iter->sptep); in tdp_iter_refresh_sptep() 20 return gfn & -KVM_PAGES_PER_HPAGE(level); in round_gfn_for_level() 24 * Sets a TDP iterator to walk a pre-order traversal of the paging structure 33 iter->goal_gfn = goal_gfn; in tdp_iter_start() 34 iter->root_level = root_level; in tdp_iter_start() 35 iter->min_level = min_level; in tdp_iter_start() 36 iter->level = root_level; in tdp_iter_start() [all …]
|
/Linux-v5.10/drivers/usb/host/ |
D | xhci-pci-renesas.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2019-2020 Linaro Limited */ 12 #include "xhci-trace.h" 13 #include "xhci-pci.h" 54 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument 68 * The hardware does alternate between two 32-bit pages. in renesas_fw_download_image() 73 data0_or_data1 = (step & 1) == 1; in renesas_fw_download_image() 75 /* step+1. Read "Set DATAX" and confirm it is cleared. */ in renesas_fw_download_image() 79 dev_err(&dev->dev, "Read Status failed: %d\n", in renesas_fw_download_image() 89 dev_err(&dev->dev, "Timeout for Set DATAX step: %zd\n", step); in renesas_fw_download_image() [all …]
|
/Linux-v5.10/drivers/tty/serial/ |
D | ar933x_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Atheros AR933X SoC built-in UART driver 31 #include <asm/mach-ath79/ar933x_uart.h> 35 #define DRIVER_NAME "ar933x-uart" 57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read() argument 60 return readl(up->port.membase + offset); in ar933x_uart_read() 63 static inline void ar933x_uart_write(struct ar933x_uart_port *up, in ar933x_uart_write() argument 66 writel(value, up->port.membase + offset); in ar933x_uart_write() 69 static inline void ar933x_uart_rmw(struct ar933x_uart_port *up, in ar933x_uart_rmw() argument 76 t = ar933x_uart_read(up, offset); in ar933x_uart_rmw() [all …]
|
/Linux-v5.10/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-fm-tx.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _fm-tx-controls: 15 .. _fm-tx-control-id: 27 step are driver-specific. 33 Sets the RDS Programme Type field for transmission. This encodes up 34 to 31 pre-defined programme types. 52 programme-related information or any other text. In these cases, 97 up to 25 frequencies to be defined. Drivers may support fewer 103 receiver-generated distortion and prevent overmodulation. 107 useconds. Step and range are driver-specific. [all …]
|
D | vidioc-g-ext-ctrls.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co… 44 :ref:`ctrl-class`) and all controls in the control array must belong 61 relevant for pointer-type controls like strings), then the driver will 63 should re-allocate the memory to this new size and try again. For the 70 N-dimensional arrays are set and retrieved row-by-row. You cannot set a 85 :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. It is up to the driver whether wrong 97 If ``request_fd`` is set to a not-yet-queued :ref:`request <media-request-api>` 118 were set/get. Only low-level errors (e. g. a failed i2c command) can 127 .. flat-table:: struct v4l2_ext_control [all …]
|
/Linux-v5.10/block/ |
D | blk-wbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - Monitor latencies in a defined window of time. 7 * - If the minimum latency in the above window exceeds some target, increment 8 * scaling step and scale down queue depth by a factor of 2x. The monitoring 9 * window is then shrunk to 100 / sqrt(scaling step + 1). 10 * - For any window where we don't have solid data on what the latencies 12 * - If latencies look good, decrement scaling step. 13 * - If we're only doing writes, allow the scaling step to go negative. This 15 * scaling step of 0 if reads show up or the heavy writers finish. Unlike 17 * scaling step retains the default step==0 window size. [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 23 a value of 1 and will increase at a step size of 100mV until a maximum of 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mtd/ |
D | mtk-nand.txt | 15 - compatible: Should be one of 16 "mediatek,mt2701-nfc", 17 "mediatek,mt2712-nfc", 18 "mediatek,mt7622-nfc". 19 - reg: Base physical address and size of NFI. 20 - interrupts: Interrupts of NFI. 21 - clocks: NFI required clocks. 22 - clock-names: NFI clocks internal name. 23 - ecc-engine: Required ECC Engine node. 24 - #address-cells: NAND chip index, should be 1. [all …]
|
/Linux-v5.10/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #include <linux/pinctrl/pinconf-generic.h> 14 #include "mtk-eint.h" 61 #define SET_ADDR(x, y) (x + (y->devdata->port_align)) 62 #define CLR_ADDR(x, y) (x + (y->devdata->port_align << 1)) 71 * struct mtk_drv_group_desc - Provide driving group data. 76 * @step: The step current of this group. 83 unsigned char step; member 92 .step = _step, \ 96 * struct mtk_pin_drv_grp - Provide each pin driving info. [all …]
|
/Linux-v5.10/arch/arm/mach-omap1/ |
D | pm.c | 2 * linux/arch/arm/mach-omap1/pm.c 57 #include <linux/omap-dma.h> 58 #include <clocksource/timer-ti-dm.h> 91 return -EINVAL; in idle_store() 163 * Turn off all interrupts except GPIO bank 1, L1-2nd level cascade, in omap_pm_wakeup_setup() 166 * wake up to a GPIO interrupt. in omap_pm_wakeup_setup() 221 * Step 1: turn off interrupts (FIXME: NOTE: already disabled) in omap1_pm_suspend() 228 * Step 2: save registers in omap1_pm_suspend() 281 /* (Step 3 removed - we now allow deep sleep by default) */ in omap1_pm_suspend() 284 * Step 4: OMAP DSP Shutdown in omap1_pm_suspend() [all …]
|
/Linux-v5.10/Documentation/input/devices/ |
D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y Movement(9-bit 2's complement integers) 43 valid values, -8 ~ +7 51 - Set bit 1 in register 0x40 to 1 60 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 62 |---------------| |---------------| |---------------| |---------------| [all …]
|
/Linux-v5.10/drivers/clk/tegra/ |
D | cvb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012-2019 NVIDIA Corporation. All rights reserved. 20 mv = DIV_ROUND_CLOSEST(cvb->c2 * speedo, s_scale); in get_cvb_voltage() 21 mv = DIV_ROUND_CLOSEST((mv + cvb->c1) * speedo, s_scale) + cvb->c0; in get_cvb_voltage() 28 /* combined: apply voltage scale and round to cvb alignment step */ in round_cvb_voltage() 30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage() local 31 int offset = align->offset_uv * v_scale; in round_cvb_voltage() 33 uv = max(mv * 1000, offset) - offset; in round_cvb_voltage() 34 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage() 40 UP enumerator [all …]
|
/Linux-v5.10/sound/soc/sof/intel/ |
D | hda-loader.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 34 struct pci_dev *pci = to_pci_dev(sdev->dev); in cl_stream_prepare() 40 dev_err(sdev->dev, "error: no stream available\n"); in cl_stream_prepare() 41 return ERR_PTR(-ENODEV); in cl_stream_prepare() 43 hstream = &dsp_stream->hstream; in cl_stream_prepare() 44 hstream->substream = NULL; in cl_stream_prepare() 47 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, &pci->dev, size, dmab); in cl_stream_prepare() 49 dev_err(sdev->dev, "error: memory alloc failed: %x\n", ret); in cl_stream_prepare() 53 hstream->period_bytes = 0;/* initialize period_bytes */ in cl_stream_prepare() 54 hstream->format_val = format; in cl_stream_prepare() [all …]
|
/Linux-v5.10/drivers/staging/sm750fb/ |
D | ddk750_sii164.c | 1 // SPDX-License-Identifier: GPL-2.0 79 * edge_select - Edge Select: 84 * bus_select - Input Bus Select: 85 * 0 = Input data bus is 12-bits wide 86 * 1 = Input data bus is 24-bits wide 87 * dual_edge_clk_select - Dual Edge Clock Select 90 * hsync_enable - Horizontal Sync Enable: 93 * vsync_enable - Vertical Sync Enable: 96 * deskew_enable - De-skewing Enable: 97 * 0 = De-skew disabled [all …]
|
/Linux-v5.10/kernel/ |
D | cpu.c | 34 #include <linux/percpu-rwsem.h> 43 * cpuhp_cpu_state - Per cpu hotplug state storage 53 * @done_up: Signal completion to the issuer of the task for cpu-up 54 * @done_down: Signal completion to the issuer of the task for cpu-down 85 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map); 87 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-down", &cpuhp_state_down_map); 107 * cpuhp_step - Hotplug state machine step 108 * @name: Name of the step 109 * @startup: Startup function of the step 110 * @teardown: Teardown function of the step [all …]
|
/Linux-v5.10/scripts/ |
D | recordmcount.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 5 # recordmcount.pl - makes a section called __mcount_loc that holds 9 # What we want to end up with this is that each object file will have a 13 # Later on boot up, the kernel will read this list, save the locations and turn 31 # referring a function symbol in this section. During the link step, 'ld' will 58 # .quad func2 - 0x10 81 # the original object, we will end up with two symbols for func1: 82 # one local, one global. After final compile, we will end up with 99 # 4) Do we have to deal with local functions? If not, go to step 8. 145 # Acceptable section-prefixes to record. [all …]
|
/Linux-v5.10/arch/arm64/kvm/ |
D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015 - Linaro Ltd 12 #include <asm/debug-monitors.h> 40 vcpu->arch.guest_debug_preserved.mdscr_el1 = val; in save_guest_debug_regs() 43 vcpu->arch.guest_debug_preserved.mdscr_el1); in save_guest_debug_regs() 48 u64 val = vcpu->arch.guest_debug_preserved.mdscr_el1; in restore_guest_debug_regs() 57 * kvm_arm_init_debug - grab what we need for debug 61 * presumably been set-up by some knowledgeable bootcode. 63 * It is called once per-cpu during CPU hyp initialisation. 72 * kvm_arm_reset_debug_ptr - reset the debug ptr to point to the vcpu state [all …]
|
/Linux-v5.10/drivers/gpu/drm/panel/ |
D | panel-novatek-nt35510.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * the code needed to set up and configure the panel will be similar, 16 * per-panel, e.g. for physical size. 21 * I2C or SPI interface for setting up the NT35510. If this is needed 128 * struct nt35510_config - the display-specific NT35510 configuration 154 * +-------------------------------------------> 180 * @bt1ctr: setting for boost power control for the AVDD step-up 183 * frequency for the step-up circuit: 193 * amplification for the the step-up circuit: 204 * @avee: setting for AVEE ranging from 0x00 = -6.5V to 0x14 = -4.5V [all …]
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 2 * Copyright(c) 2015 - 2017 Intel Corporation. 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 146 #define AUGMENT_SIZE (sizeof(struct augmented_firmware_file) - \ 260 * Read a single 64-bit value from 8051 data memory. 263 * o caller to have already set up data read, no auto increment 267 * ignored - i.e. the hardware will always do aligned 8-byte reads as if 270 * Return 0 on success, -ENXIO on a read error (timeout). 277 /* step 1: set the address, clear enable */ in __read_8051_data() [all …]
|
/Linux-v5.10/Documentation/hwmon/ |
D | nct6775.rst | 19 * Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I 87 Guenter Roeck <linux@roeck-us.net> 90 ----------- 95 The chips support up to 25 temperature monitoring sources. Up to 6 of those are 99 temperatures. The driver reports up to 10 of the temperatures to the user. 132 The mode works for fan1-fan5. 135 ---------------- 137 pwm[1-7] 138 - this file stores PWM duty cycle or DC value (fan speed) in range: 142 pwm[1-7]_enable [all …]
|
/Linux-v5.10/samples/livepatch/ |
D | livepatch-shadow-mod.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * livepatch-shadow-mod.c - Shadow variables, buggy module demo 10 * ------- 14 * livepatch-shadow-fix1.ko and livepatch-shadow-fix2.ko correct and 17 * WARNING - even though the livepatch-shadow-fix modules patch the 18 * memory leak, please load these modules at your own risk -- some 23 * ----- 25 * Step 1 - Load the buggy demonstration module: 27 * insmod samples/livepatch/livepatch-shadow-mod.ko 34 * Step 2 - Load livepatch fix1: [all …]
|