Home
last modified time | relevance | path

Searched +full:txrx +full:- +full:3 (Results 1 – 25 of 28) 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/contrib/dev/rtw89/
H A Dusb.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
8 #include "txrx.h"
58 return (struct rtw89_usb *)rtwdev->priv; in rtw89_usb_priv()
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 */
56 {18, 152, grp_0}, /* ACH 3 */
76 9, /* CH 0-11 pre-cost */
77 32, /* H2C pre-cost */
78 64, /* WP CH 0-7 pre-cost */
79 24, /* WP CH 8-11 pre-cost */
[all …]
H A Dusb.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
9 #include "txrx.h"
18 struct usb_device *udev = rtwusb->udev; in rtw89_usb_vendorreq()
23 if (test_bit(RTW89_FLAG_UNPLUGGED, rtwdev->flags)) in rtw89_usb_vendorreq()
30 *rtwusb->vendor_req_buf = 0; in rtw89_usb_vendorreq()
37 memcpy(rtwusb->vendor_req_buf, data, len); in rtw89_usb_vendorreq()
41 value, index, rtwusb->vendor_req_buf, in rtw89_usb_vendorreq()
45 atomic_set(&rtwusb->continual_io_error, 0); in rtw89_usb_vendorreq()
48 memcpy(data, rtwusb->vendor_req_buf, len); in rtw89_usb_vendorreq()
53 if (ret == -ESHUTDOWN || ret == -ENODEV) in rtw89_usb_vendorreq()
[all …]
H A Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
8 #include "txrx.h"
13 #define MDIO_PG1_G2 3
32 #define B_PCIE_BIT_PINOUT_DIS BIT(3)
39 #define BAC_AUTOK_N_MASK GENMASK(3, 2)
74 #define B_AX_SEL_XFER_PENDING BIT(3)
101 #define B_AX_PCIE_IO_RCY_WDT_MODE_M1 BIT(3)
110 #define B_AX_PCIE_IO_RCY_WDT_MODE_M2 BIT(3)
119 #define B_AX_PCIE_IO_RCY_WDT_MODE_E0 BIT(3)
130 #define B_AX_PCIE_IO_RCY_WDT_MODE_S1 BIT(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), 0},
261 PWR_CMD_WRITE, BIT(4) | BIT(3) | BIT(2) | BIT(1) | BIT(0), 0},
364 PWR_CMD_WRITE, BIT(4) | BIT(3), BIT(3)},
370 PWR_CMD_WRITE, BIT(4) | BIT(3), BIT(3)},
407 R_AX_C2HREG_DATA3 + 3, R_AX_C2HREG_DATA3 + 3,
543 ether_addr_copy(efuse->addr, map->e.mac_addr); in rtw8852ae_efuse_parsing()
[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 */
58 {18, 152, grp_0}, /* ACH 3 */
78 9, /* CH 0-11 pre-cost */
79 32, /* H2C pre-cost */
80 64, /* WP CH 0-7 pre-cost */
81 24, /* WP CH 8-11 pre-cost */
82 1, /* CH 0-11 full condition */
[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),
246 ((((int)(center_freq) - RTW89_6GHZ_SPAN_HEAD) / 5) / 2)
327 .n_bitrates = ARRAY_SIZE(rtw89_bitrates) - 4,
339 .n_bitrates = ARRAY_SIZE(rtw89_bitrates) - 4,
346 stats->tx_cnt++; in __rtw89_traffic_stats_accu()
347 stats->tx_unicast += skb->len; in __rtw89_traffic_stats_accu()
349 stats->rx_cnt++; in __rtw89_traffic_stats_accu()
[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 …]
/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>
108 * - Prefetching in tx cleaning should perhaps be a tunable. The distance ahead
111 * - NFLX's m_free path is dominated by vm-based M_EXT manipulation which
113 * - small packet forwarding which is just returning a single mbuf to
120 * - private structures
121 * - iflib private utility functions
122 * - ifnet functions
123 * - vlan registry and other exported functions
124 * - iflib public core functions
[all …]

12