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
791 adapter->rfd_ring[0].count = 512; in atl1c_sw_init()905 struct atl1c_rfd_ring *rfd_ring = &adapter->rfd_ring[queue]; in atl1c_clean_rx_ring() local911 for (j = 0; j < rfd_ring->count; j++) { in atl1c_clean_rx_ring()912 buffer_info = &rfd_ring->buffer_info[j]; in atl1c_clean_rx_ring()916 memset(rfd_ring->desc, 0, rfd_ring->size); in atl1c_clean_rx_ring()917 rfd_ring->next_to_clean = 0; in atl1c_clean_rx_ring()918 rfd_ring->next_to_use = 0; in atl1c_clean_rx_ring()929 struct atl1c_rfd_ring *rfd_ring = adapter->rfd_ring; in atl1c_init_ring_ptrs() local943 rfd_ring[i].next_to_use = 0; in atl1c_init_ring_ptrs()944 rfd_ring[i].next_to_clean = 0; in atl1c_init_ring_ptrs()[all …]
544 struct atl1c_rfd_ring rfd_ring[AT_MAX_RECEIVE_QUEUE]; member