Home
last modified time | relevance | path

Searched +full:channel +full:- +full:spacing (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-frequency-adf43503 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
/openbmc/linux/drivers/media/radio/wl128x/
H A Dfmdrv_rx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * This sub-module of FM driver implements FM RX functionality.
17 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache()
18 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache()
19 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache()
20 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache()
22 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache()
23 fmdev->irq_info.mask |= FM_LEV_EVENT; in fm_rx_reset_rds_cache()
28 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info()
29 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info()
[all …]
H A Dfmdrv_common.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #define FM_PKT_LOGICAL_CHAN_NUMBER 0x08 /* Logical channel 8 */
129 #define fm_cb(skb) ((struct fm_skb_cb *)(skb->cb))
131 /* FM Channel-8 command message format */
133 __u8 hdr; /* Logical Channel-8 */
142 /* FM Channel-8 event messgage format */
144 __u8 header; /* Logical Channel-8 */
223 #define FM_RX_RSSI_THRESHOLD_MIN -128
231 /* FM RX De-emphasis filter modes */
347 /* FM TX Pre-emphasis filter values */
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/frequency/
H A Dadi,adf4350.yaml1 # 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:
35 adi,channel-spacing:
38 Channel spacing in Hz (influences MODULUS).
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dtda8261.c1 // 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 …]
/openbmc/linux/drivers/media/radio/si470x/
H A Dradio-si470x-common.c1 // 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 Dradio-si470x.h1 /* 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 …]
/openbmc/linux/drivers/iio/frequency/
H A Dadf4350.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 Analog Devices Inc.
40 unsigned long chspc; /* Channel Spacing */
77 for (i = ADF4350_REG5; i >= ADF4350_REG0; i--) { in adf4350_sync_config()
78 if ((st->regs_hw[i] != st->regs[i]) || in adf4350_sync_config()
87 st->val = cpu_to_be32(st->regs[i] | i); in adf4350_sync_config()
88 ret = spi_write(st->spi, &st->val, 4); in adf4350_sync_config()
91 st->regs_hw[i] = st->regs[i]; in adf4350_sync_config()
92 dev_dbg(&st->spi->dev, "[%d] 0x%X\n", in adf4350_sync_config()
93 i, (u32)st->regs[i] | i); in adf4350_sync_config()
[all …]
/openbmc/linux/include/linux/iio/frequency/
H A Dadf4350.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2012-2013 Analog Devices Inc.
37 #define ADF4350_REG2_CHARGE_PUMP_CURR_uA(x) (((((x)-312) / 312) & 0xF) << 9)
93 * struct adf4350_platform_data - platform specific information
96 * @channel_spacing: Channel spacing in Hz (influences MODULUS).
114 unsigned short ref_div_factor; /* 10-bit R counter */
/openbmc/linux/arch/mips/alchemy/common/
H A Ddma.c4 * 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 …]
/openbmc/linux/drivers/media/radio/
H A Dradio-wl1273.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/mfd/wl1273-core.h>
15 #include <media/v4l2-common.h>
16 #include <media/v4l2-ctrls.h>
17 #include <media/v4l2-device.h>
18 #include <media/v4l2-ioctl.h>
35 * static int radio_nr - The number of the radio device
48 unsigned int spacing; member
87 * static unsigned int rds_buf - the number of RDS buffer blocks used.
98 struct i2c_client *client = core->client; in wl1273_fm_write_fw()
[all …]
/openbmc/linux/net/mac80211/
H A Dtdls.c1 // 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-2023 Intel Corporation
17 #include "driver-ops.h"
31 local = sdata->local; in ieee80211_tdls_peer_del_work()
33 mutex_lock(&local->mtx); in ieee80211_tdls_peer_del_work()
34 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work()
35 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
36 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dlocation.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2015-2017 Intel Deutschland GmbH
4 * Copyright (C) 2018-2022 Intel Corporation
10 * enum iwl_location_subcmd_ids - location group command IDs
85 * struct iwl_tof_config_cmd - ToF configuration
87 * @one_sided_disabled: indicates if one-sided is disabled (or not)
89 * @is_buf_required: indicates if channel estimation buffer is required
99 * enum iwl_tof_bandwidth - values for iwl_tof_range_req_ap_entry.bandwidth
100 * @IWL_TOF_BW_20_LEGACY: 20 MHz non-HT
117 * enum iwl_tof_algo_type - Algorithym type for range measurement request
[all …]
H A Dmac-cfg.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2019, 2021-2022 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
84 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification
107 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter
124 * struct iwl_missed_vap_notif - notification of missing vap detection
139 * struct iwl_channel_switch_start_notif - Channel switch start notification
148 * struct iwl_channel_switch_start_notif - Channel switch start notification
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dphy.c2 * 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 Dreg.h2 * 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 …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9002_phy.h2 * 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 Dar9003_phy.h2 * Copyright (c) 2010-2011 Atheros Communications, Inc.
21 * Channel Register Map
88 #define AR_PHY_TX_PHASE_RAMP_0_9300_10 (AR_CHAN_BASE + 0xd0 - 0x10)
89 #define AR_PHY_ADC_GAIN_DC_CORR_0_9300_10 (AR_CHAN_BASE + 0xd4 - 0x10)
101 * Channel Field Definitions
337 #define AR_PHY_CCA_NOM_VAL_9300_2GHZ -110
338 #define AR_PHY_CCA_NOM_VAL_9300_5GHZ -115
339 #define AR_PHY_CCA_MIN_GOOD_VAL_9300_2GHZ -125
340 #define AR_PHY_CCA_MIN_GOOD_VAL_9300_5GHZ -125
341 #define AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ -60
[all …]
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dphy.h6 * Copyright (c) 2008-2009 Atheros Communications Inc.
38 /* For 25 MHz channel spacing -- not used but supported by hw */
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Drtl819x_HTProc.c1 // SPDX-License-Identifier: GPL-2.0
61 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting()
62 //const typeof( ((struct ieee80211_device *)0)->pHTInfo ) *__mptr = &pHTInfo; in HTUpdateDefaultSetting()
67 pHTInfo->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting()
68 pHTInfo->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting()
70 // 40MHz channel support in HTUpdateDefaultSetting()
71 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting()
73 // CCK rate support in 40MHz channel in HTUpdateDefaultSetting()
74 if (pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting()
75 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_wlan_util.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
51 switch (psta->wireless_mode) { in networktype_to_raid_ex()
67 if (psta->bw_mode == CHANNEL_WIDTH_20) { in networktype_to_raid_ex()
118 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in is_basicrate()
121 val = pmlmeext->basicrate[i]; in is_basicrate()
137 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in ratetbl2rateset()
140 rate = pmlmeext->datarate[i]; in ratetbl2rateset()
254 return adapter_to_dvobj(adapter)->oper_channel; in rtw_get_oper_ch()
267 if (dvobj->oper_channel != ch) { in rtw_set_oper_ch()
[all …]
H A Drtw_ap.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
14 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info()
15 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info()
16 struct wlan_acl_pool *pacl_list = &pstapriv->acl_list; in init_mlme_ap_info()
18 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info()
21 INIT_LIST_HEAD(&pacl_list->acl_node_q.queue); in init_mlme_ap_info()
22 spin_lock_init(&pacl_list->acl_node_q.lock); in init_mlme_ap_info()
24 /* pmlmeext->bstart_bss = false; */ in init_mlme_ap_info()
32 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dacx.h1 /* 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 …]
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc.
60 /*------------------------------------------------------------------------------
62 ------------------------------------------------------------------------------*/
69 * \retval -EIO Initialization failed.
78 * \retval -EIO Termination failed.
98 * \retval -EIO Failure.
99 * \retval -EINVAL Parameter 'wcount' is not zero but parameter
133 #define TUNER_MODE_SUB0 0x0001 /* for sub-mode (e.g. RF-AGC setting) */
134 #define TUNER_MODE_SUB1 0x0002 /* for sub-mode (e.g. RF-AGC setting) */
135 #define TUNER_MODE_SUB2 0x0004 /* for sub-mode (e.g. RF-AGC setting) */
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c1 // 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 …]

123