/linux/drivers/gpu/ipu-v3/ ! |
H A D | ipu-pre.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <video/imx-ipu-v3.h> 16 #include "ipu-prv.h" 125 of_parse_phandle(dev->of_node, name, index); in ipu_pre_lookup_by_phandle() 126 struct ipu_pre *pre; in ipu_pre_lookup_by_phandle() local 129 list_for_each_entry(pre, &ipu_pre_list, list) { in ipu_pre_lookup_by_phandle() 130 if (pre_node == pre->dev->of_node) { in ipu_pre_lookup_by_phandle() 132 device_link_add(dev, pre->dev, in ipu_pre_lookup_by_phandle() 134 return pre; in ipu_pre_lookup_by_phandle() 142 int ipu_pre_get(struct ipu_pre *pre) in ipu_pre_get() argument [all …]
|
/linux/drivers/firmware/broadcom/ ! |
H A D | bcm47xx_sprom.c | 6 * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de> 58 if (fallback && err == -ENOENT && prefix) { in get_nvram_var() 151 strreplace(buf, '-', ':'); in nvram_read_macaddr() 174 /* This is one-function-only macro, it uses local "sprom" variable! */ 176 if (_revmask & BIT(sprom->revision)) \ 177 nvram_read_ ## _type(_prefix, NULL, _name, &sprom->_val, \ 191 const char *pre = prefix; in bcm47xx_sprom_fill_auto() local 195 ENTRY(0xfffffffe, u16, pre, "devid", dev_id, 0, fallback); in bcm47xx_sprom_fill_auto() 197 ENTRY(0xfffffffe, u16, pre, "boardrev", board_rev, 0, true); in bcm47xx_sprom_fill_auto() 198 ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb); in bcm47xx_sprom_fill_auto() [all …]
|
/linux/Documentation/netlink/specs/ ! |
H A D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 18 - 20 name: port-type 22 - [all …]
|
H A D | ovpn.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 # Copyright (c) 2024-2025, OpenVPN Inc. 7 --- 15 - 17 name: nonce-tail-size 19 - 21 name: cipher-alg 22 entries: [none, aes-gcm, chacha20-poly1305] 23 - 25 name: del-peer-reason [all …]
|
H A D | net_shaper.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: net-shaper 33 @cap-get operation. 36 - 40 render-max: true 42 - name: unspec 44 - 47 - 52 - [all …]
|
/linux/Documentation/livepatch/ ! |
H A D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
/linux/sound/pci/ctxfi/ ! |
H A D | ctimap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 struct list_head *pos, *pre, *head; in input_mapper_add() local 27 entry->next = entry->addr; in input_mapper_add() 29 list_add(&entry->list, head); in input_mapper_add() 35 if (pos_ent->slot > entry->slot) { in input_mapper_add() 42 pre = pos->prev; in input_mapper_add() 43 if (pre == head) in input_mapper_add() 44 pre = head->prev; in input_mapper_add() 46 __list_add(&entry->list, pos->prev, pos); in input_mapper_add() 48 pre = head->prev; in input_mapper_add() [all …]
|
/linux/tools/testing/selftests/livepatch/ ! |
H A D | test-callbacks.sh | 2 # SPDX-License-Identifier: GPL-2.0 19 # - On livepatch enable, before the livepatch transition starts, 20 # pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those 22 # according to the klp_patch, their post-patch callbacks run and the 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the 26 # unpatching transition starts. klp_objects are reverted, post-patch 43 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 47 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 52 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 56 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state [all …]
|
/linux/Documentation/devicetree/bindings/input/ ! |
H A D | ti,drv260x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments - drv260x Haptics driver family 10 - Andrew Davis <afd@ti.com> 15 - ti,drv2604 16 - ti,drv2605 17 - ti,drv2605l 22 vbat-supply: 30 (defined in include/dt-bindings/input/ti-drv260x.h) [all …]
|
/linux/arch/arm64/boot/dts/qcom/ ! |
H A D | pm7250b.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm7250b-thermal { 13 polling-delay-passive = <100>; 15 thermal-sensors = <&pm7250b_temp>; 42 compatible = "qcom,pm7250b", "qcom,spmi-pmic"; 44 #address-cells = <1>; [all …]
|
H A D | pm8950.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 12 #include <dt-bindings/spmi/spmi.h> 16 compatible = "qcom,pm8950", "qcom,spmi-pmic"; 18 #address-cells = <1>; 19 #size-cells = <0>; 22 compatible = "qcom,pm8916-pon"; [all …]
|
H A D | pm660.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/thermal/thermal.h> 13 thermal-zones { 14 pm660-thermal { 15 polling-delay-passive = <250>; 17 thermal-sensors = <&pm660_temp>; [all …]
|
H A D | pmi632.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pmi632-thermal { 13 polling-delay-passive = <100>; 15 thermal-sensors = <&pmi632_temp>; 42 compatible = "qcom,pmi632", "qcom,spmi-pmic"; 44 #address-cells = <1>; [all …]
|
H A D | sc8180x-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023, Linaro Limited 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 14 pmc8180-thermal { 15 polling-delay-passive = <100>; [all …]
|
H A D | pmi8950.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include <dt-bindings/spmi/spmi.h> 10 compatible = "qcom,pmi8950", "qcom,spmi-pmic"; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "qcom,spmi-vadc"; 19 #address-cells = <1>; 20 #size-cells = <0>; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ ! |
H A D | imx6qp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 compatible = "mmio-sram"; 13 #address-cells = <1>; 14 #size-cells = <1>; 19 compatible = "mmio-sram"; 22 #address-cells = <1>; 23 #size-cells = <1>; 28 pre1: pre@21c8000 { 29 compatible = "fsl,imx6qp-pre"; 33 clock-names = "axi"; [all …]
|
/linux/Documentation/devicetree/bindings/display/imx/ ! |
H A D | fsl,imx6qp-pre.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/imx/fsl,imx6qp-pre.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX PRE (Prefetch Resolve Engine) 10 - Frank Li <Frank.Li@nxp.com> 14 const: fsl,imx6qp-pre 25 clock-names: 27 - const: axi 31 phandle pointing to the mmio-sram device node, that should be [all …]
|
/linux/drivers/gpu/drm/i915/display/ ! |
H A D | intel_vga_regs.h | 1 /* SPDX-License-Identifier: MIT */ 15 #define VGA_2X_MODE REG_BIT(30) /* pre-ilk */ 16 #define VGA_PIPE_SEL_MASK REG_BIT(29) /* pre-ivb */ 22 #define VGA_CENTERING_ENABLE_MASK REG_GENMASK(25, 24) /* pre-ilk */ 23 #define VGA_PALETTE_READ_SEL REG_BIT(23) /* pre-ivb */ 24 #define VGA_PALETTE_A_WRITE_DISABLE REG_BIT(22) /* pre-ivb */ 25 #define VGA_PALETTE_B_WRITE_DISABLE REG_BIT(21) /* pre-ivb */
|
H A D | intel_pfit_regs.h | 1 /* SPDX-License-Identifier: MIT */ 23 #define PFIT_VERT_INTERP_MASK REG_GENMASK(11, 10) /* pre-965 */ 25 #define PFIT_VERT_AUTO_SCALE REG_BIT(9) /* pre-965 */ 26 #define PFIT_HORIZ_INTERP_MASK REG_GENMASK(7, 6) /* pre-965 */ 28 #define PFIT_HORIZ_AUTO_SCALE REG_BIT(5) /* pre-965 */ 29 #define PFIT_PANEL_8TO6_DITHER_ENABLE REG_BIT(3) /* pre-965 */ 32 #define PFIT_VERT_SCALE_MASK REG_GENMASK(31, 20) /* pre-965 */ 34 #define PFIT_HORIZ_SCALE_MASK REG_GENMASK(15, 4) /* pre-965 */
|
/linux/drivers/crypto/intel/qat/qat_common/ ! |
H A D | adf_mstate_mgr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 return mgr->state - mgr->buf; in adf_mstate_state_size() 25 return mgr->buf + mgr->size - mgr->state; in adf_mstate_avail_room() 30 mgr->buf = buf; in adf_mstate_mgr_init() 31 mgr->state = buf; in adf_mstate_mgr_init() 32 mgr->size = size; in adf_mstate_mgr_init() 33 mgr->n_sects = 0; in adf_mstate_mgr_init() 57 adf_mstate_mgr_init(mgr, p_mgr->state, in adf_mstate_mgr_init_from_parent() 58 p_mgr->size - adf_mstate_state_size(p_mgr)); in adf_mstate_mgr_init_from_parent() 64 adf_mstate_mgr_init(mgr, p_sect->state, p_sect->size); in adf_mstate_mgr_init_from_psect() [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ ! |
H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 25 precharge-current-microamp: 26 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
/linux/sound/core/ ! |
H A D | pcm_memory.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 card->total_pcm_alloc_bytes += bytes; in __update_allocated_size() 40 guard(mutex)(&card->memory_mutex); in update_allocated_size() 46 guard(mutex)(&card->memory_mutex); in decrease_allocated_size() 47 WARN_ON(card->total_pcm_alloc_bytes < bytes); in decrease_allocated_size() 48 __update_allocated_size(card, -(ssize_t)bytes); in decrease_allocated_size() 58 scoped_guard(mutex, &card->memory_mutex) { in do_alloc_pages() 60 card->total_pcm_alloc_bytes + size > max_alloc_per_card) in do_alloc_pages() 61 return -ENOMEM; in do_alloc_pages() 74 if (dmab->bytes != size) in do_alloc_pages() [all …]
|
/linux/tools/memory-model/ ! |
H A D | linux-kernel.cat | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * "Frightening small children and disconcerting grown-ups: Concurrency 14 "Linux-kernel memory consistency model" 28 let acq-po = [Acquire] ; po ; [M] 29 let po-rel = [M] ; po ; [Release] 30 let po-unlock-lock-po = po ; [UL] ; (po|rf) ; [LKR] ; po 38 * full-barrier RMWs (successful cmpxchg(), xchg(), etc.) act as 47 ([M] ; fencerel(Before-atomic) ; [RMW] ; po? ; [M]) | 48 ([M] ; po? ; [RMW] ; fencerel(After-atomic) ; [M]) | 49 ([M] ; po? ; [LKW] ; fencerel(After-spinlock) ; [M]) | [all …]
|
/linux/Documentation/devicetree/bindings/phy/ ! |
H A D | qcom,usb-snps-femto-v2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Synopsys Femto High-Speed USB PHY V2 10 - Wesley Cheng <quic_wcheng@quicinc.com> 13 Qualcomm High-Speed USB PHY 18 - items: 19 - enum: 20 - qcom,sa8775p-usb-hs-phy [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ ! |
H A D | mmio_context.c | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 176 struct intel_gvt *gvt = engine->i915->gvt; in load_render_mocs() 177 struct intel_uncore *uncore = engine->uncore; in load_render_mocs() 178 u32 cnt = gvt->engine_mmio_list.mocs_mmio_offset_list_cnt; in load_render_mocs() 179 u32 *regs = gvt->engine_mmio_list.mocs_mmio_offset_list; in load_render_mocs() 188 if (!HAS_ENGINE(engine->gt, ring_id)) in load_render_mocs() 215 struct intel_gvt *gvt = vgpu->gvt; in restore_context_mmio_for_inhibit() 216 int ring_id = req->engine->id; in restore_context_mmio_for_inhibit() 217 int count = gvt->engine_mmio_list.ctx_mmio_count[ring_id]; in restore_context_mmio_for_inhibit() 222 ret = req->engine->emit_flush(req, EMIT_BARRIER); in restore_context_mmio_for_inhibit() [all …]
|