/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | engleder,tsnep.yaml | 1 # 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 D | ts-nbus.txt | 4 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 D | netmap_kern.h | 1 /*- 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 D | netmap_monitor.c | 2 * Copyright (C) 2014-2016 Giuseppe Lettieri 48 * Monitors can be either zero-copy or copy-based. 52 * - For tx traffic, this is when the application sends them, before they are 55 * - For rx traffic, this is when they are received by the adapter, before 60 * Zero-copy monitors only see the frames after they have been consumed: 62 * - For tx traffic, this is after the slots containing the frames have been 66 * - For rx traffic, this is after the consumer on the monitored adapter 70 * Several copy or zero-copy monitors may be active on any ring. 134 return na->nm_register == netmap_zmon_reg; in nm_is_zmon() 143 nm_prlim(1, "%s %x", kring->name, flags); in netmap_monitor_txsync() [all …]
|
H A D | netmap_bdg.c | 2 * 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 D | netmap.c | 1 /*- 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. 77 - a spinlock on each ring, to handle producer/consumer races on 84 - an atomic variable to guarantee that there is at most one 96 - *xsync() should be protected against initializations of the card. [all …]
|
H A D | netmap_pipe.c | 1 /*- 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 D | netmap_mem2.c | 1 /*- 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 D | eeprom-5 | 10 |-------------------------------------------------------------| 15 |-------------------------------------------------------------| 23 | txrx Attenuation $txrxAtten | Capabilities $capField | 24 | Turbo txrx Attenuat $txrxAttenTurbo | Turbo Switch Settling $switchSettlingTurbo | 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 |-------------------------------------------------------------| 109 | txrx Attenuation $txrxAtten | Capabilities $capField | [all …]
|
H A D | eeprom-3 | 7 |-------------------------------------------------------------| 12 |-------------------------------------------------------------| 19 | txrx Attenuation $txrxAtten | Capabilities $capField | 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 | 92 |-------------------------------------------------------------| [all …]
|
H A D | eeprom-4 | 9 |-------------------------------------------------------------| 14 |-------------------------------------------------------------| 22 | txrx Attenuation $txrxAtten | Capabilities $capField | 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 | 102 |-------------------------------------------------------------| [all …]
|
/freebsd/sys/modules/axgbe/if_axa/ |
H A D | Makefile | 6 …RCS += if_axgbe.c xgbe-sysctl.c xgbe_osdep.c xgbe-desc.c xgbe-drv.c xgbe-mdio.c xgbe-dev.c xgbe…
|
/freebsd/sys/modules/axgbe/if_axp/ |
H A D | Makefile | 6 … += if_axgbe_pci.c xgbe-sysctl.c xgbe_osdep.c xgbe-desc.c xgbe-drv.c xgbe-mdio.c xgbe-dev.c xgbe…
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | Makefile | 1 # SPDX-License-Identifier: ISC 2 obj-$(CONFIG_ATH10K) += ath10k_core.o 3 ath10k_core-y += mac.o \ 10 txrx.o \ 12 wmi-tlv.o \ 18 ath10k_core-$(CONFIG_ATH10K_SPECTRAL) += spectral.o 19 ath10k_core-$(CONFIG_NL80211_TESTMODE) += testmode.o 20 ath10k_core-$(CONFIG_ATH10K_TRACING) += trace.o 21 ath10k_core-$(CONFIG_THERMAL) += thermal.o 22 ath10k_core-$(CONFIG_MAC80211_DEBUGFS) += debugfs_sta.o [all …]
|
H A D | fwlog.c | 24 #define FW_DBGLOG_TIMESTAMP_MASK 0xFFFFFFFF /* Bit 0-15. Contains bit 25 8-23 of the LF0 timer */ 27 #define FW_DBGLOG_DBGID_MASK 0x000003FF /* Bit 0-9 */ 31 #define FW_DBGLOG_MODULEID_MASK 0x0003FC00 /* Bit 10-17 */ 35 #define FW_DBGLOG_VAPID_MASK 0x03FC0000 /* Bit 20-25*/ 39 #define FW_DBGLOG_NUM_ARGS_MASK 0xFC000000 /* Bit 26-31 */ 538 "" /* Mgmt TxRx */ 540 { "" /* Data TxRx */ 1426 if ((ar->wmi.op_version == in ath10k_fwlog_print() 1428 if ((ar->running_fw->fw_file.wmi_op_version == in ath10k_fwlog_print() [all …]
|
H A D | txrx.c | 1 // 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 D | debugfs_sta.c | 1 // 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() 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() 33 stats->rx_pkt_ampdu[ATH10K_AMPDU_SUBFRM_NUM_10]++; in ath10k_rx_stats_update_ampdu_subfrm() [all …]
|
/freebsd/sys/modules/ath10k/ |
H A D | Makefile | 11 SRCS+= txrx.c wmi.c wmi-tlv.c 22 CFLAGS+= -DCONFIG_FWLOG=${WITH_CONFIG_FWLOG} 25 CFLAGS+= -DKBUILD_MODNAME='"ath10k"' 27 CFLAGS+= -I${DEVATH10KDIR} 28 CFLAGS+= -I${DEVATH10KDIR}/.. 31 #CFLAGS+= -ferror-limit=0 33 CFLAGS+= -DCONFIG_ATH10K_DEBUG 35 #CFLAGS+= -DCONFIG_ATH10K_AHB 36 #CFLAGS+= -DCONFIG_ATH10K_DEBUGFS 37 #CFLAGS+= -DCONFIG_ATH10K_DFS_CERTIFIED [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_iflib_recovery_txrx.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 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 - Flush Tx descriptors to hardware 106 * ice_recovery_txd_credits_update - cleanup Tx descriptors 124 * ice_recovery_rxd_available - Retur [all...] |
H A D | ice_iflib_txrx.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 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-zero error code on failure. in ice_ift_txd_encap() 137 int nsegs = pi->ipi_nsegs; in ice_ift_txd_encap() 138 bus_dma_segment_t *segs = pi->ipi_seg in ice_ift_txd_encap() [all...] |
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | sdio.c | 1 // SPDX-License-Identifier: ISC 34 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) { in mt7663s_txrx_worker() 35 queue_work(mdev->wq, &dev->pm.wake_work); in mt7663s_txrx_worker() 39 mt76_connac_pm_unref(&dev->mphy, &dev->pm); in mt7663s_txrx_worker() 55 struct mt76_sdio *sdio = &dev->sdio; in mt7663s_parse_intr() 56 struct mt7663s_intr *irq_data = sdio->intr_data; in mt7663s_parse_intr() 59 sdio_claim_host(sdio->func); in mt7663s_parse_intr() 60 err = sdio_readsb(sdio->func, irq_data, MCR_WHISR, sizeof(*irq_data)); in mt7663s_parse_intr() 61 sdio_release_host(sdio->func); in mt7663s_parse_intr() 66 intr->isr = irq_data->isr; in mt7663s_parse_intr() [all …]
|
/freebsd/sys/dev/ena/ |
H A D | ena_netmap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2024 Amazon.com, Inc. or its affiliates. 86 ena_log_nm(adapter->pdev, INFO, "netmap attach\n"); in ena_netmap_attach() 90 na.ifp = adapter->ifp; in ena_netmap_attach() 91 na.num_tx_desc = adapter->requested_tx_ring_size; in ena_netmap_attach() 92 na.num_rx_desc = adapter->requested_rx_ring_size; in ena_netmap_attach() 93 na.num_tx_rings = adapter->num_io_queues; in ena_netmap_attach() 94 na.num_rx_rings = adapter->num_io_queues; in ena_netmap_attach() 95 na.rx_buf_maxsize = adapter->buf_ring_size; in ena_netmap_attach() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | sdio.c | 1 // SPDX-License-Identifier: ISC 32 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) { in mt7921s_txrx_worker() 33 queue_work(mdev->wq, &dev->pm.wake_work); in mt7921s_txrx_worker() 38 mt76_connac_pm_unref(&dev->mphy, &dev->pm); in mt7921s_txrx_worker() 43 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_unregister_device() 45 cancel_work_sync(&dev->init_work); in mt7921s_unregister_device() 46 mt76_unregister_device(&dev->mt76); in mt7921s_unregister_device() 47 cancel_delayed_work_sync(&pm->ps_work); in mt7921s_unregister_device() 48 cancel_work_sync(&pm->wake_work); in mt7921s_unregister_device() 50 mt76s_deinit(&dev->mt76); in mt7921s_unregister_device() [all …]
|
/freebsd/sys/conf/ |
H A D | files.amd64 | 9 # The long compile-with and dependency lines are required because of 10 # limitations in config: backslash-newline doesn't work in strings, and 14 elf-vdso.so.o standard \ 16 compile-with "env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' DEBUG='${DEBUG}' OBJCOPY='${OBJCOPY}' ELFDUMP='${ELFDUMP}' S='${S}' sh $S/tools/amd64_vdso.sh" \ 17 no-ctfconvert \ 18 no-implicit-rule before-depend \ 19 clean "elf-vdso.so.o elf-vds [all...] |
/freebsd/sys/contrib/dev/rtw89/ |
H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 8 #include "txrx.h" 1380 #define TXADDR_INFO_LENTHG_V1_MAX ALIGN_DOWN(BIT(11) - 1, 4) 1509 sizeof(info->status.status_driver_data)); 1511 return (struct rtw89_pci_rx_info *)skb->cb; 1517 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_rin [all...] |