Lines Matching refs:page_idx
637 int i, page_idx = 0, n_pages, ring_size; in mtk_wed_tx_buffer_alloc() local
684 page_list[page_idx].p = page; in mtk_wed_tx_buffer_alloc()
685 page_list[page_idx++].phy_addr = page_phys; in mtk_wed_tx_buffer_alloc()
735 int i, page_idx = 0; in mtk_wed_free_tx_buffer() local
744 dma_addr_t page_phy = page_list[page_idx].phy_addr; in mtk_wed_free_tx_buffer()
745 void *page = page_list[page_idx++].p; in mtk_wed_free_tx_buffer()
771 int i, page_idx = 0; in mtk_wed_hwrro_buffer_alloc() local
807 page_list[page_idx].p = page; in mtk_wed_hwrro_buffer_alloc()
808 page_list[page_idx++].phy_addr = page_phys; in mtk_wed_hwrro_buffer_alloc()
852 int i, page_idx = 0; in mtk_wed_hwrro_free_buffer() local
864 dma_addr_t buf_addr = page_list[page_idx].phy_addr; in mtk_wed_hwrro_free_buffer()
865 void *page = page_list[page_idx++].p; in mtk_wed_hwrro_free_buffer()