Home
last modified time | relevance | path

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

/linux/drivers/isdn/mISDN/
A 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()
/linux/drivers/staging/mt7621-dma/
A Dhsdma-mt7621.c147 int tx_idx; member
195 chan->tx_idx = 0; in mtk_hsdma_reset_chan()
198 mtk_hsdma_write(hsdma, HSDMA_REG_TX_CTX, chan->tx_idx); in mtk_hsdma_reset_chan()
237 chan->tx_idx, chan->rx_idx); in hsdma_dump_desc()
329 tx_desc = &chan->tx_ring[chan->tx_idx]; in mtk_hsdma_start_transfer()
344 chan->tx_idx = HSDMA_NEXT_DESC(chan->tx_idx); in mtk_hsdma_start_transfer()
378 mtk_hsdma_write(hsdma, HSDMA_REG_TX_CTX, chan->tx_idx); in mtk_hsdma_start_transfer()
/linux/drivers/isdn/hardware/mISDN/
A Dw6692.c290 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()
509 count, wch->bch.tx_idx); in W6692_fill_Bfifo()
510 wch->bch.tx_idx += count; in W6692_fill_Bfifo()
742 wch->bch.tx_idx = 0; in W6692B_interrupt()
758 wch->bch.tx_idx = 0; in W6692B_interrupt()
820 if (dch->tx_idx) in dbusy_timer_handler()
821 dch->tx_idx = 0; in dbusy_timer_handler()
[all …]
A 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()
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()
987 hscx->bch.tx_idx += count; in hscx_fill_fifo()
1141 hx->bch.nr, hx->bch.tx_idx); in ipac_irq()
[all …]
A Dhfcsusb.c336 dch->tx_idx = 0; in hfcusb_l2l1D()
384 dch->tx_idx = 0; in hfc_l1callback()
1161 int *tx_idx; in tx_iso_complete() local
1176 tx_idx = &fifo->dch->tx_idx; in tx_iso_complete()
1180 tx_idx = &fifo->bch->tx_idx; in tx_iso_complete()
1242 remain = tx_skb->len - *tx_idx; in tx_iso_complete()
1280 memcpy(p, (tx_skb->data + *tx_idx), in tx_iso_complete()
1282 *tx_idx += current_len; in tx_iso_complete()
1305 tx_skb->len, *tx_idx); in tx_iso_complete()
A Dhfcpci.c675 count = dch->tx_skb->len - dch->tx_idx; 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()
1082 dch->tx_idx = 0; in hfc_l1callback()
1119 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) in tx_birq()
1131 if (dch->tx_skb && dch->tx_idx < dch->tx_skb->len) in tx_dirq()
[all …]
A 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()
A 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()
A 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()
A 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()
3272 dch->tx_idx = 0; in hfcm_l1callback()
3413 dch->tx_idx = 0; in handle_dmsg()
/linux/include/linux/
A DmISDNhw.h95 int tx_idx; member
163 int tx_idx; member
/linux/drivers/net/wireless/realtek/rtl8xxxu/
A 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()
A 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()
/linux/drivers/net/usb/
A 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()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_lib.c151 unsigned int tx_idx, rx_idx; in ixgbe_cache_ring_dcb() local
161 ixgbe_get_first_reg_idx(adapter, tc, &tx_idx, &rx_idx); in ixgbe_cache_ring_dcb()
162 for (i = 0; i < rss_i; i++, tx_idx++, rx_idx++) { in ixgbe_cache_ring_dcb()
163 adapter->tx_ring[offset + i]->reg_idx = tx_idx; in ixgbe_cache_ring_dcb()
/linux/drivers/net/ethernet/amd/
A 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()
1233 int tx_index = lp->tx_idx & TX_BUFF_MOD_MASK; in amd8111e_tx_queue_avail()
1255 tx_index = lp->tx_idx & TX_RING_DR_MOD_MASK; in amd8111e_start_xmit()
1282 lp->tx_idx++; in amd8111e_start_xmit()
A Damd8111e.h755 unsigned long rx_idx, tx_idx; /* The next free ring entry */ member
/linux/drivers/net/ethernet/natsemi/
A 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;
/linux/drivers/net/
A Dveth.c208 unsigned int start, tx_idx = idx; in veth_get_ethtool_stats() local
211 tx_idx += (i % dev->real_num_tx_queues) * VETH_TQ_STATS_LEN; in veth_get_ethtool_stats()
216 data[tx_idx + j] += *(u64 *)(base + offset); in veth_get_ethtool_stats()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_sriov.c2374 int tx_idx; in bnx2x_set_pf_tx_switching() local
2379 for (tx_idx = FIRST_TX_COS_INDEX; in bnx2x_set_pf_tx_switching()
2380 tx_idx < fp->max_cos; tx_idx++) { in bnx2x_set_pf_tx_switching()
2381 q_params.params.update.cid_index = tx_idx; in bnx2x_set_pf_tx_switching()
A Dbnx2x_ethtool.c2498 u16 tx_start_idx, tx_idx; in bnx2x_run_loopback() local
2634 tx_idx = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_run_loopback()
2635 if (tx_idx != tx_start_idx + num_pkts) in bnx2x_run_loopback()
/linux/drivers/net/ethernet/broadcom/
A Dtg3.c13374 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local
13506 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback()
13508 if ((tx_idx == tnapi->tx_prod) && in tg3_run_loopback()
13516 if (tx_idx != tnapi->tx_prod) in tg3_run_loopback()

Completed in 92 milliseconds