Home
last modified time | relevance | path

Searched refs:tx_idx (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dhwchannel.c64 ch->tx_idx = 0; in mISDN_initdchannel()
88 ch->tx_idx = 0; in mISDN_initbchannel()
122 ch->tx_idx = 0; in mISDN_clear_bchannel()
325 dch->tx_idx = 0; in get_next_dframe()
363 bch->tx_idx = 0; in get_next_bframe()
423 ch->tx_idx = 0; in dchannel_senddata()
458 ch->tx_idx = 0; in bchannel_senddata()
/kernel/linux/linux-5.10/drivers/staging/mt7621-dma/
Dhsdma-mt7621.c147 int tx_idx; member
197 chan->tx_idx = 0; in mtk_hsdma_reset_chan()
200 mtk_hsdma_write(hsdma, HSDMA_REG_TX_CTX, chan->tx_idx); in mtk_hsdma_reset_chan()
239 chan->tx_idx, chan->rx_idx); in hsdma_dump_desc()
331 tx_desc = &chan->tx_ring[chan->tx_idx]; in mtk_hsdma_start_transfer()
346 chan->tx_idx = HSDMA_NEXT_DESC(chan->tx_idx); in mtk_hsdma_start_transfer()
380 mtk_hsdma_write(hsdma, HSDMA_REG_TX_CTX, chan->tx_idx); in mtk_hsdma_start_transfer()
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Dw6692.c283 count = dch->tx_skb->len - dch->tx_idx; in W6692_fill_Dfifo()
290 ptr = dch->tx_skb->data + dch->tx_idx; in W6692_fill_Dfifo()
291 dch->tx_idx += count; in W6692_fill_Dfifo()
320 dch->tx_idx = 0; in d_retransmit()
325 dch->tx_idx = 0; in d_retransmit()
375 if (card->dch.tx_skb && card->dch.tx_idx < card->dch.tx_skb->len) { in handle_txD()
498 count = wch->bch.tx_skb->len - wch->bch.tx_idx; in W6692_fill_Bfifo()
501 ptr = wch->bch.tx_skb->data + wch->bch.tx_idx; in W6692_fill_Bfifo()
509 count, wch->bch.tx_idx); in W6692_fill_Bfifo()
510 wch->bch.tx_idx += count; in W6692_fill_Bfifo()
[all …]
DmISDNipac.c144 count = isac->dch.tx_skb->len - isac->dch.tx_idx; in isac_fill_fifo()
154 ptr = isac->dch.tx_skb->data + isac->dch.tx_idx; in isac_fill_fifo()
155 isac->dch.tx_idx += count; in isac_fill_fifo()
209 if (isac->dch.tx_skb && isac->dch.tx_idx < isac->dch.tx_skb->len) { in isac_xpr_irq()
225 isac->dch.tx_idx = 0; in isac_retransmit()
230 isac->dch.tx_idx = 0; in isac_retransmit()
660 dch->tx_idx = 0; in isac_l1cmd()
730 if (isac->dch.tx_idx) in dbusy_timer_handler()
731 isac->dch.tx_idx = 0; in dbusy_timer_handler()
975 count = hscx->bch.tx_skb->len - hscx->bch.tx_idx; in hscx_fill_fifo()
[all …]
Dhfcsusb.c339 dch->tx_idx = 0; in hfcusb_l2l1D()
388 dch->tx_idx = 0; in hfc_l1callback()
1165 int *tx_idx; in tx_iso_complete() local
1180 tx_idx = &fifo->dch->tx_idx; in tx_iso_complete()
1184 tx_idx = &fifo->bch->tx_idx; in tx_iso_complete()
1246 remain = tx_skb->len - *tx_idx; in tx_iso_complete()
1284 memcpy(p, (tx_skb->data + *tx_idx), in tx_iso_complete()
1286 *tx_idx += current_len; in tx_iso_complete()
1309 tx_skb->len, *tx_idx); in tx_iso_complete()
Dhfcpci.c675 count = dch->tx_skb->len - dch->tx_idx; in hfcpci_fill_dfifo()
713 src = dch->tx_skb->data + dch->tx_idx; /* source pointer */ in hfcpci_fill_dfifo()
732 dch->tx_idx = dch->tx_skb->len; in hfcpci_fill_dfifo()
757 count = bch->tx_skb->len - bch->tx_idx; in hfcpci_fill_fifo()
808 count = bch->tx_skb->len - bch->tx_idx; in hfcpci_fill_fifo()
819 src = bch->tx_skb->data + bch->tx_idx; in hfcpci_fill_fifo()
829 bch->tx_idx += count; in hfcpci_fill_fifo()
840 if (bch->tx_idx < bch->tx_skb->len) in hfcpci_fill_fifo()
882 src = bch->tx_skb->data + bch->tx_idx; /* source pointer */ in hfcpci_fill_fifo()
1082 dch->tx_idx = 0; in hfc_l1callback()
[all …]
Davmfritz.c456 count = bch->tx_skb->len - bch->tx_idx; in hdlc_fill_fifo()
459 p = bch->tx_skb->data + bch->tx_idx; in hdlc_fill_fifo()
471 bch->tx_idx, bch->tx_skb->len); in hdlc_fill_fifo()
472 bch->tx_idx += count; in hdlc_fill_fifo()
509 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) { in HDLC_irq_xpr()
581 bch->tx_idx = 0; in HDLC_irq()
DmISDNisar.c580 ch->bch.tx_skb ? ch->bch.tx_skb->len : -1, ch->bch.tx_idx); in isar_fill_fifo()
595 count = ch->bch.tx_skb->len - ch->bch.tx_idx; in isar_fill_fifo()
604 ptr = ch->bch.tx_skb->data + ch->bch.tx_idx; in isar_fill_fifo()
605 if (!ch->bch.tx_idx) { in isar_fill_fifo()
624 ch->bch.tx_idx += count; in isar_fill_fifo()
678 ch->bch.tx_idx); in send_next()
728 ch->bch.tx_idx)) in check_send()
738 ch->bch.tx_idx)) in check_send()
Dnetjet.c540 count = bc->bch.tx_skb->len - bc->bch.tx_idx; in fill_dma()
545 bc->bch.tx_idx, bc->bch.tx_skb->len, bc->txstate, in fill_dma()
547 p = bc->bch.tx_skb->data + bc->bch.tx_idx; in fill_dma()
556 bc->bch.tx_idx += i; in fill_dma()
563 bc->bch.tx_idx += count; in fill_dma()
605 if (bc->bch.tx_skb && bc->bch.tx_idx < bc->bch.tx_skb->len) { in bc_next_frame()
Dhfcmulti.c1955 idxp = &dch->tx_idx; in hfcmulti_tx()
1960 idxp = &bch->tx_idx; in hfcmulti_tx()
2612 dch->tx_idx = 0; in ph_state_irq()
3276 dch->tx_idx = 0; in hfcm_l1callback()
3421 dch->tx_idx = 0; in handle_dmsg()
/kernel/linux/linux-5.10/include/linux/
DmISDNhw.h95 int tx_idx; member
163 int tx_idx; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8192e.c486 int group, tx_idx; in rtl8192e_set_tx_power() local
488 tx_idx = 0; in rtl8192e_set_tx_power()
504 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].a; in rtl8192e_set_tx_power()
512 mcsbase += priv->ht40_tx_power_diff[tx_idx++].a; in rtl8192e_set_tx_power()
514 mcsbase += priv->ht20_tx_power_diff[tx_idx++].a; in rtl8192e_set_tx_power()
536 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].b; in rtl8192e_set_tx_power()
545 mcsbase += priv->ht40_tx_power_diff[tx_idx++].b; in rtl8192e_set_tx_power()
547 mcsbase += priv->ht20_tx_power_diff[tx_idx++].b; in rtl8192e_set_tx_power()
Drtl8xxxu_8723b.c362 int group, tx_idx; in rtl8723b_set_tx_power() local
364 tx_idx = 0; in rtl8723b_set_tx_power()
379 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].b; in rtl8723b_set_tx_power()
387 mcsbase += priv->ht40_tx_power_diff[tx_idx++].b; in rtl8723b_set_tx_power()
389 mcsbase += priv->ht20_tx_power_diff[tx_idx++].b; in rtl8723b_set_tx_power()
/kernel/linux/linux-5.10/drivers/net/usb/
Dcatc.c155 unsigned int tx_ptr, tx_idx; member
358 catc->tx_urb->transfer_buffer = catc->tx_buf[catc->tx_idx]; in catc_tx_run()
365 catc->tx_idx = !catc->tx_idx; in catc_tx_run()
420 tx_buf = catc->tx_buf[catc->tx_idx] + catc->tx_ptr; in catc_start_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c150 unsigned int tx_idx, rx_idx; in ixgbe_cache_ring_dcb() local
160 ixgbe_get_first_reg_idx(adapter, tc, &tx_idx, &rx_idx); in ixgbe_cache_ring_dcb()
161 for (i = 0; i < rss_i; i++, tx_idx++, rx_idx++) { in ixgbe_cache_ring_dcb()
162 adapter->tx_ring[offset + i]->reg_idx = tx_idx; in ixgbe_cache_ring_dcb()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Damd8111e.c283 lp->rx_idx = lp->tx_idx = 0; in amd8111e_init_ring()
646 while (lp->tx_complete_idx != lp->tx_idx){ in amd8111e_tx()
672 lp->tx_complete_idx > lp->tx_idx - NUM_TX_BUFFERS +2){ in amd8111e_tx()
1240 int tx_index = lp->tx_idx & TX_BUFF_MOD_MASK; in amd8111e_tx_queue_avail()
1262 tx_index = lp->tx_idx & TX_RING_DR_MOD_MASK; in amd8111e_start_xmit()
1289 lp->tx_idx++; in amd8111e_start_xmit()
Damd8111e.h755 unsigned long rx_idx, tx_idx; /* The next free ring entry */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
Dns83820.c436 u16 tx_idx; member
949 dev, dev->tx_idx, dev->tx_free_idx);
1455 dev->tx_idx = txdp / (DESC_SIZE * 4);
1456 if (dev->tx_idx >= NR_TX_DESC) {
1458 dev->tx_idx = 0;
1465 if (dev->tx_idx != dev->tx_free_idx)
1634 dev->tx_idx = 0;
/kernel/linux/linux-5.10/drivers/net/
Dveth.c206 unsigned int start, tx_idx = idx; in veth_get_ethtool_stats() local
209 tx_idx += (i % dev->real_num_tx_queues) * VETH_TQ_STATS_LEN; in veth_get_ethtool_stats()
214 data[tx_idx + j] += *(u64 *)(base + offset); in veth_get_ethtool_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2394 int tx_idx; in bnx2x_set_pf_tx_switching() local
2399 for (tx_idx = FIRST_TX_COS_INDEX; in bnx2x_set_pf_tx_switching()
2400 tx_idx < fp->max_cos; tx_idx++) { in bnx2x_set_pf_tx_switching()
2401 q_params.params.update.cid_index = tx_idx; in bnx2x_set_pf_tx_switching()
Dbnx2x_ethtool.c2494 u16 tx_start_idx, tx_idx; in bnx2x_run_loopback() local
2630 tx_idx = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_run_loopback()
2631 if (tx_idx != tx_start_idx + num_pkts) in bnx2x_run_loopback()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dtg3.c13426 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local
13558 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback()
13560 if ((tx_idx == tnapi->tx_prod) && in tg3_run_loopback()
13568 if (tx_idx != tnapi->tx_prod) in tg3_run_loopback()