Lines Matching refs:send_idx
377 u32 send_idx; member
1655 tx_ring->send_idx = 0; in et131x_config_tx_dma_regs()
2515 tcb->index_start = tx_ring->send_idx; in nic_send_packet()
2518 thiscopy = NUM_DESC_PER_RING_TX - INDEX10(tx_ring->send_idx); in nic_send_packet()
2527 memcpy(tx_ring->tx_desc_ring + INDEX10(tx_ring->send_idx), in nic_send_packet()
2531 add_10bit(&tx_ring->send_idx, thiscopy); in nic_send_packet()
2533 if (INDEX10(tx_ring->send_idx) == 0 || in nic_send_packet()
2534 INDEX10(tx_ring->send_idx) == NUM_DESC_PER_RING_TX) { in nic_send_packet()
2535 tx_ring->send_idx &= ~ET_DMA10_MASK; in nic_send_packet()
2536 tx_ring->send_idx ^= ET_DMA10_WRAP; in nic_send_packet()
2544 add_10bit(&tx_ring->send_idx, remainder); in nic_send_packet()
2547 if (INDEX10(tx_ring->send_idx) == 0) { in nic_send_packet()
2548 if (tx_ring->send_idx) in nic_send_packet()
2553 tcb->index = tx_ring->send_idx - 1; in nic_send_packet()
2572 writel(tx_ring->send_idx, &adapter->regs->txdma.service_request); in nic_send_packet()