Searched refs:rfd_ring (Results 1 – 4 of 4) sorted by relevance
1041 struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1_setup_ring_resources() local1048 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 …]
781 struct atl1_rfd_ring rfd_ring; member
789 adapter->rfd_ring.count = 512; in atl1c_sw_init()895 struct atl1c_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1c_clean_rx_ring() local901 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() local932 rfd_ring->next_to_use = 0; in atl1c_init_ring_ptrs()933 rfd_ring->next_to_clean = 0; in atl1c_init_ring_ptrs()[all …]
554 struct atl1c_rfd_ring rfd_ring; member