Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/agere/
Det131x.c798 *v = INDEX10(*v + n) | (*v & ET_DMA10_WRAP); in add_10bit()
2146 INDEX10(fbr->local_full); in nic_return_rfd()
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()
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()
2547 if (INDEX10(tx_ring->send_idx) == 0) { in nic_send_packet()
2652 INDEX10(tcb->index_start); in free_send_packet()
2662 if (INDEX10(tcb->index_start) >= in free_send_packet()
2667 } while (desc != tx_ring->tx_desc_ring + INDEX10(tcb->index)); in free_send_packet()
[all …]
Det131x.h207 #define INDEX10(x) ((x) & ET_DMA10_MASK) macro