| /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 11 * 1. Redistributions of source code must retain the above copyright 86 #define likely(x) __builtin_expect((long)!!(x), 1L) 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)) [all …]
|
| H A D | netmap_monitor.c | 2 * Copyright (C) 2014-2016 Giuseppe Lettieri 8 * 1. Redistributions of source code must retain the above copyright 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() [all …]
|
| H A D | netmap_bdg.c | 2 * Copyright (C) 2013-2016 Universita` di Pisa 8 * 1. Redistributions of source code must retain the above copyright 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() [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 13 * 1. Redistributions of source code must retain the above copyright 41 * i.e. user-accessible copies of the interface's queues. 44 * 1. a process/thread issues one or more open() on /dev/netmap, to create 77 - a spinlock on each ring, to handle producer/consumer races on [all …]
|
| H A D | netmap_pipe.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2014-2018 Giuseppe Lettieri 10 * 1. Redistributions of source code must retain the above copyright 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() [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 12 * 1. Redistributions of source code must retain the above copyright 98 /* ---------------------------------------------------*/ 104 uint32_t *bitmap; /* one bit per buffer, 1 means free */ 105 uint32_t *invalid_bitmap;/* one bit per buffer, 1 means invalid */ 113 /* ---------------------------------------------------*/ [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 | 27 | Antenna control 0 $antennaControl0 | Antenna control 1 $antennaControl1 | 33 |-------------------------------------------------------------| 49 .ifpdgain 1 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 |-------------------------------------------------------------| [all …]
|
| H A D | eeprom-3 | 7 |-------------------------------------------------------------| 12 |-------------------------------------------------------------| 19 | txrx Attenuation $txrxAtten | Capabilities $capField | 20 | Antenna control 0 $antennaControl0 | Antenna control 1 $antennaControl1 | 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 D | eeprom-4 | 9 |-------------------------------------------------------------| 14 |-------------------------------------------------------------| 22 | txrx Attenuation $txrxAtten | Capabilities $capField | 23 | Antenna control 0 $antennaControl0 | Antenna control 1 $antennaControl1 | 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/modules/ath10k/ |
| H A D | Makefile | 5 WITH_CONFIG_FWLOG= 1 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 [all …]
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_iflib_recovery_txrx.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 8 * 1. Redistributions of source code must retain the above copyright notice, 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 - cleanu [all...] |
| H A D | ice_iflib_txrx.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 8 * 1. Redistributions of source code must retain the above copyright notice, 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_nseg in ice_ift_txd_encap() [all...] |
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| 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" 16 if (msdu_count == 1) in ath10k_rx_stats_update_amsdu_subfrm() 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() [all …]
|
| H A D | htt_tx.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 11 #include "txrx.h" 31 factor = max(1, factor); 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 D | htt_rx.c | 1 // 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() 38 WARN_ON_ONCE(1); 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() [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. 11 * 1. Redistributions of source code must retain the above copyright 36 #define ENA_NETMAP_MORE_FRAMES 1 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() [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}' OBJCOPY='${OBJCOPY}' ELFDUMP='${EL… 17 no-ctfconvert \ 18 no-implicit-rule before-depend \ 19 clean "elf-vdso.so.o elf-vdso.so.1 vdso_offsets.h sigtramp.pico" 21 elf-vdso32.so.o optional compat_freebsd32 \ 23 …compile-with "env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' OBJCOPY='${OBJCOPY}' ELFDUMP='${EL… 24 no-ctfconvert \ [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | usb.c | 1 // 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 D | rtw8852b.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2022 Realtek Corporation 14 #include "txrx.h" 16 #define RTW8852B_FW_FORMAT_MAX 1 19 RTW8852B_FW_BASENAME "-" __stringify(RTW8852B_FW_FORMAT_MAX) ".bin" 23 {5, 341, grp_0}, /* ACH 1 */ 39 0, /* Group 1 */ 54 {18, 152, grp_0}, /* ACH 1 */ 70 0, /* Group 1 */ 76 9, /* CH 0-11 pre-cost */ [all …]
|
| H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 8 #include "txrx.h" 11 #define MDIO_PG1_G1 1 16 #define OOBS_SEN_MASK GENMASK(5, 1) 64 #define B_AX_DBI_2LSB GENMASK(1, 0) 89 #define B_AX_CLK_REQ_N BIT(1) 95 #define B_AX_CLK_REQ_SEL_OPT BIT(1) 131 #define B_AX_PCIE_IO_RCY_RTRIG_S1 BIT(1) 158 #define B_AX_GPIO17_INT_EN BIT(1) 163 #define B_AX_GPIO17_INT BIT(1) [all …]
|