/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mmio.c | 55 int max_rx = 16; in rt2x00mmio_rxdone() local 57 while (--max_rx) { in rt2x00mmio_rxdone() 84 return !max_rx; in rt2x00mmio_rxdone()
|
/openbmc/linux/net/ethtool/ |
H A D | channels.c | 64 if ((channels->max_rx && in channels_fill_reply() 66 channels->max_rx) || in channels_fill_reply() 138 if (channels.rx_count > channels.max_rx) in ethnl_set_channels()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | ethtool.h | 41 __u32 max_rx; member
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-ram.c | 92 layout->max_rx = can_ram_rounddown_pow_of_two(config, &config->rx, 0, num_rx); in can_ram_get_layout() 106 if (num_rx > layout->max_rx) in can_ram_get_layout()
|
H A D | mcp251xfd-ram.h | 46 u8 max_rx; member
|
H A D | mcp251xfd-ethtool.c | 25 ring->rx_max_pending = layout.max_rx; in mcp251xfd_ring_get_ringparam()
|
/openbmc/linux/drivers/net/wireless/intersil/p54/ |
H A D | lmac.h | 299 __le16 max_rx; member 306 __le16 max_rx; member
|
H A D | fwio.c | 365 setup->v1.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac() 371 setup->v2.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac()
|
/openbmc/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_ethtool.c | 153 ch->max_rx = 1; in emac_get_channels()
|
/openbmc/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-ethtool.c | 143 channel->max_rx = XLGMAC_MAX_DMA_CHANNELS; in xlgmac_ethtool_get_channels()
|
/openbmc/linux/drivers/spi/ |
H A D | spi.c | 1275 unsigned int max_tx, max_rx; in spi_map_msg() local 1280 max_rx = 0; in spi_map_msg() 1288 max_rx = max(xfer->len, max_rx); in spi_map_msg() 1299 if (max_rx) { in spi_map_msg() 1300 tmp = krealloc(ctlr->dummy_rx, max_rx, in spi_map_msg() 1307 if (max_tx || max_rx) { in spi_map_msg()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 915 channels->max_rx = queue_count; in dpaa2_eth_get_channels() 922 channels->max_combined = channels->max_rx + in dpaa2_eth_get_channels()
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_ethtool.c | 250 channel->max_rx = SXGBE_MAX_RX_CHANNELS; in sxgbe_get_channels()
|
/openbmc/linux/drivers/s390/net/ |
H A D | qeth_ethtool.c | 204 channels->max_rx = dev->num_rx_queues; in qeth_get_channels()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 293 __u32 max_rx; member
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_ethtool.c | 425 cmd->max_rx = priv->rx_cfg.max_queues; in gve_get_channels()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 12164 int max_rx, max_tx, tx_sets = 1; in bnxt_check_rings() local 12172 rc = bnxt_get_max_rings(bp, &max_rx, &max_tx, sh); in bnxt_check_rings() 12176 if (max_rx < rx) in bnxt_check_rings() 13303 *max_rx = hw_resc->max_rx_rings; in _bnxt_get_max_rings() 13313 *max_rx -= 2; in _bnxt_get_max_rings() 13316 *max_rx >>= 1; in _bnxt_get_max_rings() 13318 bnxt_trim_rings(bp, max_rx, max_tx, *max_cp, false); in _bnxt_get_max_rings() 13322 *max_rx = min_t(int, *max_rx, max_ring_grps); in _bnxt_get_max_rings() 13330 *max_rx = rx; in bnxt_get_max_rings() 13343 rc = bnxt_get_max_rings(bp, max_rx, max_tx, shared); in bnxt_get_dflt_rings() [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_ethtool.c | 501 u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0; in lio_ethtool_get_channels() local 507 max_rx = CFG_GET_OQ_MAX_Q(conf6x); in lio_ethtool_get_channels() 531 channel->max_rx = max_rx; in lio_ethtool_get_channels()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ethtool.h | 554 __u32 max_rx; member
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 716 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels()
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-ethtool.c | 429 ch->max_rx = AM65_CPSW_MAX_RX_QUEUES; in am65_cpsw_get_channels()
|
H A D | cpsw_ethtool.c | 388 ch->max_rx = cpsw->quirk_irq ? 1 : CPSW_MAX_QUEUES; in cpsw_get_channels()
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | ethtool.h | 554 uint32_t max_rx; member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 1820 channel->max_rx = min(nn->max_rx_rings, nn->max_r_vecs); in nfp_net_get_channels() 1822 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
|
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_ethtool.c | 715 channel->max_rx = nic->max_queues; in nicvf_get_channels()
|