Home
last modified time | relevance | path

Searched refs:tx_cnt (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c483 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_per_qstats() local
488 for (q = 0; q < tx_cnt; q++) { in stmmac_get_per_qstats()
624 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_sset_count() local
631 STMMAC_TXQ_STATS * tx_cnt + in stmmac_get_sset_count()
657 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_qstats_string() local
661 for (q = 0; q < tx_cnt; q++) { in stmmac_get_qstats_string()
788 u32 tx_cnt; in __stmmac_get_coalesce() local
791 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_get_coalesce()
792 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_get_coalesce()
799 if (queue < tx_cnt) { in __stmmac_get_coalesce()
[all …]
H A Dstmmac_main.c461 u8 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_eee_tx_busy() local
465 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_eee_tx_busy()
994 u8 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_mac_flow_ctrl() local
997 tx_cnt); in stmmac_mac_flow_ctrl()
1502 u8 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_display_tx_rings() local
1508 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_display_tx_rings()
3642 u8 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_hw_setup() local
3713 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_hw_setup()
3732 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_hw_setup()
6226 u8 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_common_interrupt() local
[all …]
H A Dstmmac.h417 int stmmac_reinit_queues(struct net_device *dev, u8 rx_cnt, u8 tx_cnt);
H A Dstmmac_selftests.c1683 u32 chan, tx_cnt = priv->plat->tx_queues_to_use; in stmmac_test_mjumbo() local
1686 if (tx_cnt <= 1) in stmmac_test_mjumbo()
1689 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_test_mjumbo()
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c25 u32 tx_cnt = 0; in sun4i_ss_opti_poll() local
106 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_opti_poll()
118 todo = min(tx_cnt, oleft); in sun4i_ss_opti_poll()
191 u32 tx_cnt = 0; in sun4i_ss_cipher_poll() local
322 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_cipher_poll()
324 if (!tx_cnt) in sun4i_ss_cipher_poll()
337 todo = min(tx_cnt, oleft / 4); in sun4i_ss_cipher_poll()
353 readsl(ss->base + SS_TXFIFO, ss->bufo, tx_cnt); in sun4i_ss_cipher_poll()
354 obl = tx_cnt * 4; in sun4i_ss_cipher_poll()
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852a.h89 u16 tx_cnt; member
102 u16 tx_cnt, u16 period, u16 tx_time,
H A Drtw8852b_common.h100 u16 tx_cnt; member
130 u16 tx_cnt, u16 period, u16 tx_time,
234 u16 tx_cnt, u16 period, u16 tx_time, in rtw8852bx_bb_set_pmac_pkt_tx() argument
237 rtw8852bx_info.bb_set_pmac_pkt_tx(rtwdev, enable, tx_cnt, period, tx_time, idx, in rtw8852bx_bb_set_pmac_pkt_tx()
H A Drtw8852b_common.c1456 u32 pkt_cnt = tx_info->tx_cnt; in rtw8852bx_start_pmac_tx()
1503 u16 tx_cnt, u16 period, u16 tx_time, in __rtw8852bx_bb_set_pmac_pkt_tx() argument
1511 tx_info.tx_cnt = tx_cnt; in __rtw8852bx_bb_set_pmac_pkt_tx()
H A Drtw8852a.c1675 u32 pkt_cnt = tx_info->tx_cnt; in rtw8852a_start_pmac_tx()
1719 u16 tx_cnt, u16 period, u16 tx_time, in rtw8852a_bb_set_pmac_pkt_tx() argument
1727 tx_info.tx_cnt = tx_cnt; in rtw8852a_bb_set_pmac_pkt_tx()
/linux/drivers/rapidio/
H A Drio_cm.c154 int tx_cnt; member
640 cm->mport->id, slot, cm->tx_cnt); in rio_txcq_handler()
648 while (cm->tx_cnt && ((ack_slot != slot) || in rio_txcq_handler()
649 (cm->tx_cnt == RIOCM_TX_RING_SIZE))) { in rio_txcq_handler()
654 cm->tx_cnt--; in rio_txcq_handler()
657 if (cm->tx_cnt < 0 || cm->tx_cnt > RIOCM_TX_RING_SIZE) in rio_txcq_handler()
658 riocm_error("tx_cnt %d out of sync", cm->tx_cnt); in rio_txcq_handler()
660 WARN_ON((cm->tx_cnt < 0) || (cm->tx_cnt > RIOCM_TX_RING_SIZE)); in rio_txcq_handler()
667 if (!list_empty(&cm->tx_reqs) && (cm->tx_cnt < RIOCM_TX_RING_SIZE)) { in rio_txcq_handler()
679 ++cm->tx_cnt; in rio_txcq_handler()
[all …]
/linux/drivers/net/
H A Drionet.c57 int tx_cnt; member
156 if (++rnet->tx_cnt == RIONET_TX_RING_SIZE) in rionet_queue_tx_msg()
184 if ((rnet->tx_cnt + add_num) > RIONET_TX_RING_SIZE) { in rionet_start_xmit()
294 while (rnet->tx_cnt && (rnet->ack_slot != slot)) { in rionet_outb_msg_event()
300 rnet->tx_cnt--; in rionet_outb_msg_event()
303 if (rnet->tx_cnt < RIONET_TX_RING_SIZE) in rionet_outb_msg_event()
348 rnet->tx_cnt = 0; in rionet_open()
/linux/drivers/net/ethernet/intel/idpf/
H A Dxdp.c257 u32 tx_cnt = xdpsq->desc_count; in idpf_xdpsq_poll() local
271 ret + tx_cnt - tx_ntc; in idpf_xdpsq_poll()
301 u32 tx_cnt = xdpsq->desc_count; in idpf_xdpsq_complete() local
320 if (unlikely(++tx_ntc == tx_cnt)) in idpf_xdpsq_complete()
H A Dxsk.c241 u32 tx_cnt = xdpsq->desc_count; in idpf_xsksq_complete() local
251 if (tx_ntc >= tx_cnt) in idpf_xsksq_complete()
252 tx_ntc -= tx_cnt; in idpf_xsksq_complete()
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c749 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset()
1244 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1432 if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) { in emac_xmit_finish()
1492 ++dev->tx_cnt; in emac_xmit_split()
1523 if (unlikely(dev->tx_cnt + nr_frags + mal_tx_chunks(len) > NUM_TX_BUFF)) in emac_start_xmit_sg()
1545 if (unlikely(dev->tx_cnt + mal_tx_chunks(len) >= NUM_TX_BUFF)) in emac_start_xmit_sg()
1575 --dev->tx_cnt; in emac_start_xmit_sg()
1620 DBG2(dev, "poll_tx, %d %d" NL, dev->tx_cnt, dev->ack_slot); in emac_poll_tx()
1628 if (dev->tx_cnt) { in emac_poll_tx()
1646 if (--dev->tx_cnt) in emac_poll_tx()
[all …]
H A Dcore.h237 int tx_cnt; member
/linux/drivers/usb/host/
H A Dfhci-tds.c511 out_be16(&ep->ep_pram_ptr->tx_cnt, 0); in fhci_flush_bds()
560 out_be16(&ep->ep_pram_ptr->tx_cnt, 0); in fhci_flush_actual_frame()
/linux/sound/soc/sof/amd/
H A Dacp.c89 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x8, dscr_info->tx_cnt.u32_all); in config_dma_channel()
180 adata->dscr_info[desc_count].tx_cnt.bits.count = ACP_PAGE_SIZE; in configure_and_run_dma()
182 adata->dscr_info[desc_count].tx_cnt.bits.count = dsp_data_size; in configure_and_run_dma()
H A Dacp.h157 union dma_tx_cnt tx_cnt;
146 union dma_tx_cnt tx_cnt; global() member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_entity.h39 u32 tx_cnt[T6_PM_NSTATS]; member
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h36 u32 tx_cnt; member
/linux/drivers/net/wireless/realtek/rtw88/
H A Dtx.c26 rtwdev->stats.tx_cnt++; in rtw_tx_stats()
30 rtwvif->stats.tx_cnt++; in rtw_tx_stats()
/linux/net/smc/
H A Dsmc_stats.h81 u64 tx_cnt; member
H A Dsmc_stats.c232 smc_tech->tx_cnt, in smc_nl_fill_stats_tech_data()
/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c648 vvs->tx_cnt += ret; in virtio_transport_get_credit()
662 vvs->tx_cnt -= credit; in virtio_transport_put_credit()
1041 (vvs->tx_cnt - vvs->peer_fwd_cnt); in virtio_transport_has_space()
/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c1121 static bool pdc_rings_full(struct pdc_state *pdcs, int tx_cnt, int rx_cnt) in pdc_rings_full() argument
1138 if (unlikely(tx_cnt > tx_avail)) { in pdc_rings_full()

12