| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-frequency-adf4350 | 3 Contact: linux-iio@vger.kernel.org 5 Stores channel Y frequency resolution/channel spacing in Hz. 7 the fractional-N PLL. It is assumed that the algorithm 9 generate proper values for multiples of channel spacing. 13 Contact: linux-iio@vger.kernel.org 15 Sets channel Y REFin frequency in Hz. In some clock chained
|
| /linux/Documentation/devicetree/bindings/iio/frequency/ |
| H A D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 31 '#clock-cells': 34 clock-output-names: [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | tda8261.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 const struct tda8261_config *config = state->config; in tda8261_read() 31 struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD,.buf = buf, .len = 1 }; in tda8261_read() 33 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) in tda8261_read() 41 const struct tda8261_config *config = state->config; in tda8261_write() 43 struct i2c_msg msg = { .addr = config->addr, .flags = 0, .buf = buf, .len = 4 }; in tda8261_write() 45 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) in tda8261_write() 53 struct tda8261_state *state = fe->tuner_priv; in tda8261_get_status() 76 struct tda8261_state *state = fe->tuner_priv; in tda8261_get_frequency() 78 *frequency = state->frequency; in tda8261_get_frequency() [all …]
|
| /linux/drivers/media/radio/si470x/ |
| H A D | radio-si470x-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/media/radio/si470x/radio-si470x-common.c 14 * 2008-01-12 Tobias Lorenz <tobias.lorenz@gmx.net> 16 * - First working version 17 * 2008-01-13 Tobias Lorenz <tobias.lorenz@gmx.net> 19 * - Improved error handling, every function now returns errno 20 * - Improved multi user access (start/mute/stop) 21 * - Channel doesn't get lost anymore after start/mute/stop 22 * - RDS support added (polling mode via interrupt EP 1) 23 * - marked default module parameters with *value* [all …]
|
| H A D | radio-si470x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * drivers/media/radio/si470x/radio-si470x.h 12 #define DRIVER_NAME "radio-si470x" 24 #include <media/v4l2-common.h> 25 #include <media/v4l2-ioctl.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-event.h> 28 #include <media/v4l2-device.h> 60 #define CHANNEL 3 /* Channel */ macro 62 #define CHANNEL_CHAN 0x03ff /* bits 09..00: Channel Select */ [all …]
|
| /linux/arch/mips/alchemy/common/ |
| H A D | dma.c | 4 * A DMA channel allocator for Au1x00. API is modeled loosely off of 9 * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org) 40 #include <asm/mach-au1x00/au1000.h> 41 #include <asm/mach-au1x00/au1000_dma.h> 55 * done interrupt, you won't know the irq number until the DMA channel is 59 /* DMA Channel register block spacing */ 65 {.dev_id = -1,}, 66 {.dev_id = -1,}, 67 {.dev_id = -1,}, 68 {.dev_id = -1,}, [all …]
|
| /linux/net/mac80211/ |
| H A D | tdls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2015 - 2016 Intel Deutschland GmbH 9 * Copyright (C) 2019, 2021-2024 Intel Corporation 17 #include "driver-ops.h" 31 local = sdata->local; in ieee80211_tdls_peer_del_work() 33 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_tdls_peer_del_work() 35 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work() 36 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 37 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ar9002_phy.h | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 29 /* For 25 MHz channel spacing -- not used but supported by hw */ 174 #define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD 0x000000F0 /* Interval for FFT reports, reg 68, bits 4-7*/ 176 #define AR_PHY_SPECTRAL_SCAN_PERIOD 0x0000FF00 /* Interval for FFT reports, reg 68, bits 8-15*/ 178 #define AR_PHY_SPECTRAL_SCAN_COUNT 0x00FF0000 /* Number of reports, reg 68, bits 16-23*/ 180 #define AR_PHY_SPECTRAL_SCAN_COUNT_KIWI 0x0FFF0000 /* Number of reports, reg 68, bits 16-27*/ 594 #define AR_PHY_CCA_NOM_VAL_5416_2GHZ -90 595 #define AR_PHY_CCA_NOM_VAL_5416_5GHZ -100 596 #define AR_PHY_CCA_MIN_GOOD_VAL_5416_2GHZ -100 597 #define AR_PHY_CCA_MIN_GOOD_VAL_5416_5GHZ -110 [all …]
|
| H A D | hw.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 28 #include "hw-ops.h" 43 struct ath9k_channel *chan = ah->curchan; in ath9k_hw_set_clockrate() 53 else if (ah->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK) in ath9k_hw_set_clockrate() 67 common->clockrate = clockrate; in ath9k_hw_set_clockrate() 74 return usecs * common->clockrate; in ath9k_hw_mac_to_clks() 117 for (r = 0; r < array->ia_rows; r++) { in ath9k_hw_write_array() 132 dev_err(ah->dev, "%s: tmp_reg_list: alloc filed\n", __func__); in ath9k_hw_read_array() 138 dev_err(ah->dev, "%s tmp_data: alloc filed\n", __func__); in ath9k_hw_read_array() 186 if (ah->curchan && IS_CHAN_QUARTER_RATE(ah->curchan)) { in ath9k_hw_computetxtime() [all …]
|
| H A D | main.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 28 * 802.11n D2.0 defined values for "Minimum MPDU Start Spacing": in ath9k_parse_mpdudensity() 65 spin_lock_bh(&txq->axq_lock); in ath9k_has_pending_frames() 67 if (txq->axq_depth) { in ath9k_has_pending_frames() 75 if (txq->mac80211_qnum >= 0) { in ath9k_has_pending_frames() 78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames() 79 if (!list_empty(&acq->acq_new) || !list_empty(&acq->acq_old)) in ath9k_has_pending_frames() 83 spin_unlock_bh(&txq->axq_lock); in ath9k_has_pending_frames() 92 spin_lock_irqsave(&sc->sc_pm_lock, flags); in ath9k_setpower() 93 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower() [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| 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 …]
|
| 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 …]
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | phy.h | 6 * Copyright (c) 2008-2009 Atheros Communications Inc. 38 /* For 25 MHz channel spacing -- not used but supported by hw */
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | acx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1998-2009 Texas Instruments. All rights reserved. 6 * Copyright (C) 2008-2010 Nokia Corporation 19 Host Interrupt Register (WiLink -> Host) 45 /* all possible interrupts - only appropriate ones will be masked in */ 119 /* 0 - Always active*/ 120 /* 1 - Power down mode: light / fast sleep*/ 121 /* 2 - ELP mode: Deep / Max sleep*/ 246 * Treatment bit mask - The information element handling: 247 * bit 0 - The information element is compared and transferred [all …]
|
| /linux/drivers/media/dvb-frontends/drx39xyj/ |
| 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/realtek/rtlwifi/rtl8192se/ |
| H A D | hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 27 *((u32 *) (val)) = rtlpci->receive_config; in rtl92se_get_hw_reg() 31 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl92se_get_hw_reg() 35 *((bool *) (val)) = ppsc->fw_current_inpsmode; in rtl92se_get_hw_reg() 51 *((bool *)(val)) = rtlpriv->dm.current_mrc_switch; in rtl92se_get_hw_reg() 81 if (rtlhal->version == VERSION_8192S_ACUT) in rtl92se_set_hw_reg() 120 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl92se_set_hw_reg() 129 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92se_set_hw_reg() 142 if (rtlpriv->sec.pairwise_enc_algorithm == in rtl92se_set_hw_reg() [all …]
|
| /linux/drivers/net/wireless/marvell/ |
| H A D | mwl8k.c | 48 /* Host->device communications */ 59 /* Device->host communications */ 104 #define mwl8k_tx_queues(priv) (MWL8K_TX_WMM_QUEUES + (priv)->num_ampdu_queues) 116 #define MWL8K_NUM_AMPDU_STREAMS (TOTAL_HW_TX_QUEUES - 1) 331 #define MWL8K_VIF(_vif) ((struct mwl8k_vif *)&((_vif)->drv_priv)) 346 #define MWL8K_STA(_sta) ((struct mwl8k_sta *)&((_sta)->drv_priv)) 420 #define MWL8K_CMD_SET_BEACON 0x0100 /* per-vif */ 434 #define MWL8K_CMD_SET_MAC_ADDR 0x0202 /* per-vif */ 437 #define MWL8K_CMD_DEL_MAC_ADDR 0x0206 /* per-vif */ 438 #define MWL8K_CMD_BSS_START 0x1100 /* per-vif */ [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| H A D | reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 7 /* ----------------------------------------------------- */ 9 /* ----------------------------------------------------- */ 76 /* ----------------------------------------------------- */ 78 /* ----------------------------------------------------- */ 123 /* ----------------------------------------------------- */ 125 /* ----------------------------------------------------- */ 133 /* ----------------------------------------------------- */ 135 /* ----------------------------------------------------- */ [all …]
|
| /linux/include/net/ |
| 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 74 * Channel flags set by the regulatory control code. 76 * @IEEE80211_CHAN_DISABLED: This channel is disabled. 80 * channel. 81 * @IEEE80211_CHAN_RADAR: Radar detection is required on this channel. [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | cfg80211.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 61 * This function maps the nl802.11 channel type into driver channel type. 63 * The mapping is as follows - 64 * NL80211_CHAN_NO_HT -> IEEE80211_HT_PARAM_CHA_SEC_NONE 65 * NL80211_CHAN_HT20 -> IEEE80211_HT_PARAM_CHA_SEC_NONE 66 * NL80211_CHAN_HT40PLUS -> IEEE80211_HT_PARAM_CHA_SEC_ABOVE 67 * NL80211_CHAN_HT40MINUS -> IEEE80211_HT_PARAM_CHA_SEC_BELOW 68 * Others -> IEEE80211_HT_PARAM_CHA_SEC_NONE 85 /* This function maps IEEE HT secondary channel type to NL80211 channel type [all …]
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A D | 82596.c | 1 // SPDX-License-Identifier: GPL-1.0+ 6 This driver is for the Apricot 82596 bus-master interface 18 non-cached page, so we can run on 68060 in copyback mode. 25 Most of my modifications relate to the braindead big-endian 27 'big-endian' mode, it thinks a 32 bit value of 0x12345678 106 * Define various macros for Channel Attention, word swapping etc., dependent 140 * the following commands are available (p5-18). The 32-bit port command 141 * must be word-swapped with the most significant word written first. 350 0x60, /* interframe spacing */ 371 static int max_cmd_backlog = TX_RING_SIZE-1; [all …]
|
| H A D | lib82596.c | 1 // SPDX-License-Identifier: GPL-1.0+ 2 /* lasi_82596.c -- driver for the intel 82596 ethernet controller, as 9 3 primary sources of the mess -- 27 03/02/2000 changes for better/correct(?) cache-flushing (deller) 34 This driver is for the Apricot 82596 bus-master interface 46 non-cached page, so we can run on 68060 in copyback mode. 53 Most of my modifications relate to the braindead big-endian 55 'big-endian' mode, it thinks a 32 bit value of 0x12345678 82 #include <linux/dma-mapping.h> 114 * the following commands are available (p5-18). The 32-bit port command [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) 248 /* Overhead due to the processing of channel switch events from FW */ 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/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DesignWare High-Definition Multimedia Interface (HDMI) driver 5 * Copyright (C) 2013-2015 Mentor Graphics Inc. 6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. 21 #include <linux/dma-mapping.h> 24 #include <media/cec-notifier.h> 26 #include <linux/media-bus-format.h> 40 #include "dw-hdmi-audio.h" 41 #include "dw-hdmi-cec.h" 42 #include "dw-hdmi.h" [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 …]
|