Home
last modified time | relevance | path

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

/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif.c212 int ret, rx_idx, tx_idx, i; in t7xx_dpmaif_rxtx_sw_allocs() local
235 for (tx_idx = 0; tx_idx < DPMAIF_TXQ_NUM; tx_idx++) { in t7xx_dpmaif_rxtx_sw_allocs()
236 tx_q = &dpmaif_ctrl->txq[tx_idx]; in t7xx_dpmaif_rxtx_sw_allocs()
237 tx_q->index = tx_idx; in t7xx_dpmaif_rxtx_sw_allocs()
260 for (i = 0; i < tx_idx; i++) { in t7xx_dpmaif_rxtx_sw_allocs()
/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()
/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.c1924 idxp = &dch->tx_idx; in hfcmulti_tx()
1929 idxp = &bch->tx_idx; in hfcmulti_tx()
2582 dch->tx_idx = 0; in ph_state_irq()
3244 dch->tx_idx = 0; in hfcm_l1callback()
3389 dch->tx_idx = 0; in handle_dmsg()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8192e.c533 int group, tx_idx; in rtl8192e_set_tx_power() local
535 tx_idx = 0; in rtl8192e_set_tx_power()
551 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].a; in rtl8192e_set_tx_power()
559 mcsbase += priv->ht40_tx_power_diff[tx_idx++].a; in rtl8192e_set_tx_power()
561 mcsbase += priv->ht20_tx_power_diff[tx_idx++].a; in rtl8192e_set_tx_power()
583 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].b; in rtl8192e_set_tx_power()
592 mcsbase += priv->ht40_tx_power_diff[tx_idx++].b; in rtl8192e_set_tx_power()
594 mcsbase += priv->ht20_tx_power_diff[tx_idx++].b; in rtl8192e_set_tx_power()
Drtl8xxxu_8723b.c409 int group, tx_idx; in rtl8723b_set_tx_power() local
411 tx_idx = 0; in rtl8723b_set_tx_power()
426 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].b; in rtl8723b_set_tx_power()
434 mcsbase += priv->ht40_tx_power_diff[tx_idx++].b; in rtl8723b_set_tx_power()
436 mcsbase += priv->ht20_tx_power_diff[tx_idx++].b; in rtl8723b_set_tx_power()
/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()
/drivers/net/ethernet/intel/ixgbe/
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()
/drivers/net/ethernet/amd/
Damd8111e.c282 lp->rx_idx = lp->tx_idx = 0; in amd8111e_init_ring()
645 while (lp->tx_complete_idx != lp->tx_idx) { in amd8111e_tx()
671 lp->tx_complete_idx > lp->tx_idx - NUM_TX_BUFFERS + 2) { in amd8111e_tx()
1232 int tx_index = lp->tx_idx & TX_BUFF_MOD_MASK; in amd8111e_tx_queue_avail()
1254 tx_index = lp->tx_idx & TX_RING_DR_MOD_MASK; in amd8111e_start_xmit()
1281 lp->tx_idx++; in amd8111e_start_xmit()
Damd8111e.h755 unsigned long rx_idx, tx_idx; /* The next free ring entry */ member
/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;
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2387 int tx_idx; in bnx2x_set_pf_tx_switching() local
2392 for (tx_idx = FIRST_TX_COS_INDEX; in bnx2x_set_pf_tx_switching()
2393 tx_idx < fp->max_cos; tx_idx++) { in bnx2x_set_pf_tx_switching()
2394 q_params.params.update.cid_index = tx_idx; in bnx2x_set_pf_tx_switching()
Dbnx2x_ethtool.c2502 u16 tx_start_idx, tx_idx; in bnx2x_run_loopback() local
2638 tx_idx = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_run_loopback()
2639 if (tx_idx != tx_start_idx + num_pkts) in bnx2x_run_loopback()
/drivers/net/
Dveth.c228 unsigned int start, tx_idx = idx; in veth_get_ethtool_stats() local
231 tx_idx += (i % dev->real_num_tx_queues) * VETH_TQ_STATS_LEN; in veth_get_ethtool_stats()
236 data[tx_idx + j] += *(u64 *)(base + offset); in veth_get_ethtool_stats()
/drivers/net/ethernet/broadcom/
Dtg3.c13415 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local
13547 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback()
13549 if ((tx_idx == tnapi->tx_prod) && in tg3_run_loopback()
13557 if (tx_idx != tnapi->tx_prod) in tg3_run_loopback()