| /linux/Documentation/devicetree/bindings/net/wireless/ |
| H A 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 <nbd@nbd.name> 12 - Lorenzo Bianconi <lorenzo@kernel.org> 13 - Ryder Lee <ryder.lee@mediatek.com> 25 - mediatek,mt76 26 - mediatek,mt7628-wmac 27 - mediatek,mt7622-wmac [all …]
|
| /linux/Documentation/devicetree/bindings/iio/accel/ |
| H A 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/include/uapi/linux/ |
| H A D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2025 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-VLA [all...] |
| /linux/drivers/net/wireless/virtual/ |
| H A 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 - 2025 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/drivers/media/pci/tw686x/ |
| H A 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 <jli11@intersil.com> [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/drivers/net/wireless/mediatek/mt76/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | mt76.h | 1 /* SPDX-License-Identifier: ISC */ 100 #define mt76_is_usb(dev) ((dev)->bus->type == MT76_BUS_USB) 101 #define mt76_is_mmio(dev) ((dev)->bus->type == MT76_BUS_MMIO) 102 #define mt76_is_sdio(dev) ((dev)->bus->type == MT76_BUS_SDIO) 740 u8 ru:4; member 1015 /* per-phy stats. */ 1114 s8 ru[7][12]; member 1145 #define __mt76_rr(dev, ...) (dev)->bus->rr((dev), __VA_ARGS__) 1146 #define __mt76_wr(dev, ...) (dev)->bus->wr((dev), __VA_ARGS__) 1147 #define __mt76_rmw(dev, ...) (dev)->bus->rmw((dev), __VA_ARGS__) [all …]
|
| /linux/sound/soc/codecs/ |
| H A 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 …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | link.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2024-2025 Intel Corporation 25 lockdep_assert_wiphy(mld->wiphy); in iwl_mld_send_link_cmd() 27 cmd->action = cpu_to_le32(action); in iwl_mld_send_link_cmd() 40 struct ieee80211_vif *vif = link_conf->vif; in iwl_mld_add_link_to_fw() 45 lockdep_assert_wiphy(mld->wiphy); in iwl_mld_add_link_to_fw() 48 return -EINVAL; in iwl_mld_add_link_to_fw() 50 cmd.link_id = cpu_to_le32(link->fw_id); in iwl_mld_add_link_to_fw() 51 cmd.mac_id = cpu_to_le32(mld_vif->fw_id); in iwl_mld_add_link_to_fw() 52 cmd.spec_link_id = link_conf->link_id; in iwl_mld_add_link_to_fw() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 103 /* Operating Classes 131-135 */ 245 #define ath12k_a_rates_size (ARRAY_SIZE(ath12k_legacy_rates) - 4) 274 return "11na-ht20"; in ath12k_mac_phymode_str() 276 return "11ng-ht20"; in ath12k_mac_phymode_str() 278 return "11na-ht40"; in ath12k_mac_phymode_str() 280 return "11ng-ht40"; in ath12k_mac_phymode_str() 282 return "11ac-vht20"; in ath12k_mac_phymode_str() 284 return "11ac-vht40"; in ath12k_mac_phymode_str() [all …]
|
| H A D | debugfs_htt_stats.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. 23 ATH12K_HTT_STATS_BUF_SIZE - offset, in print_array_to_buf_index() 28 (ATH12K_HTT_STATS_BUF_SIZE - offset) - index, in print_array_to_buf_index() 32 index--; in print_array_to_buf_index() 37 (ATH12K_HTT_STATS_BUF_SIZE - offset) - index, in print_array_to_buf_index() 60 index += scnprintf(buf + offset, buf_len - offset, "%s = ", header); in print_array_to_buf_s8() 63 index += scnprintf(buf + offset + index, (buf_len - offset) - index, in print_array_to_buf_s8() 67 index--; in print_array_to_buf_s8() [all …]
|
| /linux/net/sched/ |
| H A D | sch_tbf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.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 …]
|
| H A D | sch_api.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 43 ---- [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. 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() 450 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss() [all …]
|
| /linux/include/net/ |
| H A 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 <jbenc@suse.cz> 7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 201 1260 struct ieee80211_tx_rate rates[ global() member 1286 struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; global() member 1361 struct ieee80211_rate_status *rates; global() member 1671 u8 ru:4; global() member 2529 struct ieee80211_sta_rates __rcu *rates; global() member [all...] |
| H A D | cfg80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright 2015-2017 Intel Deutschland GmbH 10 * Copyright (C) 2018-2025 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/net/wireless/ |
| H A D | util.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2007-2009 Johannes Berg <johannes@sipsolutions.net> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018-2023, 2025 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->bitrate in ieee80211_get_response_rate() 2592 ieee80211_get_ratemask(struct ieee80211_supported_band * sband,const u8 * rates,unsigned int n_rates,u32 * mask) ieee80211_get_ratemask() argument [all...] |
| /linux/net/mac80211/ |
| H A 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 <jbenc@suse.cz> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2015-2017 Intel Deutschland GmbH 9 * Copyright (C) 2018-202 3242 u8 i, rates, skip; ieee80211_put_srates_elem() local [all...] |
| H A D | sta_info.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright 2002-2005, Devicescape Software, Inc. 4 * Copyright 2013-2014 Intel Mobile Communications GmbH 5 * Copyright(c) 2015-2017 Intel Deutschland GmbH 6 * Copyright(c) 2020-2024 Intel Corporation 24 * enum ieee80211_sta_info_flags - Stations flags 31 * @WLAN_STA_PS_STA: Station is in power-save mode 35 * @WLAN_STA_SHORT_PREAMBLE: Station is capable of receiving short-preamble 45 * power-save mode logically to flush frames that might still 47 * @WLAN_STA_PSPOLL: Station sent PS-poll while driver was keeping [all …]
|
| /linux/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | rtl8xxxu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014 - 2017 Jes Sorensen <Jes.Sorensen@gmail.com> 123 RX_TYPE_ERROR = -1 430 /* CCK Rates, TxHT = 0 */ 436 /* OFDM Rates, TxHT = 0 */ 446 /* MCS Rates, TxHT = 1 */ 486 * Bits 0-7 differ dependent on chip generation. For 8723au bits 5/6 are 487 * aggregation enable and break respectively. For 8723bu, bits 0-7 are macid. 911 88C1: MP A-cut; 912 92C1: MP A-cut */ [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | cpm_uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * (C) 2005-2006 MontaVista Software, Inc. 15 * Vitaly Bordug <vbordug@ru.mvista.com> 28 #include <linux/dma-mapping.h> 59 cpm_command(port->command, cmd); in cpm_line_cr_cmd() 69 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty() 73 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty() 76 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty() 83 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty() 93 if (pinfo->gpios[GPIO_RTS]) in cpm_uart_set_mctrl() [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe module for 8250/16550-type PCI serial ports. 98 /* Unknown vendors/cards - this should not be in linux/pci_ids.h */ 104 * > 0 - number of ports 105 * = 0 - use board->num_ports 106 * < 0 - error 156 "Please send the output of lspci -vv, this\n" in moan_device() 159 "modem board to <linux-serial@vger.kernel.org>.\n", in moan_device() 160 str, dev->vendor, dev->device, in moan_device() 161 dev->subsystem_vendor, dev->subsystem_device); in moan_device() [all …]
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | alc269.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 .rates = SNDRV_PCM_RATE_44100, /* fixed rate */ 18 .rates = SNDRV_PCM_RATE_44100, /* fixed rate */ 21 /* different alc269-variants */ 55 struct alc_spec *spec = codec->spec; in alc269_parse_auto_config() 58 switch (spec->codec_variant) { in alc269_parse_auto_config() 106 if (jack->unsol_res & (7 << 13)) in alc_headset_btn_callback() 109 if (jack->unsol_res & (1 << 16 | 3 << 8)) in alc_headset_btn_callback() 113 if (jack->unsol_res & (7 << 23)) in alc_headset_btn_callback() 117 if (jack->unsol_res & (7 << 10)) in alc_headset_btn_callback() [all …]
|