Home
last modified time | relevance | path

Searched +full:txrx +full:- +full:3 (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dengleder,tsnep.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
/freebsd/sys/contrib/device-tree/Bindings/bus/
H A Dts-nbus.txt4 Systems FPGA on the TS-4600 SoM.
7 - compatible : "technologic,ts-nbus"
8 - #address-cells : must be 1
9 - #size-cells : must be 0
10 - pwms : The PWM bound to the FPGA
11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA
12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA
13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA
14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA
15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA
[all …]
/freebsd/sys/dev/netmap/
H A Dnetmap_kern.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo
5 * Copyright (C) 2013-2016 Universita` di Pisa
92 #define NM_MTX_T struct sx /* OS-specific mutex (sleepable) */
102 #define MBUF_LEN(m) ((m)->m_pkthdr.len)
103 #define MBUF_TXQ(m) ((m)->m_pkthdr.flowid)
104 #define MBUF_TRANSMIT(na, ifp, m) ((na)->if_transmit(ifp, m))
105 #define GEN_TX_MBUF_IFP(m) ((m)->m_pkthdr.rcvif)
106 #define GEN_TX_MBUF_NA(m) ((struct netmap_adapter *)(m)->m_ext.ext_arg1)
[all …]
H A Dnetmap_bdg.c2 * Copyright (C) 2013-2016 Universita` di Pisa
31 --- VALE SWITCH ---
44 On the rx ring, the per-port lock is grabbed initially to reserve
54 * OS-specific code that is used only within this file.
55 * Other OS-specific code that must be accessed by drivers
114 struct nm_bridge *b = vp->na_bdg; in netmap_bdg_name()
117 return b->bdg_basename; in netmap_bdg_name()
145 int colon_pos = -1; in nm_bdg_name_validate()
149 return -1; in nm_bdg_name_validate()
157 return -1; in nm_bdg_name_validate()
[all …]
H A Dnetmap.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2011-2014 Matteo Landi
5 * Copyright (C) 2011-2016 Luigi Rizzo
6 * Copyright (C) 2011-2016 Giuseppe Lettieri
7 * Copyright (C) 2011-2016 Vincenzo Maffione
41 * i.e. user-accessible copies of the interface's queues.
48 * 3. on each descriptor, the process issues an mmap() request to
77 - a spinlock on each ring, to handle producer/consumer races on
84 - an atomic variable to guarantee that there is at most one
[all …]
H A Dnetmap_pipe.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2014-2018 Giuseppe Lettieri
95 if (npipes <= na->na_max_pipes) in nm_pipe_alloc()
99 if (npipes < na->na_next_pipe || npipes > NM_MAXPIPES) in nm_pipe_alloc()
102 old_len = sizeof(struct netmap_pipe_adapter *)*na->na_max_pipes; in nm_pipe_alloc()
104 npa = nm_os_realloc(na->na_pipes, len, old_len); in nm_pipe_alloc()
108 na->na_pipes = npa; in nm_pipe_alloc()
109 na->na_max_pipes = npipes; in nm_pipe_alloc()
118 if (na->na_pipes) { in netmap_pipe_dealloc()
[all …]
H A Dnetmap_mem2.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2012-2014 Matteo Landi
5 * Copyright (C) 2012-2016 Luigi Rizzo
6 * Copyright (C) 2012-2016 Giuseppe Lettieri
98 /* ---------------------------------------------------*/
113 /* ---------------------------------------------------*/
134 #define NMA_LOCK_INIT(n) NM_MTX_INIT((n)->nm_mtx)
135 #define NMA_LOCK_DESTROY(n) NM_MTX_DESTROY((n)->nm_mtx)
136 #define NMA_LOCK(n) NM_MTX_LOCK((n)->nm_mtx)
[all …]
/freebsd/tools/tools/ath/athprom/
H A Deeprom-510 |-------------------------------------------------------------|
15 |-------------------------------------------------------------|
23 | txrx Attenuation $txrxAtten | Capabilities $capField |
24 | Turbo txrx Attenuat $txrxAttenTurbo | Turbo Switch Settling $switchSettlingTurbo |
28 | Antenna control 2 $antennaControl2 | Antenna control 3 $antennaControl3 |
33 |-------------------------------------------------------------|
63 | 6-24 | $pwr6_24_0 | $pwr6_24_1 | $pwr6_24_2 | $pwr6_24_3 |
70 | 6-24 | $pwr6_24_4 | $pwr6_24_5 | $pwr6_24_6 | $pwr6_24_7 |
96 |-------------------------------------------------------------|
101 |-------------------------------------------------------------|
[all …]
H A Deeprom-37 |-------------------------------------------------------------|
12 |-------------------------------------------------------------|
19 | txrx Attenuation $txrxAtten | Capabilities $capField |
21 | Antenna control 2 $antennaControl2 | Antenna control 3 $antennaControl3 |
26 |-------------------------------------------------------------|
56 …| 6-24 | $pwr6_24_0 | $pwr6_24_1 | $pwr6_24_2 | $pwr6_24_3 …
63 …| 6-24 | $pwr6_24_4 | $pwr6_24_5 | $pwr6_24_6 | $pwr6_24_7 …
73 |-------------------------------------------------------------|
78 |-------------------------------------------------------------|
85 | txrx Attenuation $txrxAtten | Capabilities $capField |
[all …]
H A Deeprom-49 |-------------------------------------------------------------|
14 |-------------------------------------------------------------|
22 | txrx Attenuation $txrxAtten | Capabilities $capField |
24 | Antenna control 2 $antennaControl2 | Antenna control 3 $antennaControl3 |
29 |-------------------------------------------------------------|
50 …| 6-24 | $pwr6_24_0 | $pwr6_24_1 | $pwr6_24_2 | $pwr6_24_3 …
57 …| 6-24 | $pwr6_24_4 | $pwr6_24_5 | $pwr6_24_6 | $pwr6_24_7 …
82 |-------------------------------------------------------------|
87 |-------------------------------------------------------------|
95 | txrx Attenuation $txrxAtten | Capabilities $capField |
[all …]
/freebsd/sys/dev/ice/
H A Dice_iflib_recovery_txrx.c1 /* SPDX-License-Identifier: BSD-3-Clause */
15 * 3. Neither the name of the Intel Corporation nor the names of its
45 * iflib txrx methods used when in recovery mode
59 * Similar to ice_txrx, but contains pointers to functions which are no-ops.
74 * ice_recovery_txd_encap - prepare Tx descriptors for a packet
90 * ice_recovery_txd_flush - Flus
[all...]
H A Dice_iflib_txrx.c1 /* SPDX-License-Identifier: BSD-3-Clause */
15 * 3. Neither the name of the Intel Corporation nor the names of its
60 * iflib txrx method declarations
82 (((struct ice_32b_rx_flex_desc_nic *)desc)->field)
123 * _ice_ift_txd_encap - prepare Tx descriptors for a packet in ice_ift_txd_encap()
132 * Return 0 on success, non-zer in ice_ift_txd_encap()
[all...]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dtxrx.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2016 Qualcomm Atheros, Inc.
9 #include "txrx.h"
18 if (likely(!(info->flags & IEEE80211_TX_CTL_TX_OFFCHAN))) in ath10k_report_offchan_tx()
29 spin_lock_bh(&ar->data_lock); in ath10k_report_offchan_tx()
30 if (ar->offchan_tx_skb != skb) { in ath10k_report_offchan_tx()
35 complete(&ar->offchan_tx_completed); in ath10k_report_offchan_tx()
36 ar->offchan_tx_skb = NULL; /* just for sanity */ in ath10k_report_offchan_tx()
40 spin_unlock_bh(&ar->data_lock); in ath10k_report_offchan_tx()
[all …]
H A Ddebugfs_sta.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc.
8 #include "wmi-ops.h"
9 #include "txrx.h"
17 stats->rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_1]++; in ath10k_rx_stats_update_amsdu_subfrm()
19 stats->rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_2]++; in ath10k_rx_stats_update_amsdu_subfrm()
20 else if (msdu_count == 3) in ath10k_rx_stats_update_amsdu_subfrm()
21 stats->rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_3]++; in ath10k_rx_stats_update_amsdu_subfrm()
23 stats->rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_4]++; in ath10k_rx_stats_update_amsdu_subfrm()
25 stats->rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_MORE]++; in ath10k_rx_stats_update_amsdu_subfrm()
[all …]
H A Dhtt_tx.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
11 #include "txrx.h"
23 factor >>= 3; in ath10k_htt_tx_txq_calc_size()
40 struct ath10k *ar = hw->priv; in __ath10k_htt_tx_txq_recalc()
42 struct ath10k_vif *arvif = (void *)txq->vif->drv_priv; in __ath10k_htt_tx_txq_recalc()
51 lockdep_assert_held(&ar->htt.tx_lock); in __ath10k_htt_tx_txq_recalc()
53 if (!ar->htt.tx_q_state.enabled) in __ath10k_htt_tx_txq_recalc()
56 if (ar->htt.tx_q_state.mode != HTT_TX_MODE_SWITCH_PUSH_PULL) in __ath10k_htt_tx_txq_recalc()
[all …]
H A Dhtt_rx.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
11 #include "txrx.h"
34 hash_for_each_possible(ar->htt.rx_ring.skb_table, rxcb, hlist, paddr) in ath10k_htt_rx_find_skb_paddr()
35 if (rxcb->paddr == paddr) in ath10k_htt_rx_find_skb_paddr()
49 if (htt->rx_ring.in_ord_rx) { in ath10k_htt_rx_ring_free()
50 hash_for_each_safe(htt->rx_ring.skb_table, i, n, rxcb, hlist) { in ath10k_htt_rx_ring_free()
52 dma_unmap_single(htt->ar->dev, rxcb->paddr, in ath10k_htt_rx_ring_free()
53 skb->len + skb_tailroom(skb), in ath10k_htt_rx_ring_free()
[all …]
H A Dmac.c1 // 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.
24 #include "txrx.h"
26 #include "wmi-tlv.h"
27 #include "wmi-ops.h"
100 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \
135 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx()
136 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
8 #include "txrx.h"
13 #define MDIO_PG1_G2 3
27 #define B_PCIE_BIT_PINOUT_DIS BIT(3)
34 #define BAC_AUTOK_N_MASK GENMASK(3,
[all...]
H A Drtw8852a.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
13 #include "txrx.h"
24 {128, 1896, grp_0}, /* ACH 3 */
186 PWR_CMD_WRITE, BIT(4) | BIT(3),
[all...]
H A Drtw8851b.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2022-2023 Realtek Corporation
15 #include "txrx.h"
27 {5, 343, grp_0}, /* ACH 3 */
109 R_AX_C2HREG_DATA3 + 3, R_AX_C2HREG_DATA
[all...]
H A Drtw8852b.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2022 Realtek Corporation
14 #include "txrx.h"
19 RTW8852B_FW_BASENAME "-" __stringify(RTW8852B_FW_FORMAT_MAX) ".bin"
25 {4, 342, grp_0}, /* ACH 3 */
[all...]
H A Dphy.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
14 #include "txrx.h"
19 const struct rtw89_phy_gen_def *phy = rtwdev->chip->phy_de in get_max_amsdu_len()
[all...]
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
24 #include "txrx.h"
61 RTW89_DEF_CHAN_2G(2422, 3),
258 .n_bitrates = ARRAY_SIZE(rtw89_bitrates) - 4,
270 .n_bitrates = ARRAY_SIZE(rtw89_bitrates) - 4,
277 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in rtw89_traffic_stats_accu()
279 if (tx && ieee80211_is_assoc_req(hdr->frame_control)) in rtw89_traffic_stats_accu()
282 if (!ieee80211_is_data(hdr->frame_control)) in rtw89_traffic_stats_accu()
285 if (is_broadcast_ether_addr(hdr->addr1) || in rtw89_traffic_stats_accu()
[all …]
/freebsd/sys/dev/axgbe/
H A Dxgbe-dev.c4 * Copyright (c) 2014-2016,2020 Advanced Micro Devices, Inc.
116 #include "xgbe-common.h"
122 return (if_getmtu(pdata->netdev) + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN); in xgbe_get_max_frame()
131 rate = pdata->sysclk_rate; in xgbe_usec_to_riwt()
150 rate = pdata->sysclk_rate; in xgbe_riwt_to_usec()
170 pbl = pdata->pbl; in xgbe_config_pbl_val()
172 if (pdata->pbl > 32) { in xgbe_config_pbl_val()
174 pbl >>= 3; in xgbe_config_pbl_val()
177 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_pbl_val()
178 XGMAC_DMA_IOWRITE_BITS(pdata->channel[i], DMA_CH_CR, PBLX8, in xgbe_config_pbl_val()
[all …]
/freebsd/sys/net/
H A Diflib.c1 /*-
2 * Copyright (c) 2014-2018, Matthew Macy <mmacy@mattmacy.io>
107 * - Prefetching in tx cleaning should perhaps be a tunable. The distance ahead
110 * - NFLX's m_free path is dominated by vm-based M_EXT manipulation which
112 * - small packet forwarding which is just returning a single mbuf to
119 * - private structures
120 * - iflib private utility functions
121 * - ifnet functions
122 * - vlan registry and other exported functions
123 * - iflib public core functions
[all …]

12