Lines Matching refs:send_idx
377 u32 send_idx; member
1655 tx_ring->send_idx = 0; in et131x_config_tx_dma_regs()
2514 tcb->index_start = tx_ring->send_idx; in nic_send_packet()
2517 thiscopy = NUM_DESC_PER_RING_TX - INDEX10(tx_ring->send_idx); in nic_send_packet()
2526 memcpy(tx_ring->tx_desc_ring + INDEX10(tx_ring->send_idx), in nic_send_packet()
2530 add_10bit(&tx_ring->send_idx, thiscopy); in nic_send_packet()
2532 if (INDEX10(tx_ring->send_idx) == 0 || in nic_send_packet()
2533 INDEX10(tx_ring->send_idx) == NUM_DESC_PER_RING_TX) { in nic_send_packet()
2534 tx_ring->send_idx &= ~ET_DMA10_MASK; in nic_send_packet()
2535 tx_ring->send_idx ^= ET_DMA10_WRAP; in nic_send_packet()
2543 add_10bit(&tx_ring->send_idx, remainder); in nic_send_packet()
2546 if (INDEX10(tx_ring->send_idx) == 0) { in nic_send_packet()
2547 if (tx_ring->send_idx) in nic_send_packet()
2552 tcb->index = tx_ring->send_idx - 1; in nic_send_packet()
2571 writel(tx_ring->send_idx, &adapter->regs->txdma.service_request); in nic_send_packet()