| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 24 #include "da7219-aad.h" 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 38 /* Send an initial empty report */ in da7219_aad_jack_det() 41 /* Enable/Disable jack detection */ in da7219_aad_jack_det() 56 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() 84 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() 86 da7219->micbias_on_event = true; in da7219_aad_btn_det_work() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 24 #include "da7219-aad.h" 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 38 /* Send an initial empty report */ in da7219_aad_jack_det() 41 /* Enable/Disable jack detection */ in da7219_aad_jack_det() 55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() 83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() 85 da7219->micbias_on_event = true; in da7219_aad_btn_det_work() [all …]
|
| D | wcd-mbhc-v2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. 14 #include "wcd-mbhc-v2.h" 53 /* Delayed work to report long button press */ 72 /* Holds type of Headset - Mono/Stereo */ 74 /* Holds mbhc detection method - ADC/Legacy */ 81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field() 84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field() 85 mbhc->fields[field].reg, in wcd_mbhc_write_field() 86 mbhc->fields[field].mask, val); in wcd_mbhc_write_field() [all …]
|
| D | arizona-jack.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices 5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc 26 #include <dt-bindings/mfd/arizona.h> 33 * The hardware supports 8 ranges / buttons, but the snd-jack interface 34 * only supports 6 buttons (button 0-5). 100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() 101 unsigned int mask = 0, val = 0; in arizona_extcon_hp_clamp() local 105 switch (arizona->type) { in arizona_extcon_hp_clamp() 108 mask = 0; in arizona_extcon_hp_clamp() [all …]
|
| /kernel/linux/linux-6.6/kernel/kcsan/ |
| D | kcsan.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * see Documentation/dev-tools/kcsan.rst. 24 * Globally enable and disable KCSAN. 36 * slow-paths. 99 * Value-change states. 103 * Did not observe a value-change, however, it is valid to report the 109 * Did not observe a value-change, and it is invalid to report the race. 121 * to be consumed by the reporting thread. No report is printed yet. 128 * consumed: print the full report based on information set by the racing 133 int watchpoint_idx, u64 old, u64 new, u64 mask); [all …]
|
| D | report.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * Max. number of stack entries to show in the report. 40 * up the watchpoint, which then prints the complete report atomically. 69 * as we have watchpoints (upper bound on concurrent races to report). 71 static struct other_info other_infos[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1]; 95 * Therefore, we use a fixed-size array, which at most will occupy a page. This 108 * Spinlock serializing report generation, and access to @other_infos. Although 109 * it could make sense to have a finer-grained locking story for @other_infos, 110 * report generation needs to be serialized either way, so not much is gained. 116 * been reported since (now - KCSAN_REPORT_ONCE_IN_MS). [all …]
|
| /kernel/linux/linux-5.10/drivers/extcon/ |
| D | extcon-arizona.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices 5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc 21 #include <linux/extcon-provider.h> 28 #include <dt-bindings/mfd/arizona.h> 143 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() 144 unsigned int mask = 0, val = 0; in arizona_extcon_hp_clamp() local 148 switch (arizona->type) { in arizona_extcon_hp_clamp() 151 mask = 0; in arizona_extcon_hp_clamp() 155 mask = ARIZONA_HP1L_SHRTO | ARIZONA_HP1L_FLWR | in arizona_extcon_hp_clamp() [all …]
|
| /kernel/linux/linux-5.10/include/linux/regulator/ |
| D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 53 * struct regulator_ops - regulator operations. 56 * @disable: Configure the regulator as disabled. 66 * return -ENOTRECOVERABLE if regulator can't be read at 69 * regulator; return -ENOTRECOVERABLE if regulator can't 76 * @set_current_limit: Configure a limit for a current-limited regulator. 78 * @get_current_limit: Get the configured limit for a current-limited regulator. 84 * @set_active_discharge: Set active discharge enable/disable of regulators. 89 * @get_status: Return actual (not as-configured) status of regulator, as a [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/rmi4/ |
| D | rmi_2d_sensor.txt | 12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf 16 - touchscreen-inverted-x 17 - touchscreen-inverted-y 18 - touchscreen-swapped-x-y 19 - touchscreen-x-mm 20 - touchscreen-y-mm 23 - syna,clip-x-low: Sets a minimum value for X. 24 - syna,clip-y-low: Sets a minimum value for Y. 25 - syna,clip-x-high: Sets a maximum value for X. 26 - syna,clip-y-high: Sets a maximum value for Y. [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/laptops/ |
| D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/laptops/ |
| D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/ |
| D | vboxvideo.h | 1 /* SPDX-License-Identifier: MIT */ 2 /* Copyright (C) 2006-2016 Oracle Corporation */ 18 * Last 4096 bytes - Adapter information area. 20 * Slack - what left after dividing the VRAM. 41 * to disable the mode. 74 * len_and_flags & ~VBVA_F_RECORD_PARTIAL >= VBVA_RING_BUFFER_SIZE - 80 #define VBVA_RING_BUFFER_SIZE (4194304 - 1024) 146 /* guest->host commands */ 165 /* G->H DMA command */ 170 * Report the guest virtual desktop position and size for mapping host and [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/vboxvideo/ |
| D | vboxvideo.h | 1 /* SPDX-License-Identifier: MIT */ 2 /* Copyright (C) 2006-2016 Oracle Corporation */ 18 * Last 4096 bytes - Adapter information area. 20 * Slack - what left after dividing the VRAM. 41 * to disable the mode. 74 * len_and_flags & ~VBVA_F_RECORD_PARTIAL >= VBVA_RING_BUFFER_SIZE - 80 #define VBVA_RING_BUFFER_SIZE (4194304 - 1024) 146 /* guest->host commands */ 165 /* G->H DMA command */ 170 * Report the guest virtual desktop position and size for mapping host and [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | pmu.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 21 #define PMU_ADB_POLL_OFF 0x21 /* disable ADB auto-poll */ 23 #define PMU_WRITE_NVRAM 0x33 /* write non-volatile RAM */ 25 #define PMU_READ_NVRAM 0x3b /* read non-volatile RAM */ 26 #define PMU_SET_RTC 0x30 /* set real-time clock */ 27 #define PMU_READ_RTC 0x38 /* read real-time clock */ 31 #define PMU_PCEJECT 0x4c /* eject PC-card from slot */ 32 #define PMU_BATTERY_STATE 0x6b /* report battery state etc. */ 33 #define PMU_SMART_BATTERY_STATE 0x6f /* report battery state (new way) */ 34 #define PMU_SET_INTR_MASK 0x70 /* set PMU interrupt mask */ [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | pmu.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 21 #define PMU_ADB_POLL_OFF 0x21 /* disable ADB auto-poll */ 23 #define PMU_WRITE_NVRAM 0x33 /* write non-volatile RAM */ 25 #define PMU_READ_NVRAM 0x3b /* read non-volatile RAM */ 26 #define PMU_SET_RTC 0x30 /* set real-time clock */ 27 #define PMU_READ_RTC 0x38 /* read real-time clock */ 31 #define PMU_PCEJECT 0x4c /* eject PC-card from slot */ 32 #define PMU_BATTERY_STATE 0x6b /* report battery state etc. */ 33 #define PMU_SMART_BATTERY_STATE 0x6f /* report battery state (new way) */ 34 #define PMU_SET_INTR_MASK 0x70 /* set PMU interrupt mask */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/regulator/ |
| D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 62 * struct regulator_ops - regulator operations. 65 * @disable: Configure the regulator as disabled. 75 * return -ENOTRECOVERABLE if regulator can't be read at 78 * regulator; return -ENOTRECOVERABLE if regulator can't 85 * @set_current_limit: Configure a limit for a current-limited regulator. 87 * @get_current_limit: Get the configured limit for a current-limited regulator. 94 * - REGULATOR_SEVERITY_PROT should automatically shut down the regulator(s). 96 * - REGULATOR_SEVERITY_ERR should indicate that over-current situation is [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | rt5190a-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h> 40 #define RT5190A_BUCK23_STEPNUM ((1400000 - 600000) / 10000 + 1) 83 unsigned int mask = RT5190A_RID_BITMASK(rid), val; in rt5190a_fixed_buck_set_mode() local 87 val = mask; in rt5190a_fixed_buck_set_mode() 93 return -EINVAL; in rt5190a_fixed_buck_set_mode() 96 return regmap_update_bits(regmap, RT5190A_REG_DCDCCNTL, mask, val); in rt5190a_fixed_buck_set_mode() 108 dev_err(&rdev->dev, "Failed to get mode [%d]\n", ret); in rt5190a_fixed_buck_get_mode() 120 .disable = regulator_disable_regmap, 131 .disable = regulator_disable_regmap, [all …]
|
| /kernel/linux/linux-6.6/tools/perf/Documentation/ |
| D | perf-record.txt | 1 perf-record(1) 5 ---- 6 perf-record - Run a command and record its profile into perf.data 9 -------- 11 'perf record' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf record' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>] 15 ----------- 17 from it, into perf.data - without displaying anything. 19 This file can then be inspected later on, using 'perf report'. 23 ------- [all …]
|
| /kernel/linux/linux-6.6/arch/x86/coco/tdx/ |
| D | tdx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021-2022 Intel Corporation */ 15 #include <asm/insn-eval.h> 78 /* Read TD-scoped metadata */ 92 /* Write TD-scoped metadata */ 93 static inline u64 tdg_vm_wr(u64 field, u64 value, u64 mask) in tdg_vm_wr() argument 98 .r9 = mask, in tdg_vm_wr() 105 * tdx_mcall_get_report0() - Wrapper to get TDREPORT0 (a.k.a. TDREPORT 106 * subtype 0) using TDG.MR.REPORT TDCALL. 107 * @reportdata: Address of the input buffer which contains user-defined [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
| D | wow.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2022 Realtek Corporation 22 struct ieee80211_vif *wow_vif = rtwdev->wow.wow_vif; in rtw89_wow_enter_deep_ps() 23 struct rtw89_vif *rtwvif = (struct rtw89_vif *)wow_vif->drv_priv; in rtw89_wow_enter_deep_ps() 30 struct ieee80211_vif *wow_vif = rtwdev->wow.wow_vif; in rtw89_wow_enter_lps() 31 struct rtw89_vif *rtwvif = (struct rtw89_vif *)wow_vif->drv_priv; in rtw89_wow_enter_lps() 43 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_wow_config_mac() 53 rtw89_write32_clr(rtwdev, mac->rx_fltr, B_AX_SNIFFER_MODE); in rtw89_wow_config_mac() 87 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_wow_show_wakeup_reason() 90 .pattern_idx = -1, in rtw89_wow_show_wakeup_reason() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 * enum ethtool_phys_id_state - indicator state for physical identification 58 ETH_RSS_HASH_TOP_BIT, /* Configurable RSS hash function - Toeplitz */ 59 ETH_RSS_HASH_XOR_BIT, /* Configurable RSS hash function - Xor */ 60 ETH_RSS_HASH_CRC32_BIT, /* Configurable RSS hash function - Crc32 */ 87 * struct ethtool_link_ext_state_info - link extended state and substate. 102 * ethtool_rxfh_indir_default - get default value for RX flow hash indirection 130 * ethtool_link_ksettings_zero_link_mode - clear link_ksettings link mode mask 135 bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS) 138 * ethtool_link_ksettings_add_link_mode - set bit in link_ksettings [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | i915_perf.c | 2 * Copyright © 2015-2016 Intel Corporation 44 * without special privileges. Access to system-wide metrics requires root 58 * might sample sets of tightly-coupled counters, depending on the 70 * interleaved with event-type specific members. 76 * would be acceptable to expose them to unprivileged applications - to hide 96 * side-band OA data captured via MI_REPORT_PERF_COUNT commands; we're 102 * For posterity, in case we might re-visit trying to adapt core perf to be 106 * - The perf based OA PMU driver broke some significant design assumptions: 110 * implications, the need to fake cpu-related data (such as user/kernel 112 * as a way to forward device-specific status records. [all …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | pata_hpt37x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> 12 * Portions Copyright (C) 2005-2010 MontaVista Software, Inc. 203 * hpt37x_find_mode - reset the hpt37x bus 213 struct hpt_clock *clocks = ap->host->private_data; in hpt37x_find_mode() 215 while (clocks->xfer_speed) { in hpt37x_find_mode() 216 if (clocks->xfer_speed == speed) in hpt37x_find_mode() 217 return clocks->timing; in hpt37x_find_mode() 230 ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num)); in hpt_dma_blacklisted() 232 i = match_string(list, -1, model_num); in hpt_dma_blacklisted() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/aurora/ |
| D | nb8800.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 #include <linux/dma-mapping.h> 37 return readb_relaxed(priv->base + reg); in nb8800_readb() 42 return readl_relaxed(priv->base + reg); in nb8800_readl() 47 writeb_relaxed(val, priv->base + reg); in nb8800_writeb() 52 writew_relaxed(val, priv->base + reg); in nb8800_writew() 57 writel_relaxed(val, priv->base + reg); in nb8800_writel() 61 u32 mask, u32 val) in nb8800_maskb() argument 64 u32 new = (old & ~mask) | (val & mask); in nb8800_maskb() 71 u32 mask, u32 val) in nb8800_maskl() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/s390/cio/ |
| D | io_sch.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 dev_get_drvdata(&(n)->dev)) 30 #define set_io_private(n, p) (dev_set_drvdata(&(n)->dev, p)) 35 return priv ? priv->cdev : NULL; in sch_get_cdev() 43 priv->cdev = cdev; in sch_set_cdev() 61 * ccw_request - Internal CCW request. 65 * @lpm: mask of paths to use 69 * @data: user-defined pointer passed to all callbacks 71 * @cancel: non-zero if request was cancelled 72 * @done: non-zero if request was finished [all …]
|