Lines Matching refs:rrd_ring

896 	struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring;  in atl1c_clean_rx_ring()  local
909 rrd_ring->next_to_use = 0; in atl1c_clean_rx_ring()
910 rrd_ring->next_to_clean = 0; in atl1c_clean_rx_ring()
920 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1c_init_ring_ptrs() local
934 rrd_ring->next_to_use = 0; in atl1c_init_ring_ptrs()
935 rrd_ring->next_to_clean = 0; in atl1c_init_ring_ptrs()
980 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1c_setup_ring_resources() local
988 rrd_ring->count = rfd_ring->count; in atl1c_setup_ring_resources()
1046 rrd_ring->dma = ring_header->dma + offset; in atl1c_setup_ring_resources()
1047 rrd_ring->desc = (u8 *) ring_header->desc + offset; in atl1c_setup_ring_resources()
1048 rrd_ring->size = sizeof(struct atl1c_recv_ret_status) * in atl1c_setup_ring_resources()
1049 rrd_ring->count; in atl1c_setup_ring_resources()
1050 offset += roundup(rrd_ring->size, 8); in atl1c_setup_ring_resources()
1063 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1c_configure_des_ring() local
1095 (u32)(rrd_ring->dma & AT_DMA_LO_ADDR_MASK)); in atl1c_configure_des_ring()
1097 (rrd_ring->count & RRD_RING_SIZE_MASK)); in atl1c_configure_des_ring()
1770 static void atl1c_clean_rrd(struct atl1c_rrd_ring *rrd_ring, in atl1c_clean_rrd() argument
1775 for (i = 0; i < num; i++, rrs = ATL1C_RRD_DESC(rrd_ring, in atl1c_clean_rrd()
1776 rrd_ring->next_to_clean)) { in atl1c_clean_rrd()
1778 if (++rrd_ring->next_to_clean == rrd_ring->count) in atl1c_clean_rrd()
1779 rrd_ring->next_to_clean = 0; in atl1c_clean_rrd()
1811 struct atl1c_rrd_ring *rrd_ring = &adapter->rrd_ring; in atl1c_clean_rx_irq() local
1819 rrs = ATL1C_RRD_DESC(rrd_ring, rrd_ring->next_to_clean); in atl1c_clean_rx_irq()
1833 atl1c_clean_rrd(rrd_ring, rrs, rfd_num); in atl1c_clean_rx_irq()