| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-debug.c | 461 struct stats_tx *tx, *accum_tx, *delta_tx, *max_tx; in il4965_ucode_tx_stats_read() local 479 max_tx = &il->_4965.max_delta.tx; in il4965_ucode_tx_stats_read() 486 delta_tx->preamble_cnt, max_tx->preamble_cnt); in il4965_ucode_tx_stats_read() 491 max_tx->rx_detected_cnt); in il4965_ucode_tx_stats_read() 496 max_tx->bt_prio_defer_cnt); in il4965_ucode_tx_stats_read() 501 max_tx->bt_prio_kill_cnt); in il4965_ucode_tx_stats_read() 505 delta_tx->few_bytes_cnt, max_tx->few_bytes_cnt); in il4965_ucode_tx_stats_read() 509 delta_tx->cts_timeout, max_tx->cts_timeout); in il4965_ucode_tx_stats_read() 513 delta_tx->ack_timeout, max_tx->ack_timeout); in il4965_ucode_tx_stats_read() 518 max_tx->expected_ack_cnt); in il4965_ucode_tx_stats_read() [all …]
|
| H A D | 3945-debug.c | 307 struct iwl39_stats_tx *tx, *accum_tx, *delta_tx, *max_tx; in il3945_ucode_tx_stats_read() local 326 max_tx = &il->_3945.max_delta.tx; in il3945_ucode_tx_stats_read() 337 delta_tx->preamble_cnt, max_tx->preamble_cnt); in il3945_ucode_tx_stats_read() 343 max_tx->rx_detected_cnt); in il3945_ucode_tx_stats_read() 349 max_tx->bt_prio_defer_cnt); in il3945_ucode_tx_stats_read() 355 max_tx->bt_prio_kill_cnt); in il3945_ucode_tx_stats_read() 360 delta_tx->few_bytes_cnt, max_tx->few_bytes_cnt); in il3945_ucode_tx_stats_read() 365 delta_tx->cts_timeout, max_tx->cts_timeout); in il3945_ucode_tx_stats_read() 370 delta_tx->ack_timeout, max_tx->ack_timeout); in il3945_ucode_tx_stats_read() 376 max_tx->expected_ack_cnt); in il3945_ucode_tx_stats_read() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_resc.c | 437 u16 *max_tx, u16 *max_nq) in _bnge_get_max_rings() argument 443 *max_tx = hw_resc->max_tx_rings; in _bnge_get_max_rings() 454 rc = bnge_fix_rings_count(max_rx, max_tx, max_cp, false); in _bnge_get_max_rings() 457 *max_tx = 0; in _bnge_get_max_rings() 464 u16 *max_tx, bool shared) in bnge_get_max_rings() argument 470 *max_tx = tx; in bnge_get_max_rings() 474 return bnge_fix_rings_count(max_rx, max_tx, nq, shared); in bnge_get_max_rings() 477 static int bnge_get_dflt_rings(struct bnge_dev *bd, u16 *max_rx, u16 *max_tx, in bnge_get_dflt_rings() argument 482 rc = bnge_get_max_rings(bd, max_rx, max_tx, shared); in bnge_get_dflt_rings() 505 rc = bnge_adjust_rings(bd, max_rx, max_tx, max_cp, shared); in bnge_get_dflt_rings()
|
| /linux/net/ethtool/ |
| H A D | channels.c | 69 (channels->max_tx && in channels_fill_reply() 71 channels->max_tx) || in channels_fill_reply() 139 else if (channels.tx_count > channels.max_tx) in ethnl_set_channels()
|
| /linux/drivers/usb/core/ |
| H A D | config.c | 103 int max_tx; in usb_parse_ss_endpoint_companion() local 186 max_tx = (desc->bMaxBurst + 1) * in usb_parse_ss_endpoint_companion() 190 max_tx = usb_endpoint_maxp(&ep->desc) * in usb_parse_ss_endpoint_companion() 193 max_tx = 999999; in usb_parse_ss_endpoint_companion() 194 if (le16_to_cpu(desc->wBytesPerInterval) > max_tx) { in usb_parse_ss_endpoint_companion() 201 max_tx); in usb_parse_ss_endpoint_companion() 202 ep->ss_ep_comp.wBytesPerInterval = cpu_to_le16(max_tx); in usb_parse_ss_endpoint_companion()
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| H A D | mcp251xfd-ram.h | 47 u8 max_tx; member
|
| H A D | mcp251xfd-ethtool.c | 26 ring->tx_max_pending = layout.max_tx; in mcp251xfd_ring_get_ringparam()
|
| H A D | mcp251xfd-ram.c | 93 layout->max_tx = can_ram_rounddown_pow_of_two(config, &config->tx, 0, num_tx); in can_ram_get_layout()
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_ethtool.c | 163 ch->max_tx = PRUETH_MAX_TX_QUEUES; in emac_get_channels() 168 ch->max_tx = 1; in emac_get_channels()
|
| /linux/net/bluetooth/ |
| H A D | l2cap_sock.c | 485 opts.max_tx = chan->max_tx; in l2cap_sock_getsockopt_old() 755 opts.max_tx = chan->max_tx; in l2cap_sock_setsockopt_old() 798 chan->max_tx = opts.max_tx; in l2cap_sock_setsockopt_old() 1860 chan->max_tx = pchan->max_tx; in l2cap_sock_init()
|
| H A D | l2cap_core.c | 523 chan->max_tx = L2CAP_DEFAULT_MAX_TX; in l2cap_chan_set_defaults() 526 chan->remote_max_tx = chan->max_tx; in l2cap_chan_set_defaults() 2047 if (chan->max_tx != 0 && in l2cap_ertm_resend() 2048 bt_cb(skb)->l2cap.retries > chan->max_tx) { in l2cap_ertm_resend() 2049 BT_DBG("Retry limit exceeded (%d)", chan->max_tx); in l2cap_ertm_resend() 2896 if (chan->max_tx == 0 || chan->retry_count < chan->max_tx) { in l2cap_tx_state_wait_f() 3333 rfc.max_transmit = chan->max_tx; in l2cap_build_conf_req() 5870 if (chan->max_tx != 0 && bt_cb(skb)->l2cap.retries >= chan->max_tx) { in l2cap_handle_srej() 5871 BT_DBG("Retry limit exceeded (%d)", chan->max_tx); in l2cap_handle_srej() 5922 if (chan->max_tx && skb && in l2cap_handle_rej() [all …]
|
| /linux/include/net/bluetooth/ |
| H A D | l2cap.h | 79 __u8 max_tx; member 551 __u8 max_tx; member
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-ethtool.c | 144 channel->max_tx = XLGMAC_MAX_DMA_CHANNELS; in xlgmac_ethtool_get_channels()
|
| /linux/drivers/spi/ |
| H A D | spi.c | 1383 unsigned int max_tx, max_rx; in spi_map_msg() local 1387 max_tx = 0; in spi_map_msg() 1393 max_tx = max(xfer->len, max_tx); in spi_map_msg() 1399 if (max_tx) { in spi_map_msg() 1400 tmp = krealloc(ctlr->dummy_tx, max_tx, in spi_map_msg() 1415 if (max_tx || max_rx) { in spi_map_msg()
|
| /linux/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_ethtool.c | 249 channel->max_tx = SXGBE_MAX_TX_CHANNELS; in sxgbe_get_channels()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | ipoib_tx.c | 160 u32 max_tx = tx_ring->max_items; in hfi1_ipoib_poll_tx_ring() local 172 head = CIRC_NEXT(head, max_tx); in hfi1_ipoib_poll_tx_ring()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 503 u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0; in lio_ethtool_get_channels() local 510 max_tx = CFG_GET_IQ_MAX_Q(conf6x); in lio_ethtool_get_channels() 534 channel->max_tx = max_tx; in lio_ethtool_get_channels()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1488 ch->max_tx = fbd->max_num_queues; in fbnic_get_channels() 1489 ch->max_combined = min(ch->max_rx, ch->max_tx); in fbnic_get_channels()
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 491 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 2218 channel->max_tx = min(nn->max_tx_rings, nn->max_r_vecs); in nfp_net_get_channels() 2219 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 14706 static void _bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, 14713 int max_rx, max_tx, max_cp, tx_sets = 1, tx_cp; in bnxt_check_rings() local 14721 _bnxt_get_max_rings(bp, &max_rx, &max_tx, &max_cp); in bnxt_check_rings() 14731 if (max_tx < hwr.tx) in bnxt_check_rings() 16421 static void _bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, in _bnxt_get_max_rings() argument 16427 *max_tx = hw_resc->max_tx_rings; in _bnxt_get_max_rings() 16446 rc = __bnxt_trim_rings(bp, max_rx, max_tx, *max_cp, false); in _bnxt_get_max_rings() 16449 *max_tx = 0; in _bnxt_get_max_rings() 16457 int bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, bool shared) in bnxt_get_max_rings() argument 16463 *max_tx = tx; in bnxt_get_max_rings() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 267 channel->max_tx = pfvf->hw.max_queues; in otx2_get_channels()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 538 ch->max_tx = vport_config->max_q.max_txq; in idpf_get_channels()
|
| /linux/drivers/net/ |
| H A D | veth.c | 257 channels->max_tx = dev->num_tx_queues; in veth_get_channels()
|
| /linux/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 1110 channels->max_tx = ibmveth_real_max_tx_queues(); in ibmveth_get_channels()
|