/linux/drivers/net/wireless/intel/iwlwifi/mld/ |
H A D | mld.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2024-2025 Intel Corporation 11 #include "iwl-trans.h" 12 #include "iwl-op-mode.h" 14 #include "fw/notif-wait.h" 17 #include "fw/api/mac-cfg.h" 19 #include "fw/api/phy-ctxt.h" 37 #include "ftm-initiator.h" 44 * the WiFi-7 features. MLD stands for multi-link device. Note that there are 45 * devices that do not support WiFi-7 or even WiFi 6E and yet use iwlmld, but [all …]
|
H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2024-2025 Intel Corporation 8 #include "iwl-io.h" 16 #include "iwl-utils.h" 25 #include "fw/dhc-utils.h" 40 return !mld->fw_status.running || mld->fw_status.in_d3; in iwl_mld_dbgfs_fw_cmd_disabled() 42 return !mld->fw_status.running; in iwl_mld_dbgfs_fw_cmd_disabled() 55 iwl_fw_dbg_clear_monitor_buf(&mld->fwrt); in iwl_dbgfs_fw_dbg_clear_write() 64 return -EIO; in iwl_dbgfs_fw_nmi_write() 69 mld->fw_status.do_not_dump_once = true; in iwl_dbgfs_fw_nmi_write() [all …]
|
/linux/sound/pci/ice1712/ |
H A D | juli.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 * supplied by external clock provided by Xilinx array and MK73-1 PLL frequency 42 * ice1724+ak4114-based cards, detects spdif input rate correctly. 46 * Juli uses the remaining three stereo-channels of its DAC to optionally 47 * monitor analog input, digital input, and digital output. The corresponding 53 * The card itself has no HW master volume control, implemented using the 120 * Initial setup of the conversion array GPIO <-> rate 163 * If SPDIF capture and slaved to SPDIF-IN, setting runtime rate 169 struct juli_spec *spec = ice->spec; in juli_spdif_in_open() 170 struct snd_pcm_runtime *runtime = substream->runtime; in juli_spdif_in_open() [all …]
|
H A D | quartet.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 65 /* GPIO0 - O - DATA0, def. 0 */ 67 /* GPIO1 - I/O - DATA1, Jack Detect Input0 (0:present, 1:missing), def. 1 */ 69 /* GPIO2 - I/O - DATA2, Jack Detect Input1 (0:present, 1:missing), def. 1 */ 71 /* GPIO3 - I/O - DATA3, def. 1 */ 73 /* GPIO4 - I/O - DATA4, SPI CDTO, def. 1 */ 75 /* GPIO5 - I/O - DATA5, SPI CCLK, def. 1 */ 77 /* GPIO6 - I/O - DATA6, Cable Detect Input (0:detected, 1:not detected */ 79 /* GPIO7 - I/O - DATA7, Device Detect Input (0:detected, 1:not detected */ 81 /* GPIO8 - O - CPLD Chip Select, def. 1 */ [all …]
|
/linux/tools/power/cpupower/ |
H A D | TODO | 3 - Use bitmask functions to parse CPU topology more robust 5 - Try to read out boost states and frequencies on Intel 6 - Somewhere saw the ability to read power consumption of 7 RAM from HW on Intel SandyBridge -> another monitor? 8 - Add another c1e debug idle monitor 9 -> Is by design racy with BIOS, but could be added 10 with a --force option and some "be careful" messages 11 - Add cpu_start()/cpu_stop() callbacks for monitor 12 -> This is to move the per_cpu logic from inside the 13 monitor to outside it. This can be given higher [all …]
|
/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include "idle_monitor/cpupower-monitor.h" 57 if ((end.tv_nsec - start.tv_nsec) < 0) { in timespec_diff_us() 58 temp.tv_sec = end.tv_sec - start.tv_sec - 1; in timespec_diff_us() 59 temp.tv_nsec = 1000000000 + end.tv_nsec - start.tv_nsec; in timespec_diff_us() 61 temp.tv_sec = end.tv_sec - start.tv_sec; in timespec_diff_us() 62 temp.tv_nsec = end.tv_nsec - start.tv_nsec; in timespec_diff_us() 83 return -1; in fill_string_with_spaces() 107 fill_string_with_spaces(buf, topology_depth * 5 - 1); in print_header() 111 need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1) in print_header() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_main.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 38 mutex_lock(&priv->htc_pm_lock); in ath9k_htc_setpower() 39 ret = ath9k_hw_setpower(priv->ah, mode); in ath9k_htc_setpower() 40 mutex_unlock(&priv->htc_pm_lock); in ath9k_htc_setpower() 47 mutex_lock(&priv->htc_pm_lock); in ath9k_htc_ps_wakeup() 48 if (++priv->ps_usecount != 1) in ath9k_htc_ps_wakeup() 50 ath9k_hw_setpower(priv->ah, ATH9K_PM_AWAKE); in ath9k_htc_ps_wakeup() 53 mutex_unlock(&priv->htc_pm_lock); in ath9k_htc_ps_wakeup() 60 mutex_lock(&priv->htc_pm_lock); in ath9k_htc_ps_restore() 61 if (--priv->ps_usecount != 0) in ath9k_htc_ps_restore() [all …]
|
/linux/net/bridge/ |
H A D | br_mrp_switchdev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 err = switchdev_port_obj_add(br->dev, obj, NULL); in br_mrp_switchdev_port_obj() 16 err = switchdev_port_obj_del(br->dev, obj); in br_mrp_switchdev_port_obj() 24 if (err != -EOPNOTSUPP) in br_mrp_switchdev_port_obj() 34 .obj.orig_dev = br->dev, in br_mrp_switchdev_add() 36 .p_port = rtnl_dereference(mrp->p_port)->dev, in br_mrp_switchdev_add() 37 .s_port = rtnl_dereference(mrp->s_port)->dev, in br_mrp_switchdev_add() 38 .ring_id = mrp->ring_id, in br_mrp_switchdev_add() 39 .prio = mrp->prio, in br_mrp_switchdev_add() 45 return switchdev_port_obj_add(br->dev, &mrp_obj.obj, NULL); in br_mrp_switchdev_add() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | main.c | 1 // SPDX-License-Identifier: ISC 17 int nss = hweight8(phy->mt76->chainmask); in mt7921_init_he_caps() 30 &he_cap->he_cap_elem; in mt7921_init_he_caps() 32 &he_cap->he_mcs_nss_supp; in mt7921_init_he_caps() 43 he_cap->has_he = true; in mt7921_init_he_caps() 45 he_cap_elem->mac_cap_info[0] = in mt7921_init_he_caps() 47 he_cap_elem->mac_cap_info[3] = in mt7921_init_he_caps() 50 he_cap_elem->mac_cap_info[4] = in mt7921_init_he_caps() 54 he_cap_elem->phy_cap_info[0] = in mt7921_init_he_caps() 57 he_cap_elem->phy_cap_info[0] = in mt7921_init_he_caps() [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
H A D | mISDNipac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #define ReadISAC(is, o) (is->read_reg(is->dch.hw, o + is->off)) 28 #define WriteISAC(is, o, v) (is->write_reg(is->dch.hw, o + is->off, v)) 29 #define ReadHSCX(h, o) (h->ip->read_reg(h->ip->hw, h->off + o)) 30 #define WriteHSCX(h, o, v) (h->ip->write_reg(h->ip->hw, h->off + o, v)) 31 #define ReadIPAC(ip, o) (ip->read_reg(ip->hw, o)) 32 #define WriteIPAC(ip, o, v) (ip->write_reg(ip->hw, o, v)) 37 pr_debug("%s: ph_command %x\n", isac->name, command); in ph_command() 38 if (isac->type & IPAC_TYPE_ISACX) in ph_command() 47 switch (isac->state) { in isac_ph_state_change() [all …]
|
/linux/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 13 #define pr_fmt(fmt) "hw-breakpoint: " fmt 151 /* We don't support the memory-mapped interface. */ in debug_arch_supported() 216 return core_has_mismatch_brps() ? brps - 1 : brps; in get_num_brps() 221 * we must be running in debug monitor mode. Unfortunately, we can 237 /* If monitor mode is already enabled, just return. */ in enable_monitor_mode() 257 return -ENODEV; in enable_monitor_mode() 263 pr_warn_once("Failed to enable monitor mode on CPU %d.\n", in enable_monitor_mode() 265 return -EPERM; in enable_monitor_mode() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-config.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2021 Intel Corporation 4 * Copyright (C) 2016-2017 Intel Deutschland GmbH 5 * Copyright (C) 2018-2025 Intel Corporation 15 #include "iwl-csr.h" 16 #include "iwl-drv.h" 61 * enum iwl_nvm_type - nvm formats 107 MODULE_FIRMWARE(pfx "-" __stringify(api) ".ucode"); \ 118 * struct iwl_fw_mon_reg - FW monitor register info 128 * struct iwl_fw_mon_regs - FW monitor registers [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 27 #include "wmi-tlv.h" 28 #include "wmi-ops.h" 102 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \ 137 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx() 138 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | txq.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2019-2021, 2023-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 17 * monitor mode. Note this queue is the same as the queue for P2P device 18 * but we can't have active monitor mode along with P2P device anyway. 22 * @IWL_MVM_DQA_MIN_MGMT_QUEUE: first TXQ in pool for MGMT and non-QOS frames. 80 * enum iwl_tx_queue_cfg_actions - TXQ config options 95 * struct iwl_tx_queue_cfg_cmd - txq hw scheduler config command 99 * @cb_size: size of TFD cyclic buffer. Value is exponent - 3. [all …]
|
/linux/Documentation/gpu/ |
H A D | komeda-kms.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 ----- 30 ------ 39 ------------------- 42 the monitor or fed into wb_layer and written to memory at the same time. 47 -------------------------- 52 ----------------------------- 54 requirements of the monitor. 57 -------------------------------- 62 ------ [all …]
|
/linux/Documentation/devicetree/bindings/devfreq/ |
H A D | nvidia,tegra30-actmon.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/devfreq/nvidia,tegra30-actmon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra30 Activity Monitor 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 15 The activity monitor block collects statistics about the behaviour of other 23 - nvidia,tegra30-actmon [all …]
|
/linux/Documentation/devicetree/bindings/arc/ |
H A D | pct.txt | 3 The ARC700 can be configured with a pipeline performance monitor for counting 8 * The ARC 700 PCT does not support interrupts; although HW events may be 9 counted, the HW events themselves cannot serve as a trigger for a sample. 13 - compatible : should contain 14 "snps,arc700-pct" 19 compatible = "snps,arc700-pct";
|
/linux/drivers/mfd/ |
H A D | ti-lmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/mfd/ti-lmu.h> 17 #include <linux/mfd/ti-lmu-register.h> 30 if (lmu->en_gpio) in ti_lmu_enable_hw() 31 gpiod_set_value(lmu->en_gpio, 1); in ti_lmu_enable_hw() 33 /* Delay about 1ms after HW enable pin control */ in ti_lmu_enable_hw() 36 /* LM3631 has additional power up sequence - enable LCD_EN bit. */ in ti_lmu_enable_hw() 38 return regmap_update_bits(lmu->regmap, LM3631_REG_DEVCTRL, in ti_lmu_enable_hw() 49 if (lmu->en_gpio) in ti_lmu_disable_hw() 50 gpiod_set_value(lmu->en_gpio, 0); in ti_lmu_disable_hw() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | main.c | 1 // SPDX-License-Identifier: ISC 19 struct ieee80211_sta_he_cap *he_cap = &data->he_cap; in mt7925_init_he_caps() 20 struct ieee80211_he_cap_elem *he_cap_elem = &he_cap->he_cap_elem; in mt7925_init_he_caps() 21 struct ieee80211_he_mcs_nss_supp *he_mcs = &he_cap->he_mcs_nss_supp; in mt7925_init_he_caps() 22 int i, nss = hweight8(phy->mt76->antenna_mask); in mt7925_init_he_caps() 32 he_cap->has_he = true; in mt7925_init_he_caps() 34 he_cap_elem->mac_cap_info[0] = IEEE80211_HE_MAC_CAP0_HTC_HE; in mt7925_init_he_caps() 35 he_cap_elem->mac_cap_info[3] = IEEE80211_HE_MAC_CAP3_OMI_CONTROL | in mt7925_init_he_caps() 37 he_cap_elem->mac_cap_info[4] = IEEE80211_HE_MAC_CAP4_AMSDU_IN_AMPDU; in mt7925_init_he_caps() 40 he_cap_elem->phy_cap_info[0] = in mt7925_init_he_caps() [all …]
|
/linux/drivers/perf/ |
H A D | fsl_imx9_ddr_perf.c | 1 // SPDX-License-Identifier: GPL-2.0 13 /* Performance monitor configuration */ 42 * 32bit counters monitor counter-specific events in addition to counting reference events 74 * respecitively to counter 2-5. 114 return pmu->devtype_data->filter_ver == DDR_PERF_AXI_FILTER_V1; in axi_filter_v1() 119 return pmu->devtype_data->filter_ver == DDR_PERF_AXI_FILTER_V2; in axi_filter_v2() 123 { .compatible = "fsl,imx91-ddr-pmu", .data = &imx91_devtype_data }, 124 { .compatible = "fsl,imx93-ddr-pmu", .data = &imx93_devtype_data }, 125 { .compatible = "fsl,imx95-ddr-pmu", .data = &imx95_devtype_data }, 136 return sysfs_emit(page, "%s\n", pmu->devtype_data->identifier); in ddr_perf_identifier_show() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 19 #include "hw.h" 164 /* new addition in IEEE Std 802.11ax-2021 */ 244 #define ath11k_a_rates_size (ARRAY_SIZE(ath11k_legacy_rates) - 4) 405 return -EINVAL; in ath11k_mac_hw_ratecode_to_legacy_rate() 426 for (i = 0; i < sband->n_bitrates; i++) in ath11k_mac_bitrate_to_idx() 427 if (sband->bitrates[i].bitrate == bitrate) in ath11k_mac_bitrate_to_idx() 438 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | maya44.rst | 8 keep here as reference -- tiwai 22 … programming information, so I (Rainer Zimmermann) had to find out some card-specific information … 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch 34 - analogue monitor a.k.a bypass 39 - Channel 3+4 analogue - S/PDIF input switching [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon_boards.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2007-2012 Solarflare Communications Inc. 91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87() 97 /* Read-to-clear alarm/interrupt status */ in ef4_init_lm87() 108 board->hwmon_client = client; in ef4_init_lm87() 118 i2c_unregister_device(falcon_board(efx)->hwmon_client); in ef4_fini_lm87() 123 struct i2c_client *client = falcon_board(efx)->hwmon_client; in ef4_check_lm87() 128 /* If link is up then do not monitor temperature */ in ef4_check_lm87() 129 if (EF4_WORKAROUND_7884(efx) && efx->link_state.up) in ef4_check_lm87() 161 netif_err(efx, hw, efx->net_dev, in ef4_check_lm87() [all …]
|
/linux/drivers/vdpa/solidrun/ |
H A D | snet_hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2022-2023 SolidRun 7 * Author: Alvaro Karsz <alvaro.karsz@solid-run.com> 14 /* Monitor offsets */ 30 *out = psnet_read64(psnet, psnet->cfg.hwmon_off + reg); in snet_hwmon_read_reg() 59 ret = -EOPNOTSUPP; in snet_howmon_read() 71 ret = -EOPNOTSUPP; in snet_howmon_read() 88 ret = -EOPNOTSUPP; in snet_howmon_read() 105 ret = -EOPNOTSUPP; in snet_howmon_read() 115 ret = -EOPNOTSUPP; in snet_howmon_read() [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-tpda.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 13 TPDA - The trace performance monitoring and diagnostics aggregator or 17 and timestamping of Monitor data. 21 --------------------------- 25 --------------------------- 30 /sys/bus/coresight/devices # ls -l | grep tpd 31 tpda0 -> ../../../devices/platform/soc@0/6004000.tpda/tpda0 32 tpdm0 -> ../../../devices/platform/soc@0/6c08000.mm.tpdm/tpdm0 49 other trace event hw components in the same HW block with tpdm, tpdm [all …]
|