Home
last modified time | relevance | path

Searched refs:send_idx (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/agere/
Det131x.c377 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()
[all …]
/drivers/hv/
Dchannel.c96 int send_idx = hv_ring_gpadl_send_hvpgoffset(send_offset); in hv_gpadl_hvpfn() local
105 else if (i <= send_idx) in hv_gpadl_hvpfn()