| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 79 * Acquire il->lock before calling this function ! 83 * il4965_tx_queue_set_status - (optionally) start Tx/Cmd queue 84 * @tx_fifo_id: Tx DMA/FIFO channel (range 0-7) that the queue will feed 87 * NOTE: Acquire il->lock before calling this function ! 181 * The first queue used for block-ack aggregation is #7 (4965 only). 182 * All block-ack aggregation queues should map to Tx DMA/FIFO channel 7. 194 #define IL49_RTC_INST_SIZE (IL49_RTC_INST_UPPER_BOUND - \ [all …]
|
| H A D | 4965.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 15 #include <linux/dma-mapping.h> 29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host, 44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse() 50 ret = -EIO; in il4965_verify_inst_sparse() 61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host, 77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full() 78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full() [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 79 #define BRCMF_OBSS_COEX_AUTO (-1) 88 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 98 /* Wakeup after receipt of EAP-Identity Req: */ 255 * struct tdls_iovar - common structure for tdls iovars. 331 __le16 RSSI; /* receive signal strength (in dBm) */ 332 s8 phy_noise; /* noise (in dBm) */ 375 __le32 nprobes; /* -1 use default, number of probes per channel */ 376 __le32 active_time; /* -1 use default, dwell time per channel for 379 __le32 passive_time; /* -1 use default, dwell time per channel [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2018-2019, 2021, 2024-2025 Intel Corporation 9 #include "iwl-drv.h" 10 #include "iwl-debug.h" 11 #include "iwl-io.h" 12 #include "iwl-prph.h" 13 #include "iwl-csr.h" 77 #define EEPROM_RF_CFG_TYPE_MSK(x) (x & 0x3) /* bits 0-1 */ 78 #define EEPROM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ 79 #define EEPROM_RF_CFG_DASH_MSK(x) ((x >> 4) & 0x3) /* bits 4-5 */ [all …]
|
| H A D | lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2014, 2022 Intel Corporation. All rights reserved. 12 #include "iwl-io.h" 13 #include "iwl-agn-hw.h" 14 #include "iwl-trans.h" 15 #include "iwl-modparams.h" 31 if (WARN_ONCE(test_bit(STATUS_SCAN_HW, &priv->status), in iwlagn_send_tx_power() 33 return -EAGAIN; in iwlagn_send_tx_power() 35 /* half dBm need to multiply */ in iwlagn_send_tx_power() 36 tx_power_cmd.global_lmt = (s8)(2 * priv->tx_power_user_lmt); in iwlagn_send_tx_power() [all …]
|
| H A D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2023-2025 Intel Corporation 7 * Please use iwl-xxxx-hw.h for hardware-related definitions. 29 /* Multi-Station support */ 93 /* RF-KILL commands and notifications */ 138 * - 4 standard TX queues 139 * - the command queue 140 * - 4 PAN TX queues 141 * - the PAN multicast queue, and 142 * - the AUX (TX during scan dwell) queue. [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | eeprom.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 22 #define AR5K_EEPROM_PCIE_OFFSET 0x02 /* Contains offset to PCI-E infos */ 26 #define AR5K_EEPROM_MAGIC_VALUE 0x5aa5 /* Default - found on EEPROM */ 39 #define AR5K_EEPROM_SIZE_LOWER 0x1b /* size info -- lower */ 40 #define AR5K_EEPROM_SIZE_UPPER 0x1c /* size info -- upper */ 47 #define AR5K_EEPROM_INFO_MAX (0x400 - AR5K_EEPROM_INFO_BASE) 129 #define AR5K_EEPROM_FCC_MID_EN (((_v) >> 6) & 0x1) /* 5.47-5.7GHz supported */ 130 #define AR5K_EEPROM_JAP_U1EVEN_EN (((_v) >> 7) & 0x1) /* Japan UNII1 band (5.15-5.25GHz) on even ch… 131 #define AR5K_EEPROM_JAP_U2_EN (((_v) >> 8) & 0x1) /* Japan UNII2 band (5.25-5.35GHz) supported */ [all …]
|
| H A D | reg.h | 2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com> 28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf 30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf 33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal 42 * AR5210-Specific TXDP registers 46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */ 47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */ 70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */ [all …]
|
| H A D | ath5k.h | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com> 62 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */ 63 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV8 0x0058 /* AR5312 WMAC (AP43-030) */ 70 #define PCI_DEVICE_ID_ATHEROS_AR2413 0x001a /* AR2413 (Griffin-lite) */ 72 #define PCI_DEVICE_ID_ATHEROS_AR5424 0x001c /* AR5424 (Condor PCI-E) */ 189 #define AR5K_TUNE_NOISE_FLOOR -72 190 #define AR5K_TUNE_CCA_MAX_GOOD_VALUE -95 274 * enum ath5k_version - MAC Chips 286 * enum ath5k_radio - PHY Chips [all …]
|
| H A D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 42 * Here we handle the low-level functions related to baseband 48 * - Channel setting/switching 50 * - Automatic Gain Control (AGC) calibration 52 * - Noise Floor calibration 54 * - I/Q imbalance calibration (QAM correction) 56 * - Calibration due to thermal changes (gain_F) [all …]
|
| /linux/drivers/dma/stm32/ |
| H A D | stm32-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Inspired by dma-jz4740.c and tegra20-apb-dma.c 9 * Pierre-Yves Mordret <pierre-yves.mordret@st.com> 16 #include <linux/dma-mapping.h> 31 #include "../virt-dma.h" 40 #define STM32_DMA_HTI BIT(4) /* Half Transfer Interrupt */ 49 * If (chan->id % 4) is 2 or 3, left shift the mask by 16 bits; 158 * struct stm32_dma_cfg - STM32 DMA custom configuration 197 * struct stm32_dma_mdma_config - STM32 DMA MDMA configuration 237 return container_of(chan->vchan.chan.device, struct stm32_dma_device, in stm32_dma_get_dev() [all …]
|
| /linux/Documentation/arch/arm/stm32/ |
| H A D | stm32-dma-mdma-chaining.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 STM32 DMA-MDMA chaining 9 ------------ 11 This document describes the STM32 DMA-MDMA chaining feature. But before going 44 ---------- 46 STM32 DMA-MDMA chaining feature relies on the strengths of STM32 DMA and 49 STM32 DMA has a circular Double Buffer Mode (DBM). At each end of transaction 50 (when DMA data counter - DMA_SxNDTR - reaches 0), the memory pointers 56 With STM32 MDMA linked-list mode, a single request initiates the data array 57 (collection of nodes) to be transferred until the linked-list pointer for the [all …]
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | b43legacy.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 59 /* 32-bit DMA */ 66 /* 64-bit DMA */ 119 #define B43legacy_SHM_AUTOINC_R 0x0200 /* Read Auto-increment */ 120 #define B43legacy_SHM_AUTOINC_W 0x0100 /* Write Auto-increment */ 153 #define B43legacy_SHM_SH_SPUWKUP 0x0094 /* pre-wakeup for synth PU in us */ 154 #define B43legacy_SHM_SH_PRETBTT 0x0096 /* pre-TBTT in us */ 163 #define B43legacy_HF_SYMW 0x00000002 /* G-PHY SYM workaround */ 164 #define B43legacy_HF_GDCW 0x00000020 /* G-PHY DV cancel filter */ 227 #define B43legacy_TMSHIGH_GPHY 0x00010000 /* G-PHY avail (rev >= 5) */ [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-stm32.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2017, STMicroelectronics - All Rights Reserved 12 #include <linux/dma-mapping.h> 202 #define STM32_SPI_HOST_MODE(stm32_spi) (!(stm32_spi)->device_mode) 203 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode) 210 * struct stm32_spi_reg - stm32 SPI register & bitfield desc 222 * struct stm32_spi_regspec - stm32 registers definition, compatible dependent data 254 * struct stm32_spi_cfg - stm32 compatible configuration data 311 * struct stm32_spi - private data of the SPI controller 323 * @cur_midi: host inter-data idleness in ns [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | mci.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 31 if (list_empty(&mci->info)) in ath_mci_find_profile() 34 list_for_each_entry(entry, &mci->info, list) { in ath_mci_find_profile() 35 if (entry->conn_handle == info->conn_handle) in ath_mci_find_profile() 48 if ((mci->num_sco == ATH_MCI_MAX_SCO_PROFILE) && in ath_mci_add_profile() 49 (info->type == MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 52 if (((NUM_PROF(mci) - mci->num_sco) == ATH_MCI_MAX_ACL_PROFILE) && in ath_mci_add_profile() 53 (info->type != MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 62 list_add_tail(&entry->list, &mci->info); in ath_mci_add_profile() [all …]
|
| /linux/drivers/bcma/ |
| H A D | sprom.c | 5 * Copyright 2011, 2012, Hauke Mehrtens <hauke@hauke-m.de> 16 #include <linux/dma-mapping.h> 22 * bcma_arch_register_fallback_sprom - Registers a method providing a 33 * This function is useful for weird architectures that have a half-assed 43 return -EEXIST; in bcma_arch_register_fallback_sprom() 55 err = -ENOENT; in bcma_fill_sprom_with_fallback() 64 bus->sprom.revision); in bcma_fill_sprom_with_fallback() 80 sprom[i] = bcma_read16(bus->drv_cc.core, offset + (i * 2)); in bcma_sprom_read() 132 for (word = 0; word < words - 1; word++) { in bcma_sprom_crc() 136 crc = bcma_crc8(crc, sprom[words - 1] & 0x00FF); in bcma_sprom_crc() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | scan.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 13 * enum iwl_scan_subcmd_ids - scan commands 33 * struct iwl_ssid_ie - directed scan network information element 78 * struct iwl_scan_offload_blocklist - SCAN_OFFLOAD_BLACKLIST_S 81 * @client_bitmap: clients ignore this entry - enum scan_framework_client 112 * struct iwl_scan_offload_profile - SCAN_OFFLOAD_PROFILE_S 114 * @unicast_cipher: encryption algorithm to match - bitmap [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | stv0367.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Driver for ST STV0367 DVB-T & DVB-C demodulator IC. 39 /* DVB-C */ 58 /* DVB-T */ 84 /* DVB-C */ 86 /* DVB-T */ 98 /* RF Level (for RF AGC->AGC1) Lookup Table, depends on the board and tuner.*/ 104 }, {/*RF(dbm)*/ 110 /* RF Level (for IF AGC->AGC2) Lookup Table, depends on the board and tuner.*/ 115 }, {/*RF(dbm)*/ [all …]
|
| H A D | dib7000p.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's second generation DiB7000P (PC). 5 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/) 27 MODULE_PARM_DESC(buggy_sfn_workaround, "Enable work-around for buggy SFNs (default: 0)"); 99 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000p_read_word() 104 state->i2c_write_buffer[0] = reg >> 8; in dib7000p_read_word() 105 state->i2c_write_buffer[1] = reg & 0xff; in dib7000p_read_word() 107 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib7000p_read_word() 108 state->msg[0].addr = state->i2c_addr >> 1; in dib7000p_read_word() 109 state->msg[0].flags = 0; in dib7000p_read_word() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc.c | 1 // SPDX-License-Identifier: MIT 64 addr = __xe_bo_ggtt_addr(bo, gt_to_tile(guc_to_gt(guc))->id); in guc_bo_ggtt_addr() 69 xe_assert(xe, xe_bo_size(bo) <= GUC_GGTT_TOP - addr); in guc_bo_ggtt_addr() 76 u32 level = xe_guc_log_get_level(&guc->log); in guc_ctl_debug_flags() 92 if (!xe->info.skip_guc_pc) in guc_ctl_feature_flags() 95 if (xe_configfs_get_psmi_enabled(to_pci_dev(xe->drm.dev))) in guc_ctl_feature_flags() 109 u32 offset = guc_bo_ggtt_addr(guc, guc->log.bo) >> PAGE_SHIFT; in guc_ctl_log_params_flags() 139 FIELD_PREP(GUC_LOG_CRASH_DUMP, XE_GUC_LOG_CRASH_DUMP_BUFFER_SIZE / LOG_UNIT - 1) | in guc_ctl_log_params_flags() 140 FIELD_PREP(GUC_LOG_EVENT_DATA, XE_GUC_LOG_EVENT_DATA_BUFFER_SIZE / LOG_UNIT - 1) | in guc_ctl_log_params_flags() 142 CAPTURE_UNIT - 1) | in guc_ctl_log_params_flags() [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 - 2017 Intel Deutschland GmbH 10 * Copyright (C) 2018 - 2026 Intel Corporation 31 * only partial functionality in hard- or firmware. This document 32 * defines the interface between mac80211 and low-level hardware [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * there's a little bit of over-abstraction that tends to obscure what's going 14 * user-visible instructions are available only on a subset of the available 18 * snapshot state to indicate the lowest-common denominator of the feature, 31 * - Mismatched features are *always* sanitised to a "safe" value, which 34 * - A mismatched feature marked with FTR_STRICT will cause a "SANITY CHECK" 38 * - Features marked as FTR_VISIBLE have their sanitised value visible to 43 * - A "feature" is typically a 4-bit register field. A "capability" is the 44 * high-level description derived from the sanitised field value. 46 * - Read the Arm ARM (DDI 0487F.a) section D13.1.3 ("Principles of the ID [all …]
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2500usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 127 mutex_lock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_write() 142 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_write() 151 mutex_lock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_read() 174 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_read() 184 mutex_lock(&rt2x00dev->csr_mutex); in rt2500usb_rf_write() 205 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500usb_rf_write() 273 reg = rt2500usb_register_read(led->rt2x00dev, MAC_CSR20); in rt2500usb_brightness_set() 275 if (led->type == LED_TYPE_RADIO || led->type == LED_TYPE_ASSOC) in rt2500usb_brightness_set() [all …]
|
| H A D | rt2500pci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 50 mutex_lock(&rt2x00dev->csr_mutex); in rt2500pci_bbp_write() 66 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500pci_bbp_write() 75 mutex_lock(&rt2x00dev->csr_mutex); in rt2500pci_bbp_read() 98 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500pci_bbp_read() 108 mutex_lock(&rt2x00dev->csr_mutex); in rt2500pci_rf_write() 125 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500pci_rf_write() 130 struct rt2x00_dev *rt2x00dev = eeprom->data; in rt2500pci_eepromregister_read() 135 eeprom->reg_data_in = !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_IN); in rt2500pci_eepromregister_read() [all …]
|
| /linux/net/mac80211/ |
| H A D | mlme.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2003-2008, Jouni Malinen <j@w1.fi> 7 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 9 * Copyright 2013-2014 Intel Mobile Communications GmbH 10 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH 11 * Copyright (C) 2018 - 2026 Intel Corporation 29 #include "driver-ops.h" 105 * has happened -- the work that runs from this timer will 111 lockdep_assert_wiphy(sdata->local->hw.wiphy); in run_again() 113 if (!timer_pending(&sdata->u.mgd.timer) || in run_again() [all …]
|