Lines Matching refs:rrd_ring

828 	struct atl1c_rrd_ring *rrd_ring = adapter->rrd_ring;  in atl1c_clean_rx_ring()  local
842 rrd_ring[i].next_to_use = 0; in atl1c_clean_rx_ring()
843 rrd_ring[i].next_to_clean = 0; in atl1c_clean_rx_ring()
854 struct atl1c_rrd_ring *rrd_ring = adapter->rrd_ring; in atl1c_init_ring_ptrs() local
869 rrd_ring[i].next_to_use = 0; in atl1c_init_ring_ptrs()
870 rrd_ring[i].next_to_clean = 0; in atl1c_init_ring_ptrs()
912 struct atl1c_rrd_ring *rrd_ring = adapter->rrd_ring; in atl1c_setup_ring_resources() local
921 rrd_ring[0].count = rfd_ring[0].count; in atl1c_setup_ring_resources()
926 rfd_ring[i].count = rrd_ring[i].count = rfd_ring[0].count; in atl1c_setup_ring_resources()
991 rrd_ring[i].dma = ring_header->dma + offset; in atl1c_setup_ring_resources()
992 rrd_ring[i].desc = (u8 *) ring_header->desc + offset; in atl1c_setup_ring_resources()
993 rrd_ring[i].size = sizeof(struct atl1c_recv_ret_status) * in atl1c_setup_ring_resources()
994 rrd_ring[i].count; in atl1c_setup_ring_resources()
995 offset += roundup(rrd_ring[i].size, 8); in atl1c_setup_ring_resources()
1012 struct atl1c_rrd_ring *rrd_ring = (struct atl1c_rrd_ring *) in atl1c_configure_des_ring() local
1013 adapter->rrd_ring; in atl1c_configure_des_ring()
1051 (u32)(rrd_ring[i].dma & AT_DMA_LO_ADDR_MASK)); in atl1c_configure_des_ring()
1053 (rrd_ring[0].count & RRD_RING_SIZE_MASK)); in atl1c_configure_des_ring()
1786 static void atl1c_clean_rrd(struct atl1c_rrd_ring *rrd_ring, in atl1c_clean_rrd() argument
1791 for (i = 0; i < num; i++, rrs = ATL1C_RRD_DESC(rrd_ring, in atl1c_clean_rrd()
1792 rrd_ring->next_to_clean)) { in atl1c_clean_rrd()
1794 if (++rrd_ring->next_to_clean == rrd_ring->count) in atl1c_clean_rrd()
1795 rrd_ring->next_to_clean = 0; in atl1c_clean_rrd()
1827 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring[que]; in atl1c_clean_rx_irq() local
1835 rrs = ATL1C_RRD_DESC(rrd_ring, rrd_ring->next_to_clean); in atl1c_clean_rx_irq()
1849 atl1c_clean_rrd(rrd_ring, rrs, rfd_num); in atl1c_clean_rx_irq()