Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/media/cec/platform/stm32/
H A Dstm32-cec.c76 int tx_cnt; member
111 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done()
113 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done()
116 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done()
221 cec->tx_cnt = 0; in stm32_cec_adap_transmit()
235 cec->tx_cnt++; in stm32_cec_adap_transmit()
/linux-6.15/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-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c595 for (q = 0; q < tx_cnt; q++) { in stmmac_get_per_qstats()
738 STMMAC_TXQ_STATS * tx_cnt + in stmmac_get_sset_count()
768 for (q = 0; q < tx_cnt; q++) { in stmmac_get_qstats_string()
948 u32 tx_cnt; in __stmmac_get_coalesce() local
951 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_get_coalesce()
952 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_get_coalesce()
959 if (queue < tx_cnt) { in __stmmac_get_coalesce()
1002 u32 tx_cnt; in __stmmac_set_coalesce() local
1006 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_set_coalesce()
1049 for (i = 0; i < tx_cnt; i++) { in __stmmac_set_coalesce()
[all …]
H A Ddwmac100_core.c129 u32 tx_cnt) in dwmac100_flow_ctrl() argument
H A Dstmmac_main.c425 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_eee_tx_busy() local
429 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_eee_tx_busy()
899 tx_cnt); in stmmac_mac_flow_ctrl()
3580 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_hw_setup()
3602 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_hw_setup()
6050 queues_count = (rx_cnt > tx_cnt) ? rx_cnt : tx_cnt; in stmmac_common_interrupt()
6057 &priv->xstats, tx_cnt); in stmmac_common_interrupt()
6955 u32 dma_csr_ch = max(rx_cnt, tx_cnt); in stmmac_xdp_open()
7016 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_xdp_open()
7102 for (q = 0; q < tx_cnt; q++) { in stmmac_get_stats64()
[all …]
H A Ddwmac4_core.c708 u32 tx_cnt) in dwmac4_flow_ctrl() argument
729 for (queue = 0; queue < tx_cnt; queue++) { in dwmac4_flow_ctrl()
739 for (queue = 0; queue < tx_cnt; queue++) in dwmac4_flow_ctrl()
/linux-6.15/drivers/spi/
H A Dspi-sunplus-sp7021.c183 unsigned int tx_cnt, total_len; in sp7021_spi_host_irq() local
190 tx_cnt = FIELD_GET(SP7021_TX_CNT_MASK, fd_status); in sp7021_spi_host_irq()
204 tx_cnt = min(tx_len - pspim->tx_cur_len, pspim->data_unit - tx_cnt); in sp7021_spi_host_irq()
206 fd_status, rx_cnt, tx_cnt, tx_len); in sp7021_spi_host_irq()
210 if (tx_cnt > 0) in sp7021_spi_host_irq()
211 sp7021_spi_host_wb(pspim, tx_cnt); in sp7021_spi_host_irq()
/linux-6.15/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()
/linux-6.15/drivers/rapidio/
H A Drio_cm.c154 int tx_cnt; member
646 cm->mport->id, slot, cm->tx_cnt); in rio_txcq_handler()
654 while (cm->tx_cnt && ((ack_slot != slot) || in rio_txcq_handler()
660 cm->tx_cnt--; in rio_txcq_handler()
663 if (cm->tx_cnt < 0 || cm->tx_cnt > RIOCM_TX_RING_SIZE) in rio_txcq_handler()
666 WARN_ON((cm->tx_cnt < 0) || (cm->tx_cnt > RIOCM_TX_RING_SIZE)); in rio_txcq_handler()
685 ++cm->tx_cnt; in rio_txcq_handler()
688 if (cm->tx_cnt == RIOCM_TX_RING_SIZE) in rio_txcq_handler()
748 if (cm->tx_cnt == RIOCM_TX_RING_SIZE) { in riocm_post_send()
760 ++cm->tx_cnt; in riocm_post_send()
[all …]
/linux-6.15/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-6.15/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.h15 u8 tx_cnt; member
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.h71 unsigned long tx_cnt; member
/linux-6.15/drivers/dma/ioat/
H A Dhw.h100 uint64_t tx_cnt; member
/linux-6.15/drivers/net/ethernet/ibm/emac/
H A Dcore.c748 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset()
1232 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1420 if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) { in emac_xmit_finish()
1480 ++dev->tx_cnt; in emac_xmit_split()
1511 if (unlikely(dev->tx_cnt + nr_frags + mal_tx_chunks(len) > NUM_TX_BUFF)) in emac_start_xmit_sg()
1533 if (unlikely(dev->tx_cnt + mal_tx_chunks(len) >= NUM_TX_BUFF)) in emac_start_xmit_sg()
1563 --dev->tx_cnt; in emac_start_xmit_sg()
1608 DBG2(dev, "poll_tx, %d %d" NL, dev->tx_cnt, dev->ack_slot); in emac_poll_tx()
1616 if (dev->tx_cnt) { in emac_poll_tx()
1634 if (--dev->tx_cnt) in emac_poll_tx()
[all …]
H A Dcore.h237 int tx_cnt; member
/linux-6.15/sound/soc/sof/amd/
H A Dacp.c84 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x8, dscr_info->tx_cnt.u32_all); in configure_dma_descriptor()
171 adata->dscr_info[desc_count].tx_cnt.bits.count = ACP_PAGE_SIZE; in configure_and_run_dma()
173 adata->dscr_info[desc_count].tx_cnt.bits.count = dsp_data_size; in configure_and_run_dma()
H A Dacp.h142 union dma_tx_cnt tx_cnt; member
/linux-6.15/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-6.15/include/linux/
H A Dvirtio_vsock.h133 u32 tx_cnt; member
/linux-6.15/drivers/net/ethernet/packetengines/
H 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-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_entity.h39 u32 tx_cnt[T6_PM_NSTATS]; member
/linux-6.15/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h36 u32 tx_cnt; member
/linux-6.15/net/vmw_vsock/
H A Dvirtio_transport_common.c498 ret = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); in virtio_transport_get_credit()
501 vvs->tx_cnt += ret; in virtio_transport_get_credit()
515 vvs->tx_cnt -= credit; in virtio_transport_put_credit()
879 bytes = (s64)vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); in virtio_transport_has_space()
/linux-6.15/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()

123