/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ams,as3711.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> 15 two step-up DC/DC converters are defined. 26 Step-up converter configuration, to be used as a backlight source 31 const: ams,as3711-bl 33 su1-dev: 34 description: Framebuffer phandle for the first step-up converter 37 su1-max-uA: [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A 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/sound/soc/fsl/ |
H A 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/Documentation/admin-guide/ |
H A D | verify-bugs-and-bisect-regressions.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 9 currently supported by developers -- to then explain how to locate the change 22 read and navigate this document -- especially when you want to look something 23 up in the reference section, then jump back to where you left off. 26 https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html 32 over to the* ':ref:`step-by-step guide <introguide_bissbs>`' *below. It utilizes 45 *segment 2*. Then you can submit a preliminary report -- or continue with 47 full-fledged regression report. In the following example 6.0.13 is assumed to be 51 * **Preparations**: set up everything to build your own kernels:: 55 # * Ensure Secure Boot permits booting self-compiled Linux kernels. [all …]
|
H A D | quickly-build-trimmed-linux.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 9 testing purposes, but perfectly fine for day-to-day use, too. 15 section below: it contains a step-by-step guide, which is more detailed, but 21 self-compiled Linux kernels; install compilers and everything else needed for 26 git clone --depth 1 -b master \ 34 make -j $(nproc --all) 37 command -v installkernel && sudo make modules_install install 43 git fetch --depth 1 origin 45 git checkout --force --detach origin/master 49 make -j $(nproc --all) [all …]
|
/linux/include/linux/ |
H A D | iov_iter.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 iov_ustep_f step) in iterate_ubuf() argument 27 void __user *base = iter->ubuf; in iterate_ubuf() 30 remain = step(base + iter->iov_offset, 0, len, priv, priv2); in iterate_ubuf() 31 progress = len - remain; in iterate_ubuf() 32 iter->iov_offset += progress; in iterate_ubuf() 33 iter->count -= progress; in iterate_ubuf() 42 iov_ustep_f step) in iterate_iovec() argument 44 const struct iovec *p = iter->__iov; in iterate_iovec() 45 size_t progress = 0, skip = iter->iov_offset; in iterate_iovec() [all …]
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | vdo-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 4 Design of dm-vdo 7 The dm-vdo (virtual data optimizer) target provides inline deduplication, 8 compression, zero-block elimination, and thin provisioning. A dm-vdo target 9 can be backed by up to 256TB of storage, and can present a logical size of 10 up to 4PB. This target was originally developed at Permabit Technology 12 production environments ever since. It was made open-source in 2017 after 14 dm-vdo. For usage, see vdo.rst in the same directory as this file. 18 deduplication rates of 254:1, i.e. up to 254 copies of a given 4K block can 25 The design of dm-vdo is based on the idea that deduplication is a two-part [all …]
|
/linux/arch/x86/kvm/mmu/ |
H A D | tdp_iter.c | 1 // SPDX-License-Identifier: GPL-2.0 14 iter->sptep = iter->pt_path[iter->level - 1] + in tdp_iter_refresh_sptep() 15 SPTE_INDEX(iter->gfn << PAGE_SHIFT, iter->level); in tdp_iter_refresh_sptep() 16 iter->old_spte = kvm_tdp_mmu_read_spte(iter->sptep); in tdp_iter_refresh_sptep() 25 iter->yielded = false; in tdp_iter_restart() 26 iter->yielded_gfn = iter->next_last_level_gfn; in tdp_iter_restart() 27 iter->level = iter->root_level; in tdp_iter_restart() 29 iter->gfn = gfn_round_for_level(iter->next_last_level_gfn, iter->level); in tdp_iter_restart() 32 iter->valid = true; in tdp_iter_restart() 36 * Sets a TDP iterator to walk a pre-order traversal of the paging structure [all …]
|
/linux/drivers/usb/host/ |
H A 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" 56 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument 70 * The hardware does alternate between two 32-bit pages. in renesas_fw_download_image() 75 data0_or_data1 = (step & 1) == 1; in renesas_fw_download_image() 77 /* step+1. Read "Set DATAX" and confirm it is cleared. */ in renesas_fw_download_image() 81 dev_err(&dev->dev, "Read Status failed: %d\n", in renesas_fw_download_image() 91 dev_err(&dev->dev, "Timeout for Set DATAX step: %zd\n", step); in renesas_fw_download_image() [all …]
|
/linux/Documentation/core-api/ |
H A D | cpu_hotplug.rst | 26 A more novel use of CPU-hotplug support is its use today in suspend resume 27 support for SMP. Dual-core and HT support makes even a laptop run SMP kernels 75 from the map depending on the event is hot-add/hot-remove. There are currently 80 be read-only for most use. When setting up per-cpu resources almost always use 94 $ ls -lh /sys/devices/system/cpu 96 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0 97 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1 98 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2 99 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu3 100 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu4 [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A 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 …]
|
/linux/block/ |
H A 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/drivers/clk/tegra/ |
H A 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/arch/arm/mach-omap1/ |
H A D | pm.c | 2 * linux/arch/arm/mach-omap1/pm.c 55 #include <linux/soc/ti/omap1-io.h> 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() 213 * Step 1: turn off interrupts (FIXME: NOTE: already disabled) in omap1_pm_suspend() 220 * Step 2: save registers in omap1_pm_suspend() 263 /* (Step 3 removed - we now allow deep sleep by default) */ in omap1_pm_suspend() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A 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/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ti,am3359-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 const: ti,am3359-tsc 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: 28 step is used to read a single coordinate. A single readout is enough but 36 ti,wire-config: [all …]
|
/linux/drivers/pinctrl/mediatek/ |
H A 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/Documentation/input/devices/ |
H A 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/drivers/infiniband/hw/hfi1/ |
H A D | firmware.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright(c) 2015 - 2017 Intel Corporation. 103 #define AUGMENT_SIZE (sizeof(struct augmented_firmware_file) - \ 217 * Read a single 64-bit value from 8051 data memory. 220 * o caller to have already set up data read, no auto increment 224 * ignored - i.e. the hardware will always do aligned 8-byte reads as if 227 * Return 0 on success, -ENXIO on a read error (timeout). 234 /* step 1: set the address, clear enable */ in __read_8051_data() 238 /* step 2: enable */ in __read_8051_data() 250 return -ENXIO; in __read_8051_data() [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A 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 146 * struct nt35510_config - the display-specific NT35510 configuration 172 * +-------------------------------------------> 206 * @bt1ctr: setting for boost power control for the AVDD step-up 209 * frequency for the step-up circuit: 219 * amplification for the step-up circuit: 230 * @avee: setting for AVEE ranging from 0x00 = -6.5V to 0x14 = -4.5V [all …]
|
/linux/arch/arm64/kvm/ |
H A D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015 - Linaro Ltd 12 #include <asm/debug-monitors.h> 36 * When single-step is enabled by userspace, we tweak PSTATE.SS on every 38 * for the vcpu after the single-step is disabled. 44 vcpu->arch.guest_debug_preserved.mdscr_el1 = val; in save_guest_debug_regs() 47 vcpu->arch.guest_debug_preserved.mdscr_el1); in save_guest_debug_regs() 49 vcpu->arch.guest_debug_preserved.pstate_ss = in save_guest_debug_regs() 55 u64 val = vcpu->arch.guest_debug_preserved.mdscr_el1; in restore_guest_debug_regs() 62 if (vcpu->arch.guest_debug_preserved.pstate_ss) in restore_guest_debug_regs() [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 16 There are two LED outputs available - FLED1 and FLED2. Each of them can 26 const: maxim,max77693-led 28 maxim,boost-mode: 30 In boost mode the device can produce up to 1.2A of total current on both 34 See LEDS_BOOST_* in include/dt-bindings/leds/common.h. 38 maxim,boost-mvout: [all …]
|
/linux/kernel/ |
H A D | cpu.c | 36 #include <linux/percpu-rwsem.h> 48 * struct cpuhp_cpu_state - Per cpu hotplug state storage 57 * @node: Remote CPU node; for multi-instance, do a 59 * @last: For multi-instance rollback, remember how far we got 63 * @done_up: Signal completion to the issuer of the task for cpu-up 64 * @done_down: Signal completion to the issuer of the task for cpu-down 96 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map); 98 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-down", &cpuhp_state_down_map); 118 * struct cpuhp_step - Hotplug state machine step 119 * @name: Name of the step [all …]
|
/linux/mm/ |
H A D | shrinker.c | 1 // SPDX-License-Identifier: GPL-2.0 29 unit = info->unit; in shrinker_unit_free() 30 nr = DIV_ROUND_UP(info->map_nr_max, SHRINKER_UNIT_BITS); in shrinker_unit_free() 45 int nr = DIV_ROUND_UP(new->map_nr_max, SHRINKER_UNIT_BITS); in shrinker_unit_alloc() 46 int start = old ? DIV_ROUND_UP(old->map_nr_max, SHRINKER_UNIT_BITS) : 0; in shrinker_unit_alloc() 53 return -ENOMEM; in shrinker_unit_alloc() 56 new->unit[i] = unit; in shrinker_unit_alloc() 69 pn = memcg->nodeinfo[nid]; in free_shrinker_info() 70 info = rcu_dereference_protected(pn->shrinker_info, true); in free_shrinker_info() 73 rcu_assign_pointer(pn->shrinker_info, NULL); in free_shrinker_info() [all …]
|
/linux/drivers/staging/sm750fb/ |
H A 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 …]
|