Home
last modified time | relevance | path

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

123

/linux/drivers/media/cec/platform/stm32/
A Dstm32-cec.c77 int tx_cnt; member
112 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done()
114 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done()
117 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done()
222 cec->tx_cnt = 0; in stm32_cec_adap_transmit()
236 cec->tx_cnt++; in stm32_cec_adap_transmit()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ethtool.c532 for (q = 0; q < tx_cnt; q++) { in stmmac_get_per_qstats()
613 STMMAC_TXQ_STATS * tx_cnt + in stmmac_get_sset_count()
643 for (q = 0; q < tx_cnt; q++) { in stmmac_get_qstats_string()
845 u32 tx_cnt; in __stmmac_get_coalesce() local
848 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_get_coalesce()
849 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_get_coalesce()
856 if (queue < tx_cnt) { in __stmmac_get_coalesce()
899 u32 tx_cnt; in __stmmac_set_coalesce() local
903 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_set_coalesce()
946 for (i = 0; i < tx_cnt; i++) { in __stmmac_set_coalesce()
[all …]
A Ddwmac100_core.c137 u32 tx_cnt) in dwmac100_flow_ctrl() argument
A Dstmmac_main.c405 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_enable_eee_mode() local
409 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_enable_eee_mode()
943 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_mac_flow_ctrl() local
946 priv->pause, tx_cnt); in stmmac_mac_flow_ctrl()
956 int tx_cnt = priv->plat->tx_queues_to_use; in stmmac_validate() local
1033 if (tx_cnt > 1) { in stmmac_validate()
3349 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_hw_setup()
3371 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_hw_setup()
5624 queues_count = (rx_cnt > tx_cnt) ? rx_cnt : tx_cnt; in stmmac_common_interrupt()
5631 &priv->xstats, tx_cnt); in stmmac_common_interrupt()
[all …]
A Ddwmac4_core.c735 u32 tx_cnt) in dwmac4_flow_ctrl() argument
754 for (queue = 0; queue < tx_cnt; queue++) { in dwmac4_flow_ctrl()
764 for (queue = 0; queue < tx_cnt; queue++) in dwmac4_flow_ctrl()
/linux/drivers/crypto/allwinner/sun4i-ss/
A Dsun4i-ss-cipher.c26 u32 tx_cnt = 0; in sun4i_ss_opti_poll() local
109 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_opti_poll()
121 todo = min(tx_cnt, oleft); in sun4i_ss_opti_poll()
194 u32 tx_cnt = 0; in sun4i_ss_cipher_poll() local
328 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_cipher_poll()
330 if (!tx_cnt) in sun4i_ss_cipher_poll()
343 todo = min(tx_cnt, oleft / 4); in sun4i_ss_cipher_poll()
359 readsl(ss->base + SS_TXFIFO, ss->bufo, tx_cnt); in sun4i_ss_cipher_poll()
360 obl = tx_cnt * 4; in sun4i_ss_cipher_poll()
/linux/drivers/input/serio/
A Dps2-gpio.c57 unsigned char tx_cnt; member
234 cnt = drvdata->tx_cnt; in ps2_gpio_irq_tx()
310 drvdata->tx_cnt = cnt; in ps2_gpio_irq_tx()
406 drvdata->tx_cnt = 1; in ps2_gpio_probe()
/linux/drivers/rapidio/
A Drio_cm.c154 int tx_cnt; member
644 cm->mport->id, slot, cm->tx_cnt); in rio_txcq_handler()
652 while (cm->tx_cnt && ((ack_slot != slot) || in rio_txcq_handler()
658 cm->tx_cnt--; in rio_txcq_handler()
661 if (cm->tx_cnt < 0 || cm->tx_cnt > RIOCM_TX_RING_SIZE) in rio_txcq_handler()
664 WARN_ON((cm->tx_cnt < 0) || (cm->tx_cnt > RIOCM_TX_RING_SIZE)); in rio_txcq_handler()
683 ++cm->tx_cnt; in rio_txcq_handler()
686 if (cm->tx_cnt == RIOCM_TX_RING_SIZE) in rio_txcq_handler()
746 if (cm->tx_cnt == RIOCM_TX_RING_SIZE) { in riocm_post_send()
758 ++cm->tx_cnt; in riocm_post_send()
[all …]
/linux/drivers/net/
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/wireless/realtek/rtw89/
A Drtw8852a.h90 u16 tx_cnt; member
101 u16 tx_cnt, u16 period, u16 tx_time,
A Dcore.c133 stats->tx_cnt++; in rtw89_traffic_stats_accu()
1645 stats->tx_cnt); in rtw89_traffic_stats_calc()
1648 stats->tx_avg_len = stats->tx_cnt ? in rtw89_traffic_stats_calc()
1649 DIV_ROUND_DOWN_ULL(stats->tx_unicast, stats->tx_cnt) : 0; in rtw89_traffic_stats_calc()
1655 stats->tx_cnt = 0; in rtw89_traffic_stats_calc()
1699 stats->tx_cnt = 0; in rtw89_traffic_stats_init()
/linux/drivers/media/radio/wl128x/
A Dfmdrv_common.c302 atomic_set(&fmdev->tx_cnt, 1); in recv_tasklet()
317 atomic_set(&fmdev->tx_cnt, 1); in recv_tasklet()
326 if (num_fm_hci_cmds && atomic_read(&fmdev->tx_cnt)) in recv_tasklet()
341 if (!atomic_read(&fmdev->tx_cnt)) in send_tasklet()
347 atomic_set(&fmdev->tx_cnt, 1); in send_tasklet()
355 atomic_dec(&fmdev->tx_cnt); in send_tasklet()
369 atomic_set(&fmdev->tx_cnt, 1); in send_tasklet()
1549 atomic_set(&fmdev->tx_cnt, 1); in fmc_prepare()
A Dfmdrv.h208 atomic_t tx_cnt; /* Number of packets can send at a time */ member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_ptp.h68 unsigned long tx_cnt; member
/linux/drivers/net/ethernet/ibm/emac/
A Dcore.c756 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset()
1250 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1442 if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) { in emac_xmit_finish()
1502 ++dev->tx_cnt; in emac_xmit_split()
1533 if (unlikely(dev->tx_cnt + nr_frags + mal_tx_chunks(len) > NUM_TX_BUFF)) in emac_start_xmit_sg()
1555 if (unlikely(dev->tx_cnt + mal_tx_chunks(len) >= NUM_TX_BUFF)) in emac_start_xmit_sg()
1585 --dev->tx_cnt; in emac_start_xmit_sg()
1630 DBG2(dev, "poll_tx, %d %d" NL, dev->tx_cnt, dev->ack_slot); in emac_poll_tx()
1638 if (dev->tx_cnt) { in emac_poll_tx()
1656 if (--dev->tx_cnt) in emac_poll_tx()
[all …]
A Dcore.h242 int tx_cnt; member
/linux/include/linux/
A Dvirtio_vsock.h29 u32 tx_cnt; member
/linux/drivers/dma/ioat/
A Dhw.h100 uint64_t tx_cnt; member
/linux/net/vmw_vsock/
A Dvirtio_transport_common.c272 ret = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); in virtio_transport_get_credit()
275 vvs->tx_cnt += ret; in virtio_transport_get_credit()
285 vvs->tx_cnt -= credit; in virtio_transport_put_credit()
568 bytes = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); in virtio_transport_has_space()
/linux/drivers/usb/host/
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/drivers/net/ethernet/packetengines/
A Dyellowfin.c276 u16 tx_cnt; member
280 u16 tx_cnt;
964 yp->tx_status[entry].tx_cnt, in yellowfin_interrupt()
1239 i, yp->tx_status[i].tx_cnt, yp->tx_status[i].tx_errs, in yellowfin_close()
/linux/drivers/net/wireless/realtek/rtw88/
A Dtx.c26 rtwdev->stats.tx_cnt++; in rtw_tx_stats()
30 rtwvif->stats.tx_cnt++; in rtw_tx_stats()
/linux/drivers/net/wireless/microchip/wilc1000/
A Dhif.h38 u32 tx_cnt; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcudbg_entity.h39 u32 tx_cnt[T6_PM_NSTATS]; member
/linux/drivers/i2c/busses/
A Di2c-qup.c728 u32 tx_cnt = qup->btx.sg_cnt, rx_cnt = qup->brx.sg_cnt; in qup_i2c_bam_schedule_desc() local
745 ret = qup_sg_set_buf(&qup->btx.sg[tx_cnt++], &qup->btx.tag.start[0], in qup_i2c_bam_schedule_desc()
750 txd = dmaengine_prep_slave_sg(qup->btx.dma, qup->btx.sg, tx_cnt, in qup_i2c_bam_schedule_desc()
820 dma_unmap_sg(qup->dev, qup->btx.sg, tx_cnt, DMA_TO_DEVICE); in qup_i2c_bam_schedule_desc()

Completed in 89 milliseconds

123