Home
last modified time | relevance | path

Searched +full:data +full:- +full:rates (Results 1 – 25 of 1029) sorted by relevance

12345678910>>...42

/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Data transmitting implementation.
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
24 if (rate->idx < 0) in wfx_get_hw_rate()
25 return -1; in wfx_get_hw_rate()
26 if (rate->flags & IEEE80211_TX_RC_MCS) { in wfx_get_hw_rate()
27 if (rate->idx > 7) { in wfx_get_hw_rate()
28 WARN(1, "wrong rate->idx value: %d", rate->idx); in wfx_get_hw_rate()
29 return -1; in wfx_get_hw_rate()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/
H A Dmediatek,mt76.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Felix Fietkau <nbd@nbd.name>
12 - Lorenzo Bianconi <lorenzo@kernel.org>
13 - Ryder Lee <ryder.lee@mediatek.com>
23 - $ref: ieee80211.yaml#
28 - mediatek,mt76
29 - mediatek,mt7628-wmac
[all …]
/openbmc/linux/sound/usb/
H A Dformat.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/usb/audio-v2.h>
10 #include <linux/usb/audio-v3.h>
38 switch (fp->protocol) { in parse_audio_format_i_type()
45 fp->iface, fp->altsetting, format); in parse_audio_format_i_type()
48 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
49 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type()
56 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
57 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type()
62 fp->dsd_raw = true; in parse_audio_format_i_type()
[all …]
H A Dquirks-table.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
45 * Macros for quirk data entries
48 /* Quirk data entry for ignoring the interface */
51 /* Quirk data entry for a standard audio interface */
54 /* Quirk data entry for a standard MIDI interface */
57 /* Quirk data entry for a standard mixer interface */
61 /* Quirk data entry for Yamaha MIDI */
64 /* Quirk data entry for Edirol UAxx */
67 /* Quirk data entry for raw bytes interface */
72 #define QUIRK_COMPOSITE_END { .ifnum = -1 }
[all …]
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dscan.c24 - ZERO_DBM_OFFSET)
27 static int symbol_build_supp_rates(u8 *buf, const __le16 *rates) in symbol_build_supp_rates() argument
34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates()
45 static int prism_build_supp_rates(u8 *buf, const u8 *rates) in prism_build_supp_rates() argument
52 if (rates[i] == 0x0) in prism_build_supp_rates()
54 buf[i + 2] = rates[i]; in prism_build_supp_rates()
58 /* We might still have another 2 rates, which need to go in in prism_build_supp_rates()
59 * extended supported rates */ in prism_build_supp_rates()
60 if (i == 8 && rates[i] > 0) { in prism_build_supp_rates()
64 if (rates[i] == 0x0) in prism_build_supp_rates()
[all …]
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dtxrx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Datapath implementation for ST-Ericsson CW1200 mac80211 drivers
5 * Copyright (c) 2010, ST-Ericsson
34 cw1200_queue_lock(&priv->tx_queue[i]); in cw1200_tx_queues_lock()
41 cw1200_queue_unlock(&priv->tx_queue[i]); in cw1200_tx_queues_unlock()
50 policy->raw[0] & 0x0F, policy->raw[0] >> 4, in tx_policy_dump()
51 policy->raw[1] & 0x0F, policy->raw[1] >> 4, in tx_policy_dump()
52 policy->raw[2] & 0x0F, policy->raw[2] >> 4, in tx_policy_dump()
53 policy->raw[3] & 0x0F, policy->raw[3] >> 4, in tx_policy_dump()
54 policy->raw[4] & 0x0F, policy->raw[4] >> 4, in tx_policy_dump()
[all …]
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2011-2020 NXP
83 /* AC rates */
181 * This function maps an index in supported rates table into
182 * the corresponding data rate.
202 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
204 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
219 rate = mcs_rate[2 * (1 - bw) + gi][index]; in mwifiex_index_to_acs_data_rate()
226 /* 11n non-HT rates */ in mwifiex_index_to_acs_data_rate()
235 /* This function maps an index in supported rates table into
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl_rpmsg.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2018-2021 NXP
5 #include <linux/clk-provider.h>
19 #include "imx-pcm.h"
45 struct clk *p = rpmsg->mclk, *pll = NULL, *npll = NULL; in fsl_rpmsg_hw_params()
50 while (p && rpmsg->pll8k && rpmsg->pll11k) { in fsl_rpmsg_hw_params()
53 if (clk_is_match(pp, rpmsg->pll8k) || in fsl_rpmsg_hw_params()
54 clk_is_match(pp, rpmsg->pll11k)) { in fsl_rpmsg_hw_params()
63 npll = (do_div(rate, 8000) ? rpmsg->pll11k : rpmsg->pll8k); in fsl_rpmsg_hw_params()
67 dev_warn(dai->dev, "failed to set parent %s: %d\n", in fsl_rpmsg_hw_params()
[all …]
H A Dfsl_rpmsg.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright 2017-2021 NXP
11 * @rates: supported rates
15 int rates; member
20 * struct fsl_rpmsg - rpmsg private data
28 * @soc_data: soc specific data
/openbmc/linux/net/mac80211/
H A Drate.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2002-2005, Instant802 Networks, Inc.
4 * Copyright 2005-2006, Devicescape Software, Inc.
33 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init()
34 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init()
35 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init()
36 void *priv_sta = sta->rate_ctrl_priv; in rate_control_rate_init()
40 ieee80211_sta_init_nss(&sta->deflink); in rate_control_rate_init()
47 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init()
53 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
[all …]
H A Dstatus.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2002-2005, Instant802 Networks, Inc.
4 * Copyright 2005-2006, Devicescape Software, Inc.
5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
6 * Copyright 2008-2010 Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright 2021-2023 Intel Corporation
29 skb->pkt_type = IEEE80211_TX_STATUS_MSG; in ieee80211_tx_status_irqsafe()
30 skb_queue_tail(info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS ? in ieee80211_tx_status_irqsafe()
31 &local->skb_queue : &local->skb_queue_unreliable, skb); in ieee80211_tx_status_irqsafe()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c1 // SPDX-License-Identifier: ISC
20 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2)
23 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
37 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
48 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
96 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7615_rx_get_wcid()
100 if (!wcid->sta) in mt7615_rx_get_wcid()
104 if (!sta->vif) in mt7615_rx_get_wcid()
107 return &sta->vif->sta.wcid; in mt7615_rx_get_wcid()
112 struct mt7615_dev *dev = phy->dev; in mt7615_mac_reset_counters()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 #include <linux/dma-mapping.h>
33 #define TIME_SYMBOLS_HALFGI(t) (((t) * 5 - 4) / 18)
35 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18)
49 { 104, 216 }, /* 3: 16-QAM 1/2 */
50 { 156, 324 }, /* 4: 16-QAM 3/4 */
51 { 208, 432 }, /* 5: 64-QAM 2/3 */
52 { 234, 486 }, /* 6: 64-QAM 3/4 */
53 { 260, 540 }, /* 7: 64-QAM 5/6 */
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c1 // SPDX-License-Identifier: ISC
42 memset(dev->mphy.aggr_stats, 0, sizeof(dev->mphy.aggr_stats)); in mt7603_mac_reset_counters()
51 int offset = 3 * dev->coverage_class; in mt7603_mac_set_timing()
54 bool is_5ghz = dev->mphy.chandef.chan->band == NL80211_BAND_5GHZ; in mt7603_mac_set_timing()
73 FIELD_PREP(MT_IFS_SLOT, dev->slottime)); in mt7603_mac_set_timing()
75 if (dev->slottime < 20 || is_5ghz) in mt7603_mac_set_timing()
229 u32 addr = mt7603_wtbl1_addr(sta->wcid.idx); in mt7603_wtbl_set_smps()
231 if (sta->smps == enabled) in mt7603_wtbl_set_smps()
235 sta->smps = enabled; in mt7603_wtbl_set_smps()
241 int idx = sta->wcid.idx; in mt7603_wtbl_set_ps()
[all …]
/openbmc/linux/sound/core/
H A Dpcm_misc.c2 * PCM Interface - misc routines
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #define SND_PCM_FORMAT_UNKNOWN (-1)
37 signed char le; /* 0 = big-endian, 1 = little-endian, -1 = others */
38 signed char signd; /* 0 = unsigned, 1 = signed, -1 = others */
39 unsigned char silence[8]; /* silence data to fill */
52 .width = 8, .phys = 8, .le = -1, .signd = 1,
56 .width = 8, .phys = 8, .le = -1, .signd = 0,
108 .width = 32, .phys = 32, .le = 1, .signd = -1,
112 .width = 32, .phys = 32, .le = 0, .signd = -1,
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dxmit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de>
45 if (e->bitrate == bitrate) in b43_tx_legacy_rate_phy_ctl_ent()
56 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck()
66 return -1; in b43_plcp_get_bitrate_idx_cck()
75 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm()
93 return -1; in b43_plcp_get_bitrate_idx_ofdm()
139 __u8 *raw = plcp->raw; in b43_generate_plcp_hdr()
147 plcp->data = cpu_to_le32(d); in b43_generate_plcp_hdr()
161 plcp->data |= cpu_to_le32(plen << 16); in b43_generate_plcp_hdr()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mac.c1 // SPDX-License-Identifier: ISC
28 memset(dev->mphy.aggr_stats, 0, sizeof(dev->mphy.aggr_stats)); in mt76x02_mac_reset_counters()
39 if (key->keylen > 32) in mt76x02_mac_get_key_info()
42 memcpy(key_data, key->key, key->keylen); in mt76x02_mac_get_key_info()
44 switch (key->cipher) { in mt76x02_mac_get_key_info()
67 return -EOPNOTSUPP; in mt76x02_mac_shared_key_setup()
103 atomic64_set(&key->tx_pn, pn); in mt76x02_mac_wcid_sync_pn()
116 return -EOPNOTSUPP; in mt76x02_mac_wcid_set_key()
124 !!(key->flags & IEEE80211_KEY_FLAG_PAIRWISE)); in mt76x02_mac_wcid_set_key()
126 pn = atomic64_read(&key->tx_pn); in mt76x02_mac_wcid_set_key()
[all …]
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dtxrx.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2007-2009, Christian Lamparter <chunkeey@web.de>
10 * - the islsm (softmac prism54) driver, which is:
11 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al.
12 * - stlc45xx driver
13 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
38 spin_lock_irqsave(&priv->tx_queue.lock, flags); in p54_dump_tx_queue()
39 wiphy_debug(priv->hw->wiphy, "/ --- tx queue dump (%d entries) ---\n", in p54_dump_tx_queue()
40 skb_queue_len(&priv->tx_queue)); in p54_dump_tx_queue()
42 prev_addr = priv->rx_start; in p54_dump_tx_queue()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de>
29 switch (plcp->raw[0]) { in b43legacy_plcp_get_bitrate_idx_cck()
40 return -1; in b43legacy_plcp_get_bitrate_idx_cck()
49 switch (plcp->raw[0] & 0xF) { in b43legacy_plcp_get_bitrate_idx_ofdm()
68 return -1; in b43legacy_plcp_get_bitrate_idx_ofdm()
114 __le32 *data = &(plcp->data); in b43legacy_generate_plcp_hdr() local
115 __u8 *raw = plcp->raw; in b43legacy_generate_plcp_hdr()
123 *data = cpu_to_le32(d); in b43legacy_generate_plcp_hdr()
137 *data |= cpu_to_le32(plen << 16); in b43legacy_generate_plcp_hdr()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dmicrochip,sparx5-serdes.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/microchip,sparx5-serdes.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Steen Hegelund <steen.hegelund@microchip.com>
14 support different operating modes and line rates.
21 * Rx built-in fault detector (loss-of-lock/loss-of-signal)
22 * Adjustable tx de-emphasis (FFE)
31 The SERDES6G is a high-speed SERDES interface, which can operate at
32 the following data rates:
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dir-usb.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2001-2002 Greg Kroah-Hartman (greg@kroah.com)
12 * please use the usb-irda driver, as it contains the proper error checking and
15 * Portions of this driver were taken from drivers/net/irda/irda-usb.c, which
19 * See Documentation/usb/usb-serial.rst for more information on using this
37 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Johan Hovold <jhovold@gmail.com>"
45 static int xbof = -1;
63 { USB_DEVICE(0x050f, 0x0180) }, /* KC Technology, KC-180 */
65 { USB_DEVICE(0x09c4, 0x0011) }, /* ACTiSys ACT-IR2000U */
75 .name = "ir-usb",
[all …]
/openbmc/linux/sound/soc/amd/acp/
H A Dacp-rembrandt.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
20 #include <sound/soc-dai.h>
21 #include <linux/dma-mapping.h>
59 .drv_name = "rmb-nau8825-max",
65 .drv_name = "rembrandt-acp",
69 .drv_name = "rmb-rt5682s-rt1019",
78 .name = "acp-i2s-sp",
82 .rates = SNDRV_PCM_RATE_8000_96000,
92 .rates = SNDRV_PCM_RATE_8000_48000,
103 .name = "acp-i2s-bt",
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h1 // SPDX-License-Identifier: ISC
76 #define BRCMF_MAXRATES_IN_SET 16 /* max # of rates in rateset */
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: */
124 /* tcp keepalive got data: */
181 /* MAX_CHUNK_LEN is the maximum length for data passing to firmware in each
233 u8 data[BRCMF_FIL_ACTION_FRAME_SIZE]; member
255 * struct tdls_iovar - common structure for tdls iovars.
288 * Variable length mask and pattern data. mask starts at offset 0.
[all …]
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dxfer_mode_rate.h1 /* SPDX-License-Identifier: BSD-3-Clause */
23 #define XFERMODE_IDX_I3C_HDR_DDR 0x01 /* I3C HDR-DDR Mode */
24 #define XFERMODE_IDX_I3C_HDR_T 0x02 /* I3C HDR-Ternary Mode */
25 #define XFERMODE_IDX_I3C_HDR_BT 0x03 /* I3C HDR-BT Mode */
38 * Master Data Transfer Rate Selector Values.
42 * The I3C_SDR0, I3C_SDR1, I3C_SDR2, I3C_SDR3, I3C_SDR4 and I2C_FM rates
44 * Data Transfer Rate Table. Indicated are typical rates. The actual
45 * rates may vary slightly and are also specified in the Data Transfer
67 * Master Data Transfer Rate Table Mode ID values.
73 * Master Data Transfer Rate Table Entry Bits Definitions
/openbmc/linux/sound/soc/codecs/
H A Dgtm601.c1 // SPDX-License-Identifier: GPL-2.0-only
38 .rates = SNDRV_PCM_RATE_8000,
45 .rates = SNDRV_PCM_RATE_8000,
56 .rates = SNDRV_PCM_RATE_48000,
63 .rates = SNDRV_PCM_RATE_48000,
82 dai_driver = of_device_get_match_data(&pdev->dev); in gtm601_platform_probe()
84 return devm_snd_soc_register_component(&pdev->dev, in gtm601_platform_probe()
90 { .compatible = "option,gtm601", .data = (void *)&gtm601_dai },
91 { .compatible = "broadmobi,bm818", .data = (void *)&bm818_dai },

12345678910>>...42