| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-6.6/drivers/media/radio/wl128x/ |
| D | fmdrv_rx.c | 1 // 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 …]
|
| D | fmdrv_common.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/wl128x/ |
| D | fmdrv_rx.c | 1 // 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 …]
|
| D | fmdrv_common.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/frequency/ |
| D | adf4350.txt | 4 - compatible: Should be one of 7 - reg: SPI chip select numbert for the device 8 - spi-max-frequency: Max SPI frequency to use (< 20000000) 9 - clocks: From common clock binding. Clock is phandle to clock for 13 - gpios: GPIO Lock detect - If set with a valid phandle and GPIO number, 15 - adi,channel-spacing: Channel spacing in Hz (influences MODULUS). 16 - adi,power-up-frequency: If set in Hz the PLL tunes to 18 - adi,reference-div-factor: If set the driver skips dynamic calculation 20 - adi,reference-doubler-enable: Enables reference doubler. 21 - adi,reference-div2-enable: Enables reference divider. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/frequency/ |
| 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: 35 adi,channel-spacing: 38 Channel spacing in Hz (influences MODULUS). [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/radio/si470x/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/si470x/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/frequency/ |
| D | adf4350.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/frequency/ |
| D | adf4350.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/include/linux/iio/frequency/ |
| D | adf4350.h | 1 /* 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 */
|
| /kernel/linux/linux-5.10/include/linux/iio/frequency/ |
| D | adf4350.h | 1 /* 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 */
|
| /kernel/linux/linux-6.6/arch/mips/alchemy/common/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/alchemy/common/ |
| 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 …]
|
| /kernel/linux/linux-5.10/net/mac80211/ |
| 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 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() 37 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/ |
| D | radio-wl1273.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/radio/ |
| D | radio-wl1273.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | location.h | 8 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH 9 * Copyright (C) 2018 - 2020 Intel Corporation 25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 29 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH 30 * Copyright (C) 2018 - 2020 Intel Corporation 64 * enum iwl_location_subcmd_ids - location group command IDs 128 * struct iwl_tof_config_cmd - ToF configuration 130 * @one_sided_disabled: indicates if one-sided is disabled (or not) 132 * @is_buf_required: indicates if channel estimation buffer is required 142 * enum iwl_tof_bandwidth - values for iwl_tof_range_req_ap_entry.bandwidth [all …]
|
| /kernel/linux/linux-6.6/net/mac80211/ |
| 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-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 …]
|