/linux-6.14.4/Documentation/devicetree/bindings/net/wireless/ |
D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Felix Fietkau <[email protected]> 12 - Lorenzo Bianconi <[email protected]> 13 - Ryder Lee <[email protected]> 25 - mediatek,mt76 26 - mediatek,mt7628-wmac 27 - mediatek,mt7622-wmac [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 1 // SPDX-License-Identifier: ISC 9 #include <linux/nvmem-consumer.h> 15 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data() 19 data = of_get_property(np, "mediatek,eeprom-data", &size); in mt76_get_of_eeprom_data() 21 return -ENOENT; in mt76_get_of_eeprom_data() 24 return -EINVAL; in mt76_get_of_eeprom_data() 34 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_mtd() 43 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_data_from_mtd() 45 return -ENOENT; in mt76_get_of_data_from_mtd() 49 return -ENOENT; in mt76_get_of_data_from_mtd() [all …]
|
D | mt76_connac_mac.c | 1 // SPDX-License-Identifier: ISC 20 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh() 28 for (i = 0; i < ppet_size - 1; i++) in mt76_connac_gen_ppe_thresh() 32 (0xff >> (8 - (ppet_bits - 1) % 8)); in mt76_connac_gen_ppe_thresh() 38 struct mt76_dev *dev = phy->dev; in mt76_connac_pm_wake() 43 cancel_delayed_work_sync(&pm->ps_work); in mt76_connac_pm_wake() 44 if (!test_bit(MT76_STATE_PM, &phy->state)) in mt76_connac_pm_wake() 47 if (pm->suspended) in mt76_connac_pm_wake() 50 queue_work(dev->wq, &pm->wake_work); in mt76_connac_pm_wake() 51 if (!wait_event_timeout(pm->wait, in mt76_connac_pm_wake() [all …]
|
D | mac80211.c | 1 // SPDX-License-Identifier: ISC 82 /* UNII-5 */ 107 /* UNII-6 */ 114 /* UNII-7 */ 132 /* UNII-8 */ 198 struct mt76_dev *dev = phy->dev; in mt76_led_init() 199 struct ieee80211_hw *hw = phy->hw; in mt76_led_init() 200 struct device_node *np = dev->dev->of_node; in mt76_led_init() 202 if (!phy->leds.cdev.brightness_set && !phy->leds.cdev.blink_set) in mt76_led_init() 209 dev_info(dev->dev, in mt76_led_init() [all …]
|
D | mt76.h | 1 /* SPDX-License-Identifier: ISC */ 91 #define mt76_is_usb(dev) ((dev)->bus->type == MT76_BUS_USB) 92 #define mt76_is_mmio(dev) ((dev)->bus->type == MT76_BUS_MMIO) 93 #define mt76_is_sdio(dev) ((dev)->bus->type == MT76_BUS_SDIO) 704 u8 ru:4; member 973 /* per-phy stats. */ 1072 s8 ru[7][12]; member 1103 #define __mt76_rr(dev, ...) (dev)->bus->rr((dev), __VA_ARGS__) 1104 #define __mt76_wr(dev, ...) (dev)->bus->wr((dev), __VA_ARGS__) 1105 #define __mt76_rmw(dev, ...) (dev)->bus->rmw((dev), __VA_ARGS__) [all …]
|
/linux-6.14.4/drivers/net/wireless/virtual/ |
D | mac80211_hwsim.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211 6 * Copyright (C) 2020, 2022-2024 Intel Corporation 13 * enum hwsim_tx_control_flags - flags to describe transmission info/status 51 * enum hwsim_commands - supported hwsim commands 106 #define HWSIM_CMD_MAX (_HWSIM_CMD_MAX - 1) 112 * enum hwsim_attrs - hwsim netlink attributes 145 * @HWSIM_ATTR_PAD: padding attribute for 64-bit values, ignore 148 * rates of %HWSIM_ATTR_TX_INFO 198 #define HWSIM_ATTR_MAX (__HWSIM_ATTR_MAX - 1) [all …]
|
D | mac80211_hwsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211 6 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH 7 * Copyright (C) 2018 - 2024 Intel Corporation 12 * - Add TSF sync and fix IBSS beacon transmission by adding 14 * - RX filtering based on filter configuration (data->rx_filter) 66 MODULE_PARM_DESC(support_p2p_device, "Support P2P-Device interface type"); 77 * enum hwsim_regtest - the type of regulatory tests we offer 92 * this by using a custom beacon-capable regulatory domain for the first 110 * non-strict settings using the second driver regulatory request. All [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/iio/accel/ |
D | memsensing,msa311.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MEMSensing digital 3-Axis accelerometer 10 - Dmitry Rokosov <ddrokosov@sberdevices.ru> 13 MSA311 is a tri-axial, low-g accelerometer with I2C digital output for 15 scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements 16 with output data rates from 1Hz to 1000Hz. 18 https://cdn-shop.adafruit.com/product-files/5309/MSA311-V1.1-ENG.pdf 30 vdd-supply: true [all …]
|
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | mac.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation 11 * AUX indices follows - 1 for non-CDB, 2 for CDB. 31 * enum iwl_mac_protection_flags - MAC context flags 50 * enum iwl_mac_types - Supported MAC types 54 * @FW_MAC_TYPE_PIBSS: Pseudo-IBSS 78 * enum iwl_tsf_id - TSF hw timer ID 94 * struct iwl_mac_data_ap - configuration data for AP MAC context 117 * struct iwl_mac_data_ibss - configuration data for IBSS MAC context 133 * enum iwl_mac_data_policy - policy of the data path for this MAC [all …]
|
D | rs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation 12 * enum iwl_tlc_mng_cfg_flags - options for TLC config flags 36 * enum iwl_tlc_mng_cfg_cw - channel width options 52 * enum iwl_tlc_mng_cfg_chains - possible chains 62 * enum iwl_tlc_mng_cfg_mode - supported modes 82 * enum iwl_tlc_mng_ht_rates - HT/VHT/HE rates 120 * enum IWL_TLC_MCS_PER_BW - mcs index per BW 121 * @IWL_TLC_MCS_PER_BW_80: mcs for bw - 20Hhz, 40Hhz, 80Hhz 122 * @IWL_TLC_MCS_PER_BW_160: mcs for bw - 160Mhz [all …]
|
D | mac-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2019, 2021-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 13 * enum iwl_mac_conf_subcmd_ids - mac configuration command IDs 100 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification 123 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter 140 * struct iwl_missed_vap_notif - notification of missing vap detection 155 * struct iwl_channel_switch_start_notif_v1 - Channel switch start notification 164 * struct iwl_channel_switch_start_notif - Channel switch start notification [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | cs4341.c | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * Author: Alexander Shiyan <shc_work@mail.ru> 48 struct snd_soc_component *component = dai->component; in cs4341_set_fmt() 55 return -EINVAL; in cs4341_set_fmt() 62 return -EINVAL; in cs4341_set_fmt() 69 cs4341->fmt = format & SND_SOC_DAIFMT_FORMAT_MASK; in cs4341_set_fmt() 72 return -EINVAL; in cs4341_set_fmt() 82 struct snd_soc_component *component = dai->component; in cs4341_hw_params() 94 dev_err(component->dev, "Unsupported PCM format 0x%08x.\n", in cs4341_hw_params() 96 return -EINVAL; in cs4341_hw_params() [all …]
|
D | cs4271.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010 Alexander Sverdlin <subaparts@yandex.ru> 9 * The data format accepted is I2S or left-justified. 130 * Default CS4271 power-up configuration 131 * Array contains non-existing in hw register at address 0 159 /* Current sample rate for de-emphasis control */ 173 SND_SOC_DAPM_OUTPUT("AOUTA-"), 175 SND_SOC_DAPM_OUTPUT("AOUTB-"), 183 { "AOUTA-", NULL, "Playback" }, 185 { "AOUTB-", NULL, "Playback" }, [all …]
|
D | ak4641.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ak4641.c -- AK4641 ALSA Soc Audio driver 6 * Copyright (C) 2011 Dmitry Artamonow <mad_soft@inbox.ru> 77 if (ak4641->deemph && deemph_settings[i] != 0 && in ak4641_set_deemph() 78 abs(deemph_settings[i] - ak4641->playback_fs) < in ak4641_set_deemph() 79 abs(deemph_settings[best] - ak4641->playback_fs)) in ak4641_set_deemph() 82 if (!ak4641->deemph && deemph_settings[i] == 0) in ak4641_set_deemph() 86 dev_dbg(component->dev, "Set deemphasis %d\n", best); in ak4641_set_deemph() 96 int deemph = ucontrol->value.integer.value[0]; in ak4641_put_deemph() 99 return -EINVAL; in ak4641_put_deemph() [all …]
|
D | alc5632.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * alc5632.c -- ALC5632 ALSA SoC Audio Codec 8 * Andrey Danin <danindrey@mail.ru> 36 { 2, 0x8080 }, /* R2 - Speaker Output Volume */ 37 { 4, 0x8080 }, /* R4 - Headphone Output Volume */ 38 { 6, 0x8080 }, /* R6 - AUXOUT Volume */ 39 { 8, 0xC800 }, /* R8 - Phone Input */ 40 { 10, 0xE808 }, /* R10 - LINE_IN Volume */ 41 { 12, 0x1010 }, /* R12 - STEREO DAC Input Volume */ 42 { 14, 0x0808 }, /* R14 - MIC Input Volume */ [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <[email protected]> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2024 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interface basis and registrations 137 * software, like the AP-VLAN type in mac80211 for example, there's [all …]
|
/linux-6.14.4/drivers/media/pci/tw686x/ |
D | tw686x-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 VanguardiaSur - www.vanguardiasur.com.ar 6 * Copyright 2015 www.starterkit.ru <info@starterkit.ru> 10 * (c) 2011-12 liran <[email protected]> [Intersil|Techwell China] 27 #include "tw686x-regs.h" 38 struct tw686x_audio_channel *ac = &dev->audio_channels[ch]; in tw686x_audio_irq() 45 spin_lock_irqsave(&ac->lock, flags); in tw686x_audio_irq() 48 if (!ac->ss || !ac->curr_bufs[0] || !ac->curr_bufs[1]) { in tw686x_audio_irq() 49 spin_unlock_irqrestore(&ac->lock, flags); in tw686x_audio_irq() 53 if (!list_empty(&ac->buf_list)) { in tw686x_audio_irq() [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath12k/ |
D | mac.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 101 /* Operating Classes 131-135 */ 242 #define ath12k_a_rates_size (ARRAY_SIZE(ath12k_legacy_rates) - 4) 271 return "11na-ht20"; in ath12k_mac_phymode_str() 273 return "11ng-ht20"; in ath12k_mac_phymode_str() 275 return "11na-ht40"; in ath12k_mac_phymode_str() 277 return "11ng-ht40"; in ath12k_mac_phymode_str() 279 return "11ac-vht20"; in ath12k_mac_phymode_str() [all …]
|
/linux-6.14.4/net/sched/ |
D | sch_tbf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Authors: Alexey Kuznetsov, <[email protected].ru> 6 * Dmitry Torokhov <dtor@mail.ru> - allow attaching inner qdiscs - 27 ------- 32 ------------ 36 does not exceed B + R*(t_f-t_i). 42 s_i+....+s_k <= B + R*(t_k - t_i) 45 ---------- 55 N(t_* + 0) = N(t_* - 0) - S/R. 69 lat = max ((L-B)/R, (L-M)/P) [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath11k/ |
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-2024 Qualcomm Innovation Center, Inc. All rights reserved. 164 /* new addition in IEEE Std 802.11ax-2021 */ 244 #define ath11k_a_rates_size (ARRAY_SIZE(ath11k_legacy_rates) - 4) 386 /* As default, it is OFDM rates */ in ath11k_mac_hw_ratecode_to_legacy_rate() 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-6.14.4/include/net/ |
D | mac80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211 <-> driver interface 5 * Copyright 2002-2005, Devicescape Software, Inc. 6 * Copyright 2006-2007 Jiri Benc <[email protected]> 7 * Copyright 2007-2010 Johannes Berg <[email protected]> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH 10 * Copyright (C) 2018 - 2024 Intel Corporation 31 * only partial functionality in hard- or firmware. This document 32 * defines the interface between mac80211 and low-level hardware [all …]
|
D | cfg80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright 2006-2010 Johannes Berg <[email protected]> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright 2015-2017 Intel Deutschland GmbH 10 * Copyright (C) 2018-2024 Intel Corporation 72 * enum ieee80211_channel_flags - channel flags 167 * struct ieee80211_channel - channel definition 174 * @hw_value: hardware-specific value for the channel 212 * enum ieee80211_rate_flags - rate flags 214 * Hardware/specification flags for rates. These are structured [all …]
|
/linux-6.14.4/drivers/iio/accel/ |
D | msa311.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MEMSensing digital 3-Axis accelerometer 5 * MSA311 is a tri-axial, low-g accelerometer with I2C digital output for 6 * sensitivity consumer applications. It has dynamic user-selectable full 7 * scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements 8 * with output data rates from 1Hz to 1000Hz. 11 * and is guaranteed to operate over -40C to +85C. 14 * - IIO interface 15 * - Different power modes: NORMAL, SUSPEND 16 * - ODR (Output Data Rate) selection [all …]
|
/linux-6.14.4/net/wireless/ |
D | util.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2007-2009 Johannes Berg <[email protected]> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018-2023 Intel Corporation 24 #include "rdev-ops.h" 31 struct ieee80211_rate *result = &sband->bitrates[0]; in ieee80211_get_response_rate() 34 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_get_response_rate() 37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate() 39 result = &sband->bitrates[i]; in ieee80211_get_response_rate() 56 if (sband->band == NL80211_BAND_2GHZ) in ieee80211_mandatory_rates() [all …]
|
/linux-6.14.4/net/mac80211/ |
D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <[email protected]> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2015-2017 Intel Deutschland GmbH 9 * Copyright (C) 2018-2025 Intel Corporation 30 #include "driver-ops.h" 45 return &local->hw; in wiphy_to_ieee80211_hw() 57 __le16 fc = hdr->frame_control; in ieee80211_get_bssid() [all …]
|