Searched refs:rfd_ring (Results 1 – 4 of 4) sorted by relevance
1022 struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1_setup_ring_resources() local1029 size = sizeof(struct atl1_buffer) * (tpd_ring->count + rfd_ring->count); in atl1_setup_ring_resources()1037 rfd_ring->buffer_info = in atl1_setup_ring_resources()1047 + sizeof(struct rx_free_desc) * rfd_ring->count in atl1_setup_ring_resources()1069 rfd_ring->dma = tpd_ring->dma + tpd_ring->size; in atl1_setup_ring_resources()1070 offset = (rfd_ring->dma & 0x7) ? (8 - (rfd_ring->dma & 0x7)) : 0; in atl1_setup_ring_resources()1071 rfd_ring->dma += offset; in atl1_setup_ring_resources()1072 rfd_ring->desc = (u8 *) tpd_ring->desc + (tpd_ring->size + offset); in atl1_setup_ring_resources()1073 rfd_ring->size = sizeof(struct rx_free_desc) * rfd_ring->count; in atl1_setup_ring_resources()1077 rrd_ring->dma = rfd_ring->dma + rfd_ring->size; in atl1_setup_ring_resources()[all …]
768 struct atl1_rfd_ring rfd_ring; member
773 adapter->rfd_ring.count = 512; in atl1c_sw_init()880 struct atl1c_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1c_clean_rx_ring() local886 for (j = 0; j < rfd_ring->count; j++) { in atl1c_clean_rx_ring()887 buffer_info = &rfd_ring->buffer_info[j]; in atl1c_clean_rx_ring()891 memset(rfd_ring->desc, 0, rfd_ring->size); in atl1c_clean_rx_ring()892 rfd_ring->next_to_clean = 0; in atl1c_clean_rx_ring()893 rfd_ring->next_to_use = 0; in atl1c_clean_rx_ring()904 struct atl1c_rfd_ring *rfd_ring = &adapter->rfd_ring; in atl1c_init_ring_ptrs() local917 rfd_ring->next_to_use = 0; in atl1c_init_ring_ptrs()918 rfd_ring->next_to_clean = 0; in atl1c_init_ring_ptrs()[all …]
541 struct atl1c_rfd_ring rfd_ring; member