Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/isdn/hisax/
Damd7930_fn.c374 while ((txstat & 0x10) && (cs->tx_cnt < len)) { in Amd7930_fill_Dfifo()
377 cs->tx_cnt++; in Amd7930_fill_Dfifo()
448 skb_push(cs->tx_skb, cs->tx_cnt); in Amd7930_interrupt()
449 cs->tx_cnt = 0; in Amd7930_interrupt()
466 skb_push(cs->tx_skb, cs->tx_cnt); in Amd7930_interrupt()
467 cs->tx_cnt = 0; in Amd7930_interrupt()
519 cs->tx_cnt = 0; in Amd7930_interrupt()
526 cs->tx_cnt = 0; in Amd7930_interrupt()
582 cs->tx_cnt = 0; in Amd7930_l1hw()
606 cs->tx_cnt = 0; in Amd7930_l1hw()
[all …]
Dipacx.c112 cs->tx_cnt = 0; in dch_l2l1()
130 cs->tx_cnt = 0; in dch_l2l1()
222 cs->tx_cnt = 0; in dbusy_timer_handler()
293 cs->tx_cnt += count; in dch_fill_fifo()
384 cs->tx_cnt = 0; in dch_int()
388 cs->tx_cnt = 0; in dch_int()
400 skb_push(cs->tx_skb, cs->tx_cnt); // retransmit in dch_int()
401 cs->tx_cnt = 0; in dch_int()
573 bcs->tx_cnt -= count; in bch_fill_fifo()
700 bcs->tx_cnt += bcs->hw.hscx.count; in bch_int()
[all …]
Dhfc4s8s_l1.c142 int tx_cnt; member
158 int tx_cnt; /* bytes to send */ member
318 (l1->tx_cnt <= 0)) { in dch_l2l1()
398 if (!bch->tx_skb && (bch->tx_cnt <= 0)) { in bch_l2l1()
563 bch->tx_cnt = 0; in bch_l2l1()
859 if (l1p->tx_cnt > 0) { in tx_d_frame()
860 cnt = l1p->tx_cnt; in tx_d_frame()
861 l1p->tx_cnt = 0; in tx_d_frame()
881 l1p->tx_cnt = skb->truesize; in tx_d_frame()
929 bch->tx_cnt = 0; in tx_b_frame()
[all …]
Dw6692.c184 cs->tx_cnt += count; in W6692_fill_fifo()
256 bcs->tx_cnt -= count; in W6692B_fill_fifo()
356 bcs->tx_cnt += bcs->hw.w6692.count; in W6692B_interrupt()
370 bcs->tx_cnt += bcs->hw.w6692.count; in W6692B_interrupt()
468 cs->tx_cnt = 0; in W6692_interrupt()
473 cs->tx_cnt = 0; in W6692_interrupt()
495 skb_push(cs->tx_skb, cs->tx_cnt); in W6692_interrupt()
496 cs->tx_cnt = 0; in W6692_interrupt()
583 cs->tx_cnt = 0; in W6692_l1hw()
606 cs->tx_cnt = 0; in W6692_l1hw()
[all …]
Disac.c167 cs->tx_cnt += count; in isac_fill_fifo()
251 cs->tx_cnt = 0; in isac_interrupt()
257 cs->tx_cnt = 0; in isac_interrupt()
303 skb_push(cs->tx_skb, cs->tx_cnt); in isac_interrupt()
304 cs->tx_cnt = 0; in isac_interrupt()
464 cs->tx_cnt = 0; in ISAC_l1hw()
485 cs->tx_cnt = 0; in ISAC_l1hw()
610 cs->tx_cnt = 0; in dbusy_timer_handler()
Dicc.c164 cs->tx_cnt += count; in icc_fill_fifo()
246 cs->tx_cnt = 0; in icc_interrupt()
251 cs->tx_cnt = 0; in icc_interrupt()
297 skb_push(cs->tx_skb, cs->tx_cnt); in icc_interrupt()
298 cs->tx_cnt = 0; in icc_interrupt()
456 cs->tx_cnt = 0; in ICC_l1hw()
479 cs->tx_cnt = 0; in ICC_l1hw()
606 cs->tx_cnt = 0; in dbusy_timer_handler()
Dhscx_irq.c108 bcs->tx_cnt -= count; in hscx_fill_fifo()
248 bcs->tx_cnt += bcs->hw.hscx.count; in hscx_int_main()
278 bcs->tx_cnt += bcs->hw.hscx.count; in hscx_int_main()
Dhisax_isac.h29 int tx_cnt; member
Dhisax_fcpcipnp.h43 int tx_cnt; /* B-Channel transmit counter */ member
Dhisax_isac.c496 isac->tx_cnt += count; in isac_fill_fifo()
508 skb_push(isac->tx_skb, isac->tx_cnt); in isac_retransmit()
509 isac->tx_cnt = 0; in isac_retransmit()
577 isac->tx_cnt = 0; in isac_xpr_interrupt()
708 isac->tx_cnt = 0; in isacsx_xpr_interrupt()
Djade_irq.c98 bcs->tx_cnt -= count; in jade_fill_fifo()
225 bcs->tx_cnt += bcs->hw.hscx.count; in jade_int_main()
Dhisax_fcpcipnp.c405 bcs->tx_cnt += count; in hdlc_fill_fifo()
531 skb_push(bcs->tx_skb, bcs->tx_cnt); in hdlc_xdu_irq()
532 bcs->tx_cnt = 0; in hdlc_xdu_irq()
548 bcs->tx_cnt = 0; in hdlc_xpr_irq()
607 bcs->tx_cnt = 0; in modehdlc()
Dhfc_2bds0.c318 bcs->tx_cnt -= bcs->tx_skb->len; in hfc_fill_fifo()
535 bcs->tx_cnt = 0; in open_hfcstate()
876 cs->tx_cnt = 0; in hfc2bds0_interrupt()
881 cs->tx_cnt = 0; in hfc2bds0_interrupt()
924 cs->tx_cnt = 0; in HFCD_l1hw()
952 cs->tx_cnt = 0; in HFCD_l1hw()
/Linux-v4.19/drivers/media/platform/stm32/
Dstm32-cec.c70 int tx_cnt; member
105 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done()
107 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done()
110 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done()
211 cec->tx_cnt = 0; in stm32_cec_adap_transmit()
225 cec->tx_cnt++; in stm32_cec_adap_transmit()
/Linux-v4.19/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c29 u32 tx_cnt = 0; in sun4i_ss_opti_poll() local
97 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_opti_poll()
99 todo = min3(tx_cnt, oleft, (mo.length - oo) / 4); in sun4i_ss_opti_poll()
140 u32 tx_cnt = 0; in sun4i_ss_cipher_poll() local
257 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_cipher_poll()
261 oo, mo.length, oleft, areq->cryptlen, tx_cnt, ob); in sun4i_ss_cipher_poll()
263 if (!tx_cnt) in sun4i_ss_cipher_poll()
266 todo = min3(tx_cnt, oleft / 4, (mo.length - oo) / 4); in sun4i_ss_cipher_poll()
280 readsl(ss->base + SS_TXFIFO, bufo, tx_cnt); in sun4i_ss_cipher_poll()
281 obl = tx_cnt * 4; in sun4i_ss_cipher_poll()
/Linux-v4.19/drivers/input/serio/
Dps2-gpio.c60 unsigned char tx_cnt; member
236 cnt = drvdata->tx_cnt; in ps2_gpio_irq_tx()
312 drvdata->tx_cnt = cnt; in ps2_gpio_irq_tx()
410 drvdata->tx_cnt = 1; in ps2_gpio_probe()
/Linux-v4.19/drivers/rapidio/
Drio_cm.c163 int tx_cnt; member
653 cm->mport->id, slot, cm->tx_cnt); in rio_txcq_handler()
661 while (cm->tx_cnt && ((ack_slot != slot) || in rio_txcq_handler()
662 (cm->tx_cnt == RIOCM_TX_RING_SIZE))) { in rio_txcq_handler()
667 cm->tx_cnt--; in rio_txcq_handler()
670 if (cm->tx_cnt < 0 || cm->tx_cnt > RIOCM_TX_RING_SIZE) in rio_txcq_handler()
671 riocm_error("tx_cnt %d out of sync", cm->tx_cnt); in rio_txcq_handler()
673 WARN_ON((cm->tx_cnt < 0) || (cm->tx_cnt > RIOCM_TX_RING_SIZE)); in rio_txcq_handler()
680 if (!list_empty(&cm->tx_reqs) && (cm->tx_cnt < RIOCM_TX_RING_SIZE)) { in rio_txcq_handler()
692 ++cm->tx_cnt; in rio_txcq_handler()
[all …]
/Linux-v4.19/drivers/net/
Drionet.c61 int tx_cnt; member
160 if (++rnet->tx_cnt == RIONET_TX_RING_SIZE) in rionet_queue_tx_msg()
187 if ((rnet->tx_cnt + add_num) > RIONET_TX_RING_SIZE) { in rionet_start_xmit()
297 while (rnet->tx_cnt && (rnet->ack_slot != slot)) { in rionet_outb_msg_event()
303 rnet->tx_cnt--; in rionet_outb_msg_event()
306 if (rnet->tx_cnt < RIONET_TX_RING_SIZE) in rionet_outb_msg_event()
351 rnet->tx_cnt = 0; in rionet_open()
/Linux-v4.19/drivers/media/radio/wl128x/
Dfmdrv_common.c309 atomic_set(&fmdev->tx_cnt, 1); in recv_tasklet()
324 atomic_set(&fmdev->tx_cnt, 1); in recv_tasklet()
333 if (num_fm_hci_cmds && atomic_read(&fmdev->tx_cnt)) in recv_tasklet()
348 if (!atomic_read(&fmdev->tx_cnt)) in send_tasklet()
354 atomic_set(&fmdev->tx_cnt, 1); in send_tasklet()
362 atomic_dec(&fmdev->tx_cnt); in send_tasklet()
376 atomic_set(&fmdev->tx_cnt, 1); in send_tasklet()
1550 atomic_set(&fmdev->tx_cnt, 1); in fmc_prepare()
Dfmdrv.h217 atomic_t tx_cnt; /* Number of packets can send at a time */ member
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_core.c220 u32 tx_cnt) in dwxgmac2_flow_ctrl() argument
228 for (i = 0; i < tx_cnt; i++) { in dwxgmac2_flow_ctrl()
Dstmmac_main.c347 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_enable_eee_mode() local
351 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_enable_eee_mode()
823 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_mac_flow_ctrl() local
826 priv->pause, tx_cnt); in stmmac_mac_flow_ctrl()
956 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_init_phy() local
1001 if (tx_cnt > 1) in stmmac_init_phy()
1053 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_display_tx_rings() local
1058 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_display_tx_rings()
2486 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_hw_setup() local
2572 for (chan = 0; chan < tx_cnt; chan++) in stmmac_hw_setup()
[all …]
Ddwmac100_core.c147 u32 tx_cnt) in dwmac100_flow_ctrl() argument
/Linux-v4.19/include/linux/
Dvirtio_vsock.h37 u32 tx_cnt; member
/Linux-v4.19/net/vmw_vsock/
Dvirtio_transport_common.c220 ret = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); in virtio_transport_get_credit()
223 vvs->tx_cnt += ret; in virtio_transport_get_credit()
233 vvs->tx_cnt -= credit; in virtio_transport_put_credit()
342 bytes = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); in virtio_transport_has_space()

123