Lines Matching refs:rx_page
698 if (rx_page_desc[i].rx_page[j].addr != NULL) { in atl1e_clean_rx_ring()
699 memset(rx_page_desc[i].rx_page[j].addr, 0, in atl1e_clean_rx_ring()
758 *rx_page_desc[i].rx_page[j].write_offset_addr = 0; in atl1e_init_ring_ptrs()
759 rx_page_desc[i].rx_page[j].read_offset = 0; in atl1e_init_ring_ptrs()
842 rx_page_desc[i].rx_page[j].dma = in atl1e_setup_ring_resources()
844 rx_page_desc[i].rx_page[j].addr = in atl1e_setup_ring_resources()
857 rx_page_desc[i].rx_page[j].write_offset_dma = in atl1e_setup_ring_resources()
859 rx_page_desc[i].rx_page[j].write_offset_addr = in atl1e_setup_ring_resources()
909 page_phy_addr = rx_page_desc[i].rx_page[j].dma; in atl1e_configure_des_ring()
911 rx_page_desc[i].rx_page[j].write_offset_dma; in atl1e_configure_des_ring()
1391 return &(rx_page_desc[que].rx_page[rx_using]); in atl1e_get_rx_page()
1402 struct atl1e_rx_page *rx_page = atl1e_get_rx_page(adapter, que); in atl1e_clean_rx_irq() local
1406 write_offset = *(rx_page->write_offset_addr); in atl1e_clean_rx_irq()
1407 if (likely(rx_page->read_offset < write_offset)) { in atl1e_clean_rx_irq()
1413 prrs = (struct atl1e_recv_ret_status *) (rx_page->addr + in atl1e_clean_rx_irq()
1414 rx_page->read_offset); in atl1e_clean_rx_irq()
1471 rx_page->read_offset += in atl1e_clean_rx_irq()
1477 if (rx_page->read_offset >= rx_ring->page_size) { in atl1e_clean_rx_irq()
1482 rx_page->read_offset = in atl1e_clean_rx_irq()
1483 *(rx_page->write_offset_addr) = 0; in atl1e_clean_rx_irq()
1489 rx_page = atl1e_get_rx_page(adapter, que); in atl1e_clean_rx_irq()
1491 write_offset = *(rx_page->write_offset_addr); in atl1e_clean_rx_irq()
1492 } while (rx_page->read_offset < write_offset); in atl1e_clean_rx_irq()