/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif.c | 212 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()
|
/linux/drivers/isdn/mISDN/ |
H A D | hwchannel.c | 64 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/isdn/hardware/mISDN/ |
H A D | w6692.c | 284 count = dch->tx_skb->len - dch->tx_idx; in W6692_fill_Dfifo() 291 ptr = dch->tx_skb->data + dch->tx_idx; in W6692_fill_Dfifo() 292 dch->tx_idx += count; in W6692_fill_Dfifo() 321 dch->tx_idx = 0; in d_retransmit() 326 dch->tx_idx = 0; in d_retransmit() 376 if (card->dch.tx_skb && card->dch.tx_idx < card->dch.tx_skb->len) { in handle_txD() 499 count = wch->bch.tx_skb->len - wch->bch.tx_idx; in W6692_fill_Bfifo() 502 ptr = wch->bch.tx_skb->data + wch->bch.tx_idx; in W6692_fill_Bfifo() 510 count, wch->bch.tx_idx); in W6692_fill_Bfifo() 511 wch->bch.tx_idx += count; in W6692_fill_Bfifo() [all …]
|
H A D | mISDNipac.c | 145 count = isac->dch.tx_skb->len - isac->dch.tx_idx; in isac_fill_fifo() 155 ptr = isac->dch.tx_skb->data + isac->dch.tx_idx; in isac_fill_fifo() 156 isac->dch.tx_idx += count; in isac_fill_fifo() 210 if (isac->dch.tx_skb && isac->dch.tx_idx < isac->dch.tx_skb->len) { in isac_xpr_irq() 226 isac->dch.tx_idx = 0; in isac_retransmit() 231 isac->dch.tx_idx = 0; in isac_retransmit() 661 dch->tx_idx = 0; in isac_l1cmd() 731 if (isac->dch.tx_idx) in dbusy_timer_handler() 732 isac->dch.tx_idx = 0; in dbusy_timer_handler() 976 count = hscx->bch.tx_skb->len - hscx->bch.tx_idx; in hscx_fill_fifo() [all …]
|
H A D | hfcsusb.c | 340 dch->tx_idx = 0; in hfcusb_l2l1D() 389 dch->tx_idx = 0; in hfc_l1callback() 1166 int *tx_idx; in tx_iso_complete() local 1181 tx_idx = &fifo->dch->tx_idx; in tx_iso_complete() 1185 tx_idx = &fifo->bch->tx_idx; in tx_iso_complete() 1247 remain = tx_skb->len - *tx_idx; in tx_iso_complete() 1285 memcpy(p, (tx_skb->data + *tx_idx), in tx_iso_complete() 1287 *tx_idx += current_len; in tx_iso_complete() 1310 tx_skb->len, *tx_idx); in tx_iso_complete()
|
H A D | hfcpci.c | 676 count = dch->tx_skb->len - dch->tx_idx; in hfcpci_fill_dfifo() 714 src = dch->tx_skb->data + dch->tx_idx; /* source pointer */ in hfcpci_fill_dfifo() 733 dch->tx_idx = dch->tx_skb->len; in hfcpci_fill_dfifo() 758 count = bch->tx_skb->len - bch->tx_idx; in hfcpci_fill_fifo() 809 count = bch->tx_skb->len - bch->tx_idx; in hfcpci_fill_fifo() 820 src = bch->tx_skb->data + bch->tx_idx; in hfcpci_fill_fifo() 830 bch->tx_idx += count; in hfcpci_fill_fifo() 841 if (bch->tx_idx < bch->tx_skb->len) in hfcpci_fill_fifo() 883 src = bch->tx_skb->data + bch->tx_idx; /* source pointer */ in hfcpci_fill_fifo() 1083 dch->tx_idx = 0; in hfc_l1callback() [all …]
|
H A D | avmfritz.c | 457 count = bch->tx_skb->len - bch->tx_idx; in hdlc_fill_fifo() 460 p = bch->tx_skb->data + bch->tx_idx; in hdlc_fill_fifo() 472 bch->tx_idx, bch->tx_skb->len); in hdlc_fill_fifo() 473 bch->tx_idx += count; in hdlc_fill_fifo() 510 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) { in HDLC_irq_xpr() 582 bch->tx_idx = 0; in HDLC_irq()
|
H A D | mISDNisar.c | 581 ch->bch.tx_skb ? ch->bch.tx_skb->len : -1, ch->bch.tx_idx); in isar_fill_fifo() 596 count = ch->bch.tx_skb->len - ch->bch.tx_idx; in isar_fill_fifo() 605 ptr = ch->bch.tx_skb->data + ch->bch.tx_idx; in isar_fill_fifo() 606 if (!ch->bch.tx_idx) { in isar_fill_fifo() 625 ch->bch.tx_idx += count; in isar_fill_fifo() 679 ch->bch.tx_idx); in send_next() 729 ch->bch.tx_idx)) in check_send() 739 ch->bch.tx_idx)) in check_send()
|
H A D | netjet.c | 541 count = bc->bch.tx_skb->len - bc->bch.tx_idx; in fill_dma() 546 bc->bch.tx_idx, bc->bch.tx_skb->len, bc->txstate, in fill_dma() 548 p = bc->bch.tx_skb->data + bc->bch.tx_idx; in fill_dma() 557 bc->bch.tx_idx += i; in fill_dma() 564 bc->bch.tx_idx += count; in fill_dma() 606 if (bc->bch.tx_skb && bc->bch.tx_idx < bc->bch.tx_skb->len) { in bc_next_frame()
|
/linux/include/linux/ |
H A D | mISDNhw.h | 95 int tx_idx; member 163 int tx_idx; member
|
/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | 8192e.c | 517 int group, tx_idx; in rtl8192e_set_tx_power() local 519 tx_idx = 0; in rtl8192e_set_tx_power() 535 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].a; in rtl8192e_set_tx_power() 543 mcsbase += priv->ht40_tx_power_diff[tx_idx++].a; in rtl8192e_set_tx_power() 545 mcsbase += priv->ht20_tx_power_diff[tx_idx++].a; in rtl8192e_set_tx_power() 567 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].b; in rtl8192e_set_tx_power() 576 mcsbase += priv->ht40_tx_power_diff[tx_idx++].b; in rtl8192e_set_tx_power() 578 mcsbase += priv->ht20_tx_power_diff[tx_idx++].b; in rtl8192e_set_tx_power()
|
H A D | 8723b.c | 393 int group, tx_idx; in rtl8723b_set_tx_power() local 395 tx_idx = 0; in rtl8723b_set_tx_power() 410 ofdmbase += priv->ofdm_tx_power_diff[tx_idx].b; in rtl8723b_set_tx_power() 418 mcsbase += priv->ht40_tx_power_diff[tx_idx++].b; in rtl8723b_set_tx_power() 420 mcsbase += priv->ht20_tx_power_diff[tx_idx++].b; in rtl8723b_set_tx_power()
|
/linux/drivers/net/usb/ |
H A D | catc.c | 155 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/amd/ |
H A D | amd8111e.c | 282 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()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 2387 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()
|
H A D | bnx2x_ethtool.c | 2500 u16 tx_start_idx, tx_idx; in bnx2x_run_loopback() local 2636 tx_idx = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_run_loopback() 2637 if (tx_idx != tx_start_idx + num_pkts) in bnx2x_run_loopback()
|
/linux/drivers/net/ |
H A D | veth.c | 229 unsigned int start, tx_idx = idx; in veth_get_ethtool_stats() local 232 tx_idx += (i % dev->real_num_tx_queues) * VETH_TQ_STATS_LEN; in veth_get_ethtool_stats() 237 data[tx_idx + j] += *(u64 *)(base + offset); in veth_get_ethtool_stats()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 13531 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local 13663 tx_idx = tnapi->hw_status->idx[0].tx_consumer; in tg3_run_loopback() 13665 if ((tx_idx == tnapi->tx_prod) && in tg3_run_loopback() 13673 if (tx_idx != tnapi->tx_prod) in tg3_run_loopback()
|