| /kernel/linux/linux-5.10/include/linux/mfd/arizona/ |
| D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/mfd/arizona.h> 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h> 36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */ 37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */ 38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */ 114 /** Use the headphone detect circuit to identify the accessory */ 135 /** Mic detect ramp rate */ 138 /** Mic detect sample rate */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/arizona/ |
| D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/mfd/arizona.h> 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h> 36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */ 37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */ 38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */ 114 /** Use the headphone detect circuit to identify the accessory */ 135 /** Mic detect ramp rate */ 138 /** Mic detect sample rate */ [all …]
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-renesas-irqc.c | 1 // SPDX-License-Identifier: GPL-2.0 26 /* SYS-CPU vs. RT-CPU */ 27 #define DETECT_STATUS 0x100 /* IRQn Detect Status Register */ 28 #define MONITOR 0x104 /* IRQn Signal Level Monitor Register */ 29 #define HLVL_STS 0x108 /* IRQn High Level Detect Status Register */ 30 #define LLVL_STS 0x10c /* IRQn Low Level Detect Status Register */ 31 #define S_R_EDGE_STS 0x110 /* IRQn Sync Rising Edge Detect Status Reg. */ 32 #define S_F_EDGE_STS 0x114 /* IRQn Sync Falling Edge Detect Status Reg. */ 33 #define A_R_EDGE_STS 0x118 /* IRQn Async Rising Edge Detect Status Reg. */ 34 #define A_F_EDGE_STS 0x11c /* IRQn Async Falling Edge Detect Status Reg. */ [all …]
|
| /kernel/linux/linux-6.6/drivers/irqchip/ |
| D | irq-renesas-irqc.c | 1 // SPDX-License-Identifier: GPL-2.0 26 /* SYS-CPU vs. RT-CPU */ 27 #define DETECT_STATUS 0x100 /* IRQn Detect Status Register */ 28 #define MONITOR 0x104 /* IRQn Signal Level Monitor Register */ 29 #define HLVL_STS 0x108 /* IRQn High Level Detect Status Register */ 30 #define LLVL_STS 0x10c /* IRQn Low Level Detect Status Register */ 31 #define S_R_EDGE_STS 0x110 /* IRQn Sync Rising Edge Detect Status Reg. */ 32 #define S_F_EDGE_STS 0x114 /* IRQn Sync Falling Edge Detect Status Reg. */ 33 #define A_R_EDGE_STS 0x118 /* IRQn Async Rising Edge Detect Status Reg. */ 34 #define A_F_EDGE_STS 0x11c /* IRQn Async Falling Edge Detect Status Reg. */ [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | adp5588.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright 2009-2010 Analog Devices Inc. 49 #define GPIO_INT_LVL1 0x26 /* GPIO Edge/Level Detect */ 50 #define GPIO_INT_LVL2 0x27 /* GPIO Edge/Level Detect */ 51 #define GPIO_INT_LVL3 0x28 /* GPIO Edge/Level Detect */ 60 #define CMP_CONFG_SENS2 0x32 /* L2 Light Sensor Reference Level, Output Falling for Sensor 1 */ 62 #define CMP1_LVL2_HYS 0x34 /* L3 Light Sensor Reference Level, Output Falling For Sensor 1 */ 65 #define CMP2_LVL2_TRIP 0x37 /* L2 Light Sensor Reference Level, Output Falling for Sensor 2 */ 67 #define CMP2_LVL3_TRIP 0x39 /* L3 Light Sensor Reference Level, Output Falling For Sensor 2 */ 134 #define ADP5588_GPIMAPSIZE_MAX (GPI_PIN_END - GPI_PIN_BASE + 1) [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-class-led | 9 just be turned on for non-zero brightness settings. 23 Documentation/leds/leds-class-multicolor.rst. 30 Writing non-zero to this file while trigger is active changes the 40 Maximum brightness level for this LED, default is 255 (LED_FULL). 49 Last hardware set brightness level for this LED. Some LEDs 51 where this happens and the driver can detect this, will have 54 This file supports poll() to detect when the hardware changes 57 Reading this file will return the last brightness level set 73 their documentation see `sysfs-class-led-trigger-*`.
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-class-led | 9 just be turned on for non-zero brightness settings. 23 Documentation/leds/leds-class-multicolor.rst. 30 Writing non-zero to this file while trigger is active changes the 40 Maximum brightness level for this LED, default is 255 (LED_FULL). 49 Last hardware set brightness level for this LED. Some LEDs 51 where this happens and the driver can detect this, will have 54 This file supports poll() to detect when the hardware changes 57 Reading this file will return the last brightness level set 73 their documentation see `sysfs-class-led-trigger-*`.
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-tangier.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <linux/pinctrl/pinconf-generic.h> 28 #include "gpio-tangier.h" 31 #define GPLR 0x004 /* Pin level r/o */ 35 #define GRER 0x064 /* Rising edge detect */ 36 #define GFER 0x07c /* Falling edge detect */ 41 #define GLPR 0x318 /* Level input polarity */ 44 * struct tng_gpio_context - Context to be saved during suspend-resume 45 * @level: Pin level 47 * @grer: Rising edge detect enable [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_privacy_screen_x86.c | 1 // SPDX-License-Identifier: MIT 17 bool (*detect)(void); member 21 static acpi_status __init acpi_set_handle(acpi_handle handle, u32 level, in acpi_set_handle() argument 39 /* Get embedded-controller handle */ in detect_thinkpad_privacy_screen() 44 /* And call the privacy-screen get-status method */ in detect_thinkpad_privacy_screen() 56 return acpi_dev_present("GOOG0010", NULL, -1); in detect_chromeos_privacy_screen() 66 .provider = "privacy_screen-thinkpad_acpi", 68 .detect = detect_thinkpad_privacy_screen, 76 .provider = "privacy_screen-GOOG0010:00", 78 .detect = detect_chromeos_privacy_screen, [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | Kconfig.kasan | 1 # SPDX-License-Identifier: GPL-2.0-only 13 def_bool $(cc-option, -fsanitize=kernel-address) 16 def_bool $(cc-option, -fsanitize=kernel-hwaddress) 28 Enables KASAN (KernelAddressSANitizer) - runtime memory debugger, 29 designed to find out-of-bounds accesses and use-after-free bugs. 30 See Documentation/dev-tools/kasan.rst for details. 40 software tag-based KASAN (a version based on software memory 44 Both generic and tag-based KASAN are strictly debugging features. 58 but detection of out-of-bounds accesses for global variables is 71 bool "Software tag-based mode" [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/ |
| D | qcom,pdc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/qcom,pdc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 14 Power Domain Controller (PDC) that is on always-on domain. In addition to 16 interrupt controller that can be used to help detect edge low interrupts as 17 well detect interrupts when the GIC is non-operational. 19 GIC is parent interrupt controller at the highest level. Platform interrupt 28 - enum: [all …]
|
| /kernel/linux/linux-5.10/drivers/char/ipmi/ |
| D | ipmi_si_sm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * State machine interface for low-level IPMI system management 8 * BT interface) and the actual low-level state machine. 61 * return -2 if the state machine is not idle, -1 if the size 70 * -1 if the buffer is too small, zero if no transaction is 78 * receiving an interrupt (for a interrupt-driven interface). 87 * Attempt to detect an SMI. Returns 0 on success or nonzero 90 int (*detect)(struct si_sm_data *smi); member
|
| /kernel/linux/linux-6.6/drivers/char/ipmi/ |
| D | ipmi_si_sm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * State machine interface for low-level IPMI system management 8 * BT interface) and the actual low-level state machine. 61 * return -2 if the state machine is not idle, -1 if the size 70 * -1 if the buffer is too small, zero if no transaction is 78 * receiving an interrupt (for a interrupt-driven interface). 87 * Attempt to detect an SMI. Returns 0 on success or nonzero 90 int (*detect)(struct si_sm_data *smi); member
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | cs42l42.txt | 5 - compatible : "cirrus,cs42l42" 7 - reg : the I2C address of the device for I2C. 9 - VP-supply, VCP-supply, VD_FILT-supply, VL-supply, VA-supply : 15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 18 - interrupts : IRQ line info CS42L42. 19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 22 - cirrus,ts-inv : Boolean property. For jacks that invert the tip sense 27 0 = (Default) Non-inverted 30 - cirrus,ts-dbnc-rise : Debounce the rising edge of TIP_SENSE_PLUG. With no 33 0 - 0ms, [all …]
|
| /kernel/linux/linux-5.10/drivers/md/ |
| D | md-autodetect.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/raid/detect.h> 33 int level; member 41 * Parse the command-line parameters given our kernel, but do not 43 * md_setup_drive after the low-level disk drivers have initialised. 49 * instead of just one. -- KTK 50 * 18May2000: Added support for persistent-superblock arrays: 51 * md=n,0,factor,fault,device-list uses RAID0 for device n 52 * md=n,-1,factor,fault,device-list uses LINEAR for device n 53 * md=n,device-list reads a RAID superblock from the devices [all …]
|
| /kernel/linux/linux-6.6/drivers/md/ |
| D | md-autodetect.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/raid/detect.h> 33 int level; member 41 * Parse the command-line parameters given our kernel, but do not 43 * md_setup_drive after the low-level disk drivers have initialised. 49 * instead of just one. -- KTK 50 * 18May2000: Added support for persistent-superblock arrays: 51 * md=n,0,factor,fault,device-list uses RAID0 for device n 52 * md=n,-1,factor,fault,device-list uses LINEAR for device n 53 * md=n,device-list reads a RAID superblock from the devices [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | cs42l42.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l42.c -- CS42L42 ALSA SoC audio driver 31 #include <sound/soc-dapm.h> 34 #include <dt-bindings/sound/cs42l42.h> 405 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true); 406 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true); 435 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv), 458 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs42l42_hpdrv_evt() 484 dev_err(component->dev, "Invalid event 0x%x\n", event); in cs42l42_hpdrv_evt() 506 enum snd_soc_bias_level level) in cs42l42_set_bias_level() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/accel/ivpu/ |
| D | vpu_boot_api.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright (C) 2020-2023 Intel Corporation 12 * fw_bin_header->api_version[VPU_BOOT_API_VER_ID] = (VPU_BOOT_API_VER_MAJOR << 16) | 39 /* ------------ FW API version information end ---------------------*/ 156 /* Clock frequencies: 0x20 - 0xFF */ 161 /* Memory regions: 0x100 - 0x1FF */ 181 /* IRQ re-direct numbers: 0x200 - 0x2FF */ 184 /* ARM -> VPU doorbell interrupt. ARM is notifying VPU of async command or compute job. */ 186 /* VPU -> ARM job done interrupt. VPU is notifying ARM of compute job completion. */ 188 /* VPU -> ARM IRQ line to use to request MMU update. */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | mdio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright 2006-2009 Solarflare Communications Inc. 25 #define MDIO_MMD_AN 7 /* Auto-Negotiation */ 41 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 58 /* Media-dependent registers. */ 59 #define MDIO_PMA_10GBT_SWAPPOL 130 /* 10GBASE-T pair swap & polarity */ 60 #define MDIO_PMA_10GBT_TXPWR 131 /* 10GBASE-T TX power control */ 61 #define MDIO_PMA_10GBT_SNR 133 /* 10GBASE-T SNR margin, lane A. 62 * Lanes B-D are numbered 134-136. */ 63 #define MDIO_PMA_10GBR_FSRT_CSR 147 /* 10GBASE-R fast retrain status and control */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/ |
| D | fsl,imx8mq-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Li Jun <jun.li@nxp.com> 15 - fsl,imx8mq-usb-phy 16 - fsl,imx8mp-usb-phy 21 "#phy-cells": 27 clock-names: 29 - const: phy [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/ |
| D | futex_requeue_pi_mismatched_ops.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * 3. The kernel must detect the mismatch and return -EINVAL. 15 * 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com> 29 #define TEST_NAME "futex-requeue-pi-mismatched-ops" 38 printf(" -c Use color\n"); in usage() 39 printf(" -h Display this help message\n"); in usage() 40 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage() 48 child_ret = -errno; in blocking_child() 60 while ((c = getopt(argc, argv, "chv:")) != -1) { in main() 79 ksft_print_msg("%s: Detect mismatched requeue_pi operations\n", in main() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/futex/functional/ |
| D | futex_requeue_pi_mismatched_ops.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * 3. The kernel must detect the mismatch and return -EINVAL. 15 * 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com> 29 #define TEST_NAME "futex-requeue-pi-mismatched-ops" 38 printf(" -c Use color\n"); in usage() 39 printf(" -h Display this help message\n"); in usage() 40 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage() 48 child_ret = -errno; in blocking_child() 60 while ((c = getopt(argc, argv, "chv:")) != -1) { in main() 79 ksft_print_msg("%s: Detect mismatched requeue_pi operations\n", in main() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| D | qcom,pdc.txt | 4 Power Domain Controller (PDC) that is on always-on domain. In addition to 6 interrupt controller that can be used to help detect edge low interrupts as 7 well detect interrupts when the GIC is non-operational. 9 GIC is parent interrupt controller at the highest level. Platform interrupt 17 - compatible: 20 Definition: Should contain "qcom,<soc>-pdc" and "qcom,pdc" 21 - "qcom,sc7180-pdc": For SC7180 22 - "qcom,sdm845-pdc": For SDM845 24 - reg: 26 Value type: <prop-encoded-array> [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_dp_aux_backlight.c | 72 # define INTEL_EDP_HDR_TCON_TONE_MAPPING_ENABLE BIT(2) /* Pre-TGL+ */ 79 #define INTEL_EDP_HDR_CONTENT_LUMINANCE 0x346 /* Pre-TGL+ */ 101 INTEL_DP_AUX_BACKLIGHT_AUTO = -1, 117 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_aux_supports_hdr_backlight() 118 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight() 119 struct drm_dp_aux *aux = &intel_dp->aux; in intel_dp_aux_supports_hdr_backlight() 120 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight() 133 drm_dbg_kms(&i915->drm, "[CONNECTOR:%d:%s] Detected %s HDR backlight interface version %d\n", in intel_dp_aux_supports_hdr_backlight() 134 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight() 142 * runtime detect used range for nits based control. For now in intel_dp_aux_supports_hdr_backlight() [all …]
|