Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datl1.c1041 struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1_setup_ring_resources() local
1048 size = sizeof(struct atl1_buffer) * (tpd_ring->count + rfd_ring->count); in atl1_setup_ring_resources()
1056 rfd_ring->buffer_info = in atl1_setup_ring_resources()
1066 + sizeof(struct rx_free_desc) * rfd_ring->count in atl1_setup_ring_resources()
1090 rfd_ring->dma = tpd_ring->dma + tpd_ring->size; in atl1_setup_ring_resources()
1091 offset = (rfd_ring->dma & 0x7) ? (8 - (rfd_ring->dma & 0x7)) : 0; in atl1_setup_ring_resources()
1092 rfd_ring->dma += offset; in atl1_setup_ring_resources()
1093 rfd_ring->desc = (u8 *) tpd_ring->desc + (tpd_ring->size + offset); in atl1_setup_ring_resources()
1094 rfd_ring->size = sizeof(struct rx_free_desc) * rfd_ring->count; in atl1_setup_ring_resources()
1098 rrd_ring->dma = rfd_ring->dma + rfd_ring->size; in atl1_setup_ring_resources()
[all …]
Datl1.h781 struct atl1_rfd_ring rfd_ring; member
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c789 adapter->rfd_ring.count = 512; in atl1c_sw_init()
895 struct atl1c_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1c_clean_rx_ring() local
901 for (j = 0; j < rfd_ring->count; j++) { in atl1c_clean_rx_ring()
902 buffer_info = &rfd_ring->buffer_info[j]; in atl1c_clean_rx_ring()
906 memset(rfd_ring->desc, 0, rfd_ring->size); in atl1c_clean_rx_ring()
907 rfd_ring->next_to_clean = 0; in atl1c_clean_rx_ring()
908 rfd_ring->next_to_use = 0; in atl1c_clean_rx_ring()
919 struct atl1c_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1c_init_ring_ptrs() local
932 rfd_ring->next_to_use = 0; in atl1c_init_ring_ptrs()
933 rfd_ring->next_to_clean = 0; in atl1c_init_ring_ptrs()
[all …]
Datl1c.h554 struct atl1c_rfd_ring rfd_ring; member