/linux/drivers/media/dvb-frontends/ |
H A D | drxk.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * struct drxk_config - Configure the initial parameters for DRX-K 11 * @adr: I2C address of the DRX-K 19 * @antenna_gpio: GPIO bit used to control the antenna 20 * @antenna_dvbt: GPIO bit for changing antenna to DVB-C. A value of 1 24 * @microcode_name: Name of the firmware file with the microcode 27 * firmwares are using the 2-parameter command. 29 * which uses the 4-parameter command. 34 * On the ``*_gpio`` vars, bit 0 is UIO-1, bit 1 is UIO-2 and bit 2 is 35 * UIO-3. [all …]
|
H A D | drxk_hard.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drxk_hard: DRX-K DVB-C/T demodulator driver 5 * Copyright (C) 2010-2011 Digital Devices GmbH 45 return state->m_operation_mode == OM_DVBT; in is_dvbt() 50 return state->m_operation_mode == OM_QAM_ITU_A || in is_qam() 51 state->m_operation_mode == OM_QAM_ITU_B || in is_qam() 52 state->m_operation_mode == OM_QAM_ITU_C; in is_qam() 164 R0 = (a % c) << 4; /* 32-28 == 4 shifts possible at max */ in Frac28a() 193 i2c_lock_bus(state->i2c, I2C_LOCK_SEGMENT); in drxk_i2c_lock() 194 state->drxk_i2c_exclusive_lock = true; in drxk_i2c_lock() [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | silabs,wfx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jérôme Pouiller <jerome.pouiller@silabs.com> 16 https://www.silabs.com/documents/public/data-sheets/wf200-datasheet.pdf 25 It is recommended to declare a mmc-pwrseq on SDIO host above WFx. Without 26 it, you may encounter issues during reboot. The mmc-pwrseq should be 27 compatible with mmc-pwrseq-simple. Please consult 28 Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml for more 34 - enum: [all …]
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | phy.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, 13 Some parts of the code in this file are derived from the ipw2200 14 driver Copyright(c) 2003 - 2004 Intel Corporation. 25 B43legacy_ANTENNA0, /* Antenna 0 */ 26 B43legacy_ANTENNA1, /* Antenna 0 */ 27 B43legacy_ANTENNA_AUTO1, /* Automatic, starting with antenna 1 */ 28 B43legacy_ANTENNA_AUTO0, /* Automatic, starting with antenna 0 */ 49 /* OFDM (A) registers of a G-PHY */ 51 /* Extended G-PHY registers */ [all …]
|
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> 7 * Copyright (c) 2005-2008 Stefano Brivio <stefano.brivio@polimi.it> 13 * Some parts of the code in this file are derived from the ipw2200 14 * driver Copyright(c) 2003 - 2004 Intel Corporation. 27 #include <linux/dma-mapping.h> 157 if (!wl || !wl->current_dev) in b43legacy_ratelimit() 159 if (b43legacy_status(wl->current_dev) < B43legacy_STAT_STARTED) in b43legacy_ratelimit() 179 printk(KERN_INFO "b43legacy-%s: %pV", in b43legacyinfo() 180 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacyinfo() [all …]
|
/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.h | 3 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 31 DRXJ specific header file 38 /*------------------------------------------------------------------------- 40 -------------------------------------------------------------------------*/ 45 /* Check DRX-J specific dap condition */ 55 /*------------------------------------------------------------------------- 57 -------------------------------------------------------------------------*/ 134 * /enum drxj_cfg_smart_ant_io * smart antenna i/o. 142 * /struct drxj_cfg_smart_ant * Set smart antenna. 151 * AGC status information from the DRXJ-IQM-AF. [all …]
|
H A D | drx_driver.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 59 /*------------------------------------------------------------------------------ 61 ------------------------------------------------------------------------------*/ 68 * \retval -EIO Initialization failed. 77 * \retval -EIO Termination failed. 97 * \retval -EIO Failure. 98 * \retval -EINVAL Parameter 'wcount' is not zero but parameter 132 #define TUNER_MODE_SUB0 0x0001 /* for sub-mode (e.g. RF-AGC setting) */ 133 #define TUNER_MODE_SUB1 0x0002 /* for sub-mode (e.g. RF-AGC setting) */ 134 #define TUNER_MODE_SUB2 0x0004 /* for sub-mode (e.g. RF-AGC setting) */ [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
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 32 * This file also contains register values found on a memory dump of 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 */ [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | commands.h | 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 25 * in the file called LICENSE.GPL. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 92 /* Multi-Station support */ 131 /* Bluetooth device coexistence config command */ 138 /* RF-KILL commands and notifications */ 184 * when sending the response to each driver-originated command, so [all …]
|
H A D | 4965-mac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 6 * Portions of this file are derived from the ipw3945 project, as well 11 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 22 #include <linux/dma-mapping.h> 71 if (!test_bit(S_EXIT_PENDING, &il->status)) in il4965_check_abort_status() 72 queue_work(il->workqueue, &il->tx_flush); in il4965_check_abort_status() 89 spin_lock_irqsave(&rxq->lock, flags); in il4965_rx_queue_reset() 90 INIT_LIST_HEAD(&rxq->rx_free); in il4965_rx_queue_reset() 91 INIT_LIST_HEAD(&rxq->rx_used); in il4965_rx_queue_reset() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2023-2024 Intel Corporation 6 * Please use this file (commands.h) only for uCode API definitions. 7 * Please use iwl-xxxx-hw.h for hardware-related definitions. 29 /* Multi-Station support */ 86 /* Bluetooth device coexistence config command */ 93 /* RF-KILL commands and notifications */ 138 * - 4 standard TX queues 139 * - the command queue 140 * - 4 PAN TX queues [all …]
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A D | acx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * This file is part of wl1251 5 * Copyright (c) 1998-2007 Texas Instruments Incorporated 70 * bits 0 - 15: Reserved. 71 * bits 16 - 23: Version ID - The WiLink version ID 73 * bits 24 - 31: Chip ID - The WiLink chip ID. 93 /* 0 - Always active*/ 94 /* 1 - Power down mode: light / fast sleep*/ 95 /* 2 - ELP mode: Deep / Max sleep*/ 187 * RX Config Options Table [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> 8 Copyright (c) 2005-2009 Michael Buesch <m@bues.ch> 11 Copyright (c) 2010-2011 Rafał Miłecki <zajec5@gmail.com> 16 Some parts of the code in this file are derived from the ipw2200 17 driver Copyright(c) 2003 - 2004 Intel Corporation. 31 #include <linux/dma-mapping.h> 86 MODULE_PARM_DESC(hwpctl, "Enable hardware-side power control (default off)"); 373 if (!wl || !wl->current_dev) in b43_ratelimit() 375 if (b43_status(wl->current_dev) < B43_STAT_STARTED) in b43_ratelimit() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | core.h | 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. 45 /* Antenna noise floor */ 46 #define ATH10K_DEFAULT_NOISE_FLOOR -95 64 /* SMBIOS type containing Board Data File Name Extension */ 67 /* SMBIOS type structure length (excluding strings-set) */ 70 /* Offset pointing to Board Data File Name Extension */ 73 /* Board Data File Name Extension string length. [all …]
|
H A D | debug.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 19 #include "wmi-ops.h" 35 dev_info(ar->dev, "%pV", &vaf); in ath10k_info() 50 ar->hw_params.name, in ath10k_debug_print_hwfw_info() 51 ar->target_version, in ath10k_debug_print_hwfw_info() 52 ar->bus_param.chip_id, in ath10k_debug_print_hwfw_info() 53 ar->id.subsystem_vendor, ar->id.subsystem_device); in ath10k_debug_print_hwfw_info() 62 firmware = ar->normal_mode_fw.fw_file.firmware; in ath10k_debug_print_hwfw_info() [all …]
|
H A D | wmi.h | 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. 16 * This file specifies the WMI interface for the Unified Software 29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 45 * variable is already 4-byte aligned by virtue of being a u32 527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8821a1ant.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is for RTL8821A Co-exist mechanism 46 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_bt_rssi_state() 48 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8821a1ant_bt_rssi_state() 50 bt_rssi = coex_sta->bt_rssi; in btc8821a1ant_bt_rssi_state() 53 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a1ant_bt_rssi_state() 54 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a1ant_bt_rssi_state() 80 return coex_sta->pre_bt_rssi_state; in btc8821a1ant_bt_rssi_state() 83 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a1ant_bt_rssi_state() 84 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a1ant_bt_rssi_state() [all …]
|
H A D | halbtc8821a2ant.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is for RTL8821A Co-exist mechanism 45 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_bt_rssi_state() 47 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8821a2ant_bt_rssi_state() 49 bt_rssi = coex_sta->bt_rssi; in btc8821a2ant_bt_rssi_state() 52 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a2ant_bt_rssi_state() 53 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a2ant_bt_rssi_state() 79 return coex_sta->pre_bt_rssi_state; in btc8821a2ant_bt_rssi_state() 82 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a2ant_bt_rssi_state() 83 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a2ant_bt_rssi_state() [all …]
|
H A D | halbtc8723b2ant.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is for RTL8723B Co-exist mechanism 44 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_bt_rssi_state() 46 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8723b2ant_bt_rssi_state() 48 bt_rssi = coex_sta->bt_rssi; in btc8723b2ant_bt_rssi_state() 51 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8723b2ant_bt_rssi_state() 52 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8723b2ant_bt_rssi_state() 78 return coex_sta->pre_bt_rssi_state; in btc8723b2ant_bt_rssi_state() 81 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8723b2ant_bt_rssi_state() 82 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8723b2ant_bt_rssi_state() [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2006-2012 Wilocity 9 * This file contains the definitions of the WMI protocol specified in the 16 * This is an automatically generated file. 70 * Each ID maps to a bit in a 32-bit bitmask value provided by the FW to 444 * - WMI_RX_MGMT_PACKET_EVENTID - for every probe resp. 445 * - WMI_SCAN_COMPLETE_EVENTID 470 * 0 - 58320 MHz [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | fw.c | 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 11 #include "iwl-trans.h" 12 #include "iwl-op-mode.h" 14 #include "iwl-debug.h" 15 #include "iwl-prph.h" 23 #include "iwl-phy-db.h" 24 #include "iwl-modparams.h" [all …]
|
H A D | rs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2005 - 2014, 2018 - 2023 Intel Corporation. All rights reserved. 5 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 6 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 19 #include "fw-api.h" 21 #include "iwl-op-mode.h" 98 RS_ACTION_DOWNSCALE = -1, 131 return iwl_mvm_bt_coex_is_ant_avail(mvm, next_col->ant); in rs_ant_allow() 138 if (!sta->deflink.ht_cap.ht_supported) in rs_mimo_allow() 141 if (sta->deflink.smps_mode == IEEE80211_SMPS_STATIC) in rs_mimo_allow() [all …]
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | coex.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 16 const struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_next_rssi_state() 17 u8 tol = chip->rssi_tolerance; in rtw_coex_next_rssi_state() 39 const struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_limited_tx() 40 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_limited_tx() 41 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_limited_tx() 44 if (!chip->scbd_support) in rtw_coex_limited_tx() 48 if (coex_stat->wl_tx_limit_en == tx_limit_en && in rtw_coex_limited_tx() 49 coex_stat->wl_ampdu_limit_en == ampdu_limit_en) in rtw_coex_limited_tx() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 19 MODULE_PARM_DESC(drcs, "multi-channel operation:1, single-channel operation:0"); 28 * Preparation includes - 29 * - Setting command ID, action and proper size 30 * - Setting data/beacon average factors 31 * - Resetting SNR/NF/RSSI values in private structure 32 * - Ensuring correct endian-ness 38 cmd->command = cpu_to_le16(HostCmd_CMD_RSSI_INFO); in mwifiex_cmd_802_11_rssi_info() 39 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_802_11_rssi_info) + in mwifiex_cmd_802_11_rssi_info() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_phy.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 39 { -4, -2, 0, 2, 4, 6, 8, 10, 12 }; /* lvl 0-8, default 2 */ 43 { -6, -4, -2, 0, 2, 4, 6, 8 }; /* lvl 0-7, default 3 */ 125 * ar9003_hw_set_channel - set channel on single-chip device 129 * This is the function to change channel on single-chip devices, that is 163 if (ah->is_clk_25mhz) in ar9003_hw_set_channel() 172 if (ah->is_clk_25mhz) { in ar9003_hw_set_channel() 187 ah->is_clk_25mhz) { in ar9003_hw_set_channel() 223 ah->curchan = chan; in ar9003_hw_set_channel() 229 * ar9003_hw_spur_mitigate_mrc_cck - convert baseband spur frequency [all …]
|