Home
last modified time | relevance | path

Searched refs:rrd_ring (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datl1.c1042 struct atl1_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1_setup_ring_resources() local
1067 + sizeof(struct rx_return_desc) * rrd_ring->count in atl1_setup_ring_resources()
1098 rrd_ring->dma = rfd_ring->dma + rfd_ring->size; in atl1_setup_ring_resources()
1099 offset = (rrd_ring->dma & 0x7) ? (8 - (rrd_ring->dma & 0x7)) : 0; in atl1_setup_ring_resources()
1100 rrd_ring->dma += offset; in atl1_setup_ring_resources()
1101 rrd_ring->desc = (u8 *) rfd_ring->desc + (rfd_ring->size + offset); in atl1_setup_ring_resources()
1102 rrd_ring->size = sizeof(struct rx_return_desc) * rrd_ring->count; in atl1_setup_ring_resources()
1106 adapter->cmb.dma = rrd_ring->dma + rrd_ring->size; in atl1_setup_ring_resources()
1110 ((u8 *) rrd_ring->desc + (rrd_ring->size + offset)); in atl1_setup_ring_resources()
1131 struct atl1_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1_init_ring_ptrs() local
[all …]
Datl1.h782 struct atl1_rrd_ring rrd_ring; member
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c896 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1c_clean_rx_ring() local
909 rrd_ring->next_to_use = 0; in atl1c_clean_rx_ring()
910 rrd_ring->next_to_clean = 0; in atl1c_clean_rx_ring()
920 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1c_init_ring_ptrs() local
934 rrd_ring->next_to_use = 0; in atl1c_init_ring_ptrs()
935 rrd_ring->next_to_clean = 0; in atl1c_init_ring_ptrs()
980 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1c_setup_ring_resources() local
988 rrd_ring->count = rfd_ring->count; in atl1c_setup_ring_resources()
1046 rrd_ring->dma = ring_header->dma + offset; in atl1c_setup_ring_resources()
1047 rrd_ring->desc = (u8 *) ring_header->desc + offset; in atl1c_setup_ring_resources()
[all …]
Datl1c.h555 struct atl1c_rrd_ring rrd_ring; member