| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/ |
| H A D | amd8111e.c | 643 int tx_index; in amd8111e_tx() local 647 tx_index = lp->tx_complete_idx & TX_RING_DR_MOD_MASK; in amd8111e_tx() 648 status = le16_to_cpu(lp->tx_ring[tx_index].tx_flags); in amd8111e_tx() 653 lp->tx_ring[tx_index].buff_phy_addr = 0; in amd8111e_tx() 656 if (lp->tx_skbuff[tx_index]) { in amd8111e_tx() 658 lp->tx_dma_addr[tx_index], in amd8111e_tx() 659 lp->tx_skbuff[tx_index]->len, in amd8111e_tx() 661 dev_consume_skb_irq(lp->tx_skbuff[tx_index]); in amd8111e_tx() 662 lp->tx_skbuff[tx_index] = NULL; in amd8111e_tx() 663 lp->tx_dma_addr[tx_index] = 0; in amd8111e_tx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_debugfs.c | 178 u32 tx_index, rx_index; in hns3_dbg_bd_info() local 183 cnt = sscanf(&cmd_buf[8], "%u %u", &q_num, &tx_index); in hns3_dbg_bd_info() 185 rx_index = tx_index; in hns3_dbg_bd_info() 199 tx_index = (cnt == 1) ? value : tx_index; in hns3_dbg_bd_info() 201 if (tx_index >= ring->desc_num) { in hns3_dbg_bd_info() 202 dev_err(dev, "bd index(%u) is out of range(0-%u)\n", tx_index, in hns3_dbg_bd_info() 207 tx_desc = &ring->desc[tx_index]; in hns3_dbg_bd_info() 209 dev_info(dev, "TX Queue Num: %u, BD Index: %u\n", q_num, tx_index); in hns3_dbg_bd_info() 232 rx_index = (cnt == 1) ? value : tx_index; in hns3_dbg_bd_info()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | lpc32xx_eth.c | 364 int timeout, tx_index; in lpc32xx_eth_send() local 376 tx_index = readl(®s->txproduceindex); in lpc32xx_eth_send() 379 writel((u32)dataptr, &bufs->tx_desc[tx_index].packet); in lpc32xx_eth_send() 381 &bufs->tx_desc[tx_index].control); in lpc32xx_eth_send() 382 writel(0, &bufs->tx_stat[tx_index].statusinfo); in lpc32xx_eth_send() 385 tx_index = (tx_index + 1) % TX_BUF_COUNT; in lpc32xx_eth_send() 386 writel(tx_index, ®s->txproduceindex); in lpc32xx_eth_send()
|
| H A D | ftgmac100.c | 37 int tx_index; member 405 priv->tx_index = 0; in ftgmac100_init() 513 struct ftgmac100_txdes *curr_des = &priv->txdes[priv->tx_index]; in ftgmac100_send() 539 priv->tx_index = (priv->tx_index + 1) % PKTBUFSTX; in ftgmac100_send()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/ |
| H A D | mv643xx_eth.c | 729 int tx_index; in txq_put_data_tso() local 733 tx_index = txq->tx_curr_desc++; in txq_put_data_tso() 736 desc = &txq->tx_desc_area[tx_index]; in txq_put_data_tso() 737 txq->tx_desc_mapping[tx_index] = DESC_DMA_MAP_SINGLE; in txq_put_data_tso() 744 memcpy(txq->tso_hdrs + tx_index * TSO_HEADER_SIZE, in txq_put_data_tso() 747 + tx_index * TSO_HEADER_SIZE; in txq_put_data_tso() 750 txq->tx_desc_mapping[tx_index] = DESC_DMA_MAP_SINGLE; in txq_put_data_tso() 778 int tx_index; in txq_put_hdr_tso() local 785 tx_index = txq->tx_curr_desc; in txq_put_hdr_tso() 786 desc = &txq->tx_desc_area[tx_index]; in txq_put_hdr_tso() [all …]
|
| H A D | pxa168_eth.c | 702 int tx_index; in txq_reclaim() local 711 tx_index = pep->tx_used_desc_q; in txq_reclaim() 712 desc = &pep->p_tx_desc_area[tx_index]; in txq_reclaim() 722 pep->tx_used_desc_q = (tx_index + 1) % pep->tx_ring_size; in txq_reclaim() 726 skb = pep->tx_skb[tx_index]; in txq_reclaim() 728 pep->tx_skb[tx_index] = NULL; in txq_reclaim() 1257 int tx_index; in pxa168_eth_start_xmit() local 1260 tx_index = eth_alloc_tx_desc_index(pep); in pxa168_eth_start_xmit() 1261 desc = &pep->p_tx_desc_area[tx_index]; in pxa168_eth_start_xmit() 1263 pep->tx_skb[tx_index] = skb; in pxa168_eth_start_xmit()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-topcliff-pch.c | 173 u32 tx_index; member 265 u32 n_read, tx_index, rx_index, bpw_len; in pch_spi_handler_sub() local 278 tx_index = data->tx_index; in pch_spi_handler_sub() 290 if (tx_index < bpw_len) in pch_spi_handler_sub() 291 iowrite32(pkt_tx_buff[tx_index++], spdwr); in pch_spi_handler_sub() 307 data->tx_index = tx_index; in pch_spi_handler_sub() 312 if ((tx_index == bpw_len) && (rx_index == tx_index)) { in pch_spi_handler_sub() 571 data->tx_index = 0; in pch_spi_set_tx() 630 data->tx_index = j; in pch_spi_set_tx()
|
| /OK3568_Linux_fs/kernel/drivers/ntb/ |
| H A D | ntb_transport.c | 117 unsigned int tx_index; member 156 unsigned int tx_index; member 526 "tx_index (H) - \t%u\n", qp->tx_index); in debugfs_read() 680 qp->tx_index = 0; in ntb_transport_setup_qp_mw() 919 qp->tx_index = 0; in ntb_qp_link_down_reset() 1747 entry->tx_index; in ntb_tx_copy_callback() 1815 dest = qp->tx_mw_dma_addr + qp->tx_max_frame * entry->tx_index; in ntb_async_tx_submit() 1868 entry->tx_index = qp->tx_index; in ntb_async_tx() 1869 offset = qp->tx_mw + qp->tx_max_frame * entry->tx_index; in ntb_async_tx() 1899 if (qp->tx_index == qp->remote_rx_info->entry) { in ntb_process_tx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | ef100_tx.c | 323 unsigned int tx_index = (tx_queue->read_count + tx_done - 1) & in ef100_ev_tx() local 326 efx_xmit_done(tx_queue, tx_index); in ef100_ev_tx()
|
| /OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/ |
| H A D | hciattach.h | 163 int tx_index; /* current sending pkt number */ member
|
| H A D | hciattach_rtk.c | 871 rtb_cfg.tx_index == rtb_cfg.total_num) in h5_recv() 1138 rtb_cfg.tx_index = index & 0x7f; in h5_download_patch() 1141 rtb_cfg.tx_index = index; in h5_download_patch() 1276 } while (rtb_cfg.rx_index != rtb_cfg.tx_index); in h5_download_patch()
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-devtools/rtl-tools/files/ |
| H A D | hciattach_rtk.c | 444 int tx_index; /* current sending pkt number */ member 1432 if (rtk_hw_cfg.tx_index == rtk_hw_cfg.total_num) { in h5_recv() 1710 rtk_hw_cfg.tx_index = index & 0x7f; in hci_download_patch() 1712 rtk_hw_cfg.tx_index = index; in hci_download_patch() 1728 rtk_hw_cfg.tx_index, rtk_hw_cfg.rx_index); in hci_download_patch() 1730 while (rtk_hw_cfg.rx_index != rtk_hw_cfg.tx_index) { //receive data and wait last pkt in hci_download_patch()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-rk-tool.c | 831 int i, j, tx_index, rx_index; in dwmac_rk_delayline_scan_cross() local 835 tx_index = SCAN_STEP; in dwmac_rk_delayline_scan_cross() 845 for (j = tx_index; j <= (lb_priv->max_delay - SCAN_STEP); in dwmac_rk_delayline_scan_cross()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_main.c | 8794 int tx_index, bool leading) in bnx2x_setup_tx_only() argument 8805 tx_only_params->cid_index = tx_index; in bnx2x_setup_tx_only() 8808 bnx2x_pf_q_prep_general(bp, fp, &tx_only_params->gen_params, tx_index); in bnx2x_setup_tx_only() 8811 bnx2x_pf_tx_q_prep(bp, fp, &tx_only_params->txq_params, tx_index); in bnx2x_setup_tx_only() 8815 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only() 8816 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only() 8843 u8 tx_index; in bnx2x_setup_queue() local 8901 for (tx_index = FIRST_TX_ONLY_COS_INDEX; in bnx2x_setup_queue() 8902 tx_index < fp->max_cos; in bnx2x_setup_queue() 8903 tx_index++) { in bnx2x_setup_queue() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_shim.c | 760 handle->tp_acnt.tx_delay_driver[handle->tp_acnt.tx_index] = 762 handle->tp_acnt.tx_index++; 763 if (handle->tp_acnt.tx_index >= TXRX_MAX_SAMPLE) 764 handle->tp_acnt.tx_index = 0;
|
| H A D | moal_main.h | 2294 t_u8 tx_index; member
|