/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) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 18 - 20 name: port-type 22 - 24 - [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 | pmp8074.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 3 #include <dt-bindings/spmi/spmi.h> 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 compatible = "qcom,pmp8074", "qcom,spmi-pmic"; 10 #address-cells = <1>; 11 #size-cells = <0>; 14 compatible = "qcom,spmi-adc-rev2"; 17 #address-cells = <1>; 18 #size-cells = <0>; 19 #io-channel-cells = <1>; [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 | pms405.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/spmi/spmi.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/thermal/thermal.h> 12 thermal-zones { 13 pms405-thermal { 14 polling-delay-passive = <250>; 16 thermal-sensors = <&pms405_temp>; 19 pms405_alert0: pms405-alert0 { [all …]
|
H A D | pm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 #include <dt-bindings/iio/qcom,spmi-vadc.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm6125-thermal { 12 polling-delay-passive = <100>; 14 thermal-sensors = <&pm6125_temp>; [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/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/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/Documentation/gpu/amdgpu/display/ |
H A D | display-manager.rst | 8 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 11 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h 17 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 20 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 26 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 29 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 32 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 38 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 41 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 47 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c [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/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: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [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-p [all...] |
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | moortec,mr75203.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rtanwar@maxlinear.com> 19 *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137). 20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138). 21 *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139). 22 *) Delay Chain - ring oscillator connected to the PD, used to measure IO 25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then 26 be presented for VM for measurement within its range (e.g. mr76006 - [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. 34 to 31 pre-defined programme types. 52 programme-related information or any other text. In these cases, 103 receiver-generated distortion and prevent overmodulation. 107 useconds. Step and range are driver-specific. 111 are driver-specific. 121 range and step are driver-specific. [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_aux_regs.h | 1 /* SPDX-License-Identifier: MIT */ 22 (aux_ch >= AUX_CH_USBC1 ? aux_ch : AUX_CH_USBC4 + 1 + (aux_ch) - AUX_CH_A) 33 #define PCH_DP_AUX_CH_CTL(aux_ch) _MMIO_PORT((aux_ch) - AUX_CH_B, _PCH_DPB_AUX_CH_CTL, _PCH_DPC_AUX… 58 #define DP_AUX_CH_CTL_PRECHARGE_2US_MASK REG_GENMASK(19, 16) /* pre-skl */ 63 #define DP_AUX_CH_CTL_MANCHESTER_TEST REG_BIT(14) /* pre-hsw */ 65 #define DP_AUX_CH_CTL_SYNC_TEST REG_BIT(13) /* pre-hsw */ 67 #define DP_AUX_CH_CTL_DEGLITCH_TEST REG_BIT(12) /* pre-hsw */ 69 #define DP_AUX_CH_CTL_PRECHARGE_TEST REG_BIT(11) /* pre-hsw */ 71 #define DP_AUX_CH_CTL_BIT_CLOCK_2X_MASK REG_GENMASK(10, 0) /* pre-skl */ 74 … DP_AUX_CH_CTL_FW_SYNC_PULSE_SKL(c) REG_FIELD_PREP(DP_AUX_CH_CTL_FW_SYNC_PULSE_SKL_MASK, (c) - 1) [all …]
|