| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/ |
| D | ethtool-coalesce.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 source ethtool-common.sh 9 echo $(ethtool -c $NSIM_NETDEV | \ 10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}') 20 if ! ethtool -h | grep -q coalesce; then 21 echo "SKIP: No --coalesce support in ethtool" 27 set -o pipefail 29 declare -A SETTINGS_MAP=( 30 ["rx-frames-low"]="rx-frame-low" 31 ["tx-frames-low"]="tx-frame-low" [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/engleder/ |
| D | tsnep_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */ 6 * The TSN endpoint Ethernet MAC is a FPGA based network device for real-time 10 * It supports multiple TX/RX queue pairs. The first TX/RX queue pair is used 14 * - www.embedded-experts.at/tsn 15 * - www.engleder-embedded.com 36 #define TSNEP_MAX_RX_BUF_SIZE (PAGE_SIZE - TSNEP_HEADROOM - \ 38 /* XSK buffer shall store at least Q-in-Q frame */ 52 ECM_INT_DELAY_BASE_US + ECM_INT_DELAY_BASE_US - 1) 78 iowrite32(mask, adapter->addr + ECM_INT_ENABLE); in tsnep_enable_irq() [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/tegra/ |
| D | ivc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 47 * This structure is divided into two-cache aligned parts, the first is only 48 * written through the tx.channel pointer, while the second is only written 49 * through the rx.channel pointer. This delineates ownership of the cache 50 * lines, which is critical to performance and necessary in non-cache coherent 62 } tx; member 68 } rx; member 73 if (!ivc->peer) in tegra_ivc_invalidate() 76 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate() [all …]
|
| /kernel/linux/linux-6.6/drivers/firmware/tegra/ |
| D | ivc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 47 * This structure is divided into two-cache aligned parts, the first is only 48 * written through the tx.channel pointer, while the second is only written 49 * through the rx.channel pointer. This delineates ownership of the cache 50 * lines, which is critical to performance and necessary in non-cache coherent 62 } tx; member 68 } rx; member 79 if (!ivc->peer) in tegra_ivc_invalidate() 82 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
| D | lan966x_fdma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 static struct page *lan966x_fdma_rx_alloc_page(struct lan966x_rx *rx, in lan966x_fdma_rx_alloc_page() argument 19 page = page_pool_dev_alloc_pages(rx->page_pool); in lan966x_fdma_rx_alloc_page() 23 db->dataptr = page_pool_get_dma_addr(page) + XDP_PACKET_HEADROOM; in lan966x_fdma_rx_alloc_page() 28 static void lan966x_fdma_rx_free_pages(struct lan966x_rx *rx) in lan966x_fdma_rx_free_pages() argument 34 page_pool_put_full_page(rx->page_pool, in lan966x_fdma_rx_free_pages() 35 rx->page[i][j], false); in lan966x_fdma_rx_free_pages() 39 static void lan966x_fdma_rx_free_page(struct lan966x_rx *rx) in lan966x_fdma_rx_free_page() argument 43 page = rx->page[rx->dcb_index][rx->db_index]; in lan966x_fdma_rx_free_page() 47 page_pool_recycle_direct(rx->page_pool, page); in lan966x_fdma_rx_free_page() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
| D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2011-2012 Texas Instruments 45 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u"); 46 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u"); 47 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u"); 48 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u"); 49 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u"); 50 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u"); 51 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u"); 52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u"); [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ti/wl18xx/ |
| D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2011-2012 Texas Instruments 45 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u"); 46 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u"); 47 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u"); 48 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u"); 49 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u"); 50 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u"); 51 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u"); 52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u"); [all …]
|
| /kernel/linux/linux-6.6/drivers/net/phy/ |
| D | linkmode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * linkmode_resolve_pause - resolve the allowable pause modes 19 * 0 1 1 1 TX 21 * 1 X 1 X TX+RX 22 * 1 1 0 1 RX 47 * linkmode_set_pause - set the pause mode advertisement 49 * @tx: boolean from ethtool struct ethtool_pauseparam tx_pause member 50 * @rx: boolean from ethtool struct ethtool_pauseparam rx_pause member 53 * capabilities of provided in @tx and @rx. 56 * tx rx Pause AsymDir [all …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | linkmode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * linkmode_resolve_pause - resolve the allowable pause modes 19 * 0 1 1 1 TX 21 * 1 X 1 X TX+RX 22 * 1 1 0 1 RX 47 * linkmode_set_pause - set the pause mode advertisement 49 * @tx: boolean from ethtool struct ethtool_pauseparam tx_pause member 50 * @rx: boolean from ethtool struct ethtool_pauseparam rx_pause member 53 * capabilities of provided in @tx and @rx. 56 * tx rx Pause AsymDir [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/gdm724x/ |
| D | gdm_usb.c | 1 // SPDX-License-Identifier: GPL-2.0 60 struct usb_device *usbdev = udev->usbdev; in request_mac_address() 62 int ret = -1; in request_mac_address() 66 return -ENOMEM; in request_mac_address() 68 hci->cmd_evt = gdm_cpu_to_dev16(udev->gdm_ed, LTE_GET_INFORMATION); in request_mac_address() 69 hci->len = gdm_cpu_to_dev16(udev->gdm_ed, 1); in request_mac_address() 70 hci->data[0] = MAC_ADDRESS; in request_mac_address() 75 udev->request_mac_addr = 1; in request_mac_address() 88 ret = -ENOMEM; in alloc_tx_struct() 92 t->urb = usb_alloc_urb(0, GFP_ATOMIC); in alloc_tx_struct() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/gdm724x/ |
| D | gdm_usb.c | 1 // SPDX-License-Identifier: GPL-2.0 60 struct usb_device *usbdev = udev->usbdev; in request_mac_address() 62 int ret = -1; in request_mac_address() 66 return -ENOMEM; in request_mac_address() 68 hci->cmd_evt = gdm_cpu_to_dev16(udev->gdm_ed, LTE_GET_INFORMATION); in request_mac_address() 69 hci->len = gdm_cpu_to_dev16(udev->gdm_ed, 1); in request_mac_address() 70 hci->data[0] = MAC_ADDRESS; in request_mac_address() 75 udev->request_mac_addr = 1; in request_mac_address() 88 ret = -ENOMEM; in alloc_tx_struct() 92 t->urb = usb_alloc_urb(0, GFP_ATOMIC); in alloc_tx_struct() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
| D | bna_tx_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux network driver for QLogic BR-series Converged Network Adapter. 6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 7 * Copyright (c) 2014-2015 QLogic Corporation 18 ib->coalescing_timeo = coalescing_timeo; in bna_ib_coalescing_timeo_set() 19 ib->door_bell.doorbell_ack = BNA_DOORBELL_IB_INT_ACK( in bna_ib_coalescing_timeo_set() 20 (u32)ib->coalescing_timeo, 0); in bna_ib_coalescing_timeo_set() 27 (rxf)->vlan_pending_bitmask = (u8)BFI_VLAN_BMASK_ALL; \ 28 (rxf)->vlan_strip_pending = true; \ 33 if ((rxf)->rss_status == BNA_STATUS_T_ENABLED) \ [all …]
|
| D | bfa_defs_cna.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Linux network driver for QLogic BR-series Converged Network Adapter. 6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 7 * Copyright (c) 2014-2015 QLogic Corporation 19 u64 tx_frames; /*!< Tx frames */ 20 u64 tx_words; /*!< Tx words */ 21 u64 tx_lip; /*!< Tx LIP */ 22 u64 tx_nos; /*!< Tx NOS */ 23 u64 tx_ols; /*!< Tx OLS */ 24 u64 tx_lr; /*!< Tx LR */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
| D | bna_tx_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux network driver for QLogic BR-series Converged Network Adapter. 6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 7 * Copyright (c) 2014-2015 QLogic Corporation 18 ib->coalescing_timeo = coalescing_timeo; in bna_ib_coalescing_timeo_set() 19 ib->door_bell.doorbell_ack = BNA_DOORBELL_IB_INT_ACK( in bna_ib_coalescing_timeo_set() 20 (u32)ib->coalescing_timeo, 0); in bna_ib_coalescing_timeo_set() 27 (rxf)->vlan_pending_bitmask = (u8)BFI_VLAN_BMASK_ALL; \ 28 (rxf)->vlan_strip_pending = true; \ 33 if ((rxf)->rss_status == BNA_STATUS_T_ENABLED) \ [all …]
|
| D | bfa_defs_cna.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Linux network driver for QLogic BR-series Converged Network Adapter. 6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 7 * Copyright (c) 2014-2015 QLogic Corporation 19 u64 tx_frames; /*!< Tx frames */ 20 u64 tx_words; /*!< Tx words */ 21 u64 tx_lip; /*!< Tx LIP */ 22 u64 tx_nos; /*!< Tx NOS */ 23 u64 tx_ols; /*!< Tx OLS */ 24 u64 tx_lr; /*!< Tx LR */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
| D | sparx5_fdma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * https://github.com/microchip-ung/sparx-5_reginfo 15 #include <linux/dma-mapping.h> 42 * +---------------------------+ 44 * +---------------------------+ 46 * +---------------------------+ 48 * +---------------------------+ 50 * +---------------------------+ 52 * +---------------------------+ 54 * +---------------------------+ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
| D | lan743x_main.c | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 23 pci_release_selected_regions(adapter->pdev, in lan743x_pci_cleanup() 24 pci_select_bars(adapter->pdev, in lan743x_pci_cleanup() 26 pci_disable_device(adapter->pdev); in lan743x_pci_cleanup() 35 adapter->pdev = pdev; in lan743x_pci_init() 40 netif_info(adapter, probe, adapter->netdev, in lan743x_pci_init() 42 pdev->vendor, pdev->device); in lan743x_pci_init() 55 pci_disable_device(adapter->pdev); in lan743x_pci_init() 63 return ioread32(&adapter->csr.csr_address[offset]); in lan743x_csr_read() 69 iowrite32(data, &adapter->csr.csr_address[offset]); in lan743x_csr_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
| D | radio_2055.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define B2055_C1_SP_RXGC1 0x07 /* SP RX GC1 Core 1 */ 16 #define B2055_C1_SP_RXGC2 0x08 /* SP RX GC2 Core 1 */ 17 #define B2055_C2_SP_RXGC1 0x09 /* SP RX GC1 Core 2 */ 18 #define B2055_C2_SP_RXGC2 0x0A /* SP RX GC2 Core 2 */ 21 #define B2055_C1_SP_TXGC1 0x0D /* SP TX GC1 Core 1 */ 22 #define B2055_C1_SP_TXGC2 0x0E /* SP TX GC2 Core 1 */ 23 #define B2055_C2_SP_TXGC1 0x0F /* SP TX GC1 Core 2 */ 24 #define B2055_C2_SP_TXGC2 0x10 /* SP TX GC2 Core 2 */ 30 #define B2055_C1_PD_TX 0x16 /* PD Core 1 TX */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
| D | radio_2055.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define B2055_C1_SP_RXGC1 0x07 /* SP RX GC1 Core 1 */ 16 #define B2055_C1_SP_RXGC2 0x08 /* SP RX GC2 Core 1 */ 17 #define B2055_C2_SP_RXGC1 0x09 /* SP RX GC1 Core 2 */ 18 #define B2055_C2_SP_RXGC2 0x0A /* SP RX GC2 Core 2 */ 21 #define B2055_C1_SP_TXGC1 0x0D /* SP TX GC1 Core 1 */ 22 #define B2055_C1_SP_TXGC2 0x0E /* SP TX GC2 Core 1 */ 23 #define B2055_C2_SP_TXGC1 0x0F /* SP TX GC1 Core 2 */ 24 #define B2055_C2_SP_TXGC2 0x10 /* SP TX GC2 Core 2 */ 30 #define B2055_C1_PD_TX 0x16 /* PD Core 1 TX */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/pasemi/ |
| D | pasemi_mac_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2008 PA Semi, Inc 19 { "rx-drops" }, 20 { "rx-bytes" }, 21 { "rx-packets" }, 22 { "rx-broadcast-packets" }, 23 { "rx-multicast-packets" }, 24 { "rx-crc-errors" }, 25 { "rx-undersize-errors" }, 26 { "rx-oversize-errors" }, [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/pasemi/ |
| D | pasemi_mac_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2008 PA Semi, Inc 19 { "rx-drops" }, 20 { "rx-bytes" }, 21 { "rx-packets" }, 22 { "rx-broadcast-packets" }, 23 { "rx-multicast-packets" }, 24 { "rx-crc-errors" }, 25 { "rx-undersize-errors" }, 26 { "rx-oversize-errors" }, [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/ |
| D | lan743x_main.c | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 41 netif_err(adapter, drv, adapter->netdev, in pci11x1x_strap_get_status() 54 adapter->is_sgmii_en = true; in pci11x1x_strap_get_status() 56 adapter->is_sgmii_en = false; in pci11x1x_strap_get_status() 61 adapter->is_sgmii_en = true; in pci11x1x_strap_get_status() 63 adapter->is_sgmii_en = false; in pci11x1x_strap_get_status() 65 adapter->is_sgmii_en = false; in pci11x1x_strap_get_status() 68 netif_dbg(adapter, drv, adapter->netdev, in pci11x1x_strap_get_status() 69 "SGMII I/F %sable\n", adapter->is_sgmii_en ? "En" : "Dis"); in pci11x1x_strap_get_status() 74 struct lan743x_csr *csr = &adapter->csr; in is_pci11x1x_chip() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/musb/ |
| D | cppi_dma.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2005-2006 by Texas Instruments 6 * For now it's DaVinci-only, but CPPI isn't specific to DaVinci or USB. 21 /* CPPI DMA status 7-mar-2006: 23 * - See musb_{host,gadget}.c for more info 25 * - Correct RX DMA generally forces the engine into irq-per-packet mode, 26 * which can easily saturate the CPU under non-mass-storage loads. 28 * NOTES 24-aug-2006 (2.6.18-rc4): 30 * - peripheral RXDMA wedged in a test with packets of length 512/512/1. 33 * and RX DMA0: 4 left, 80000000 8feff880, 8feff860 8feff860; 8f321401 [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | ipsec_fs.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 35 /* IPsec RX flow steering */ 45 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_rx() 46 return ipsec->rx_esw; in ipsec_rx() 49 return ipsec->rx_ipv4; in ipsec_rx() 51 return ipsec->rx_ipv6; in ipsec_rx() 56 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_tx() 57 return ipsec->tx_esw; in ipsec_tx() 59 return ipsec->tx; in ipsec_tx() 132 struct mlx5e_ipsec_rx *rx) in ipsec_rx_status_drop_destroy() argument [all …]
|
| /kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
| D | mtk-btcvsd.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #define BTCVSD_SND_NAME "mtk-btcvsd-snd" 27 /* TX */ 32 /* RX */ 130 spinlock_t tx_lock; /* spinlock for bt tx stream control */ 131 spinlock_t rx_lock; /* spinlock for bt rx stream control */ 135 struct mtk_btcvsd_snd_stream *tx; member 136 struct mtk_btcvsd_snd_stream *rx; member 195 regmap_update_bits(bt->infra, bt->infra_misc_offset, in mtk_btcvsd_snd_irq_enable() 196 bt->conn_bt_cvsd_mask, 0); in mtk_btcvsd_snd_irq_enable() [all …]
|