Lines Matching refs:sec_page
1444 if (priv->sph && !buf->sec_page) { in stmmac_init_rx_buffers()
1445 buf->sec_page = page_pool_alloc_pages(rx_q->page_pool, gfp); in stmmac_init_rx_buffers()
1446 if (!buf->sec_page) in stmmac_init_rx_buffers()
1449 buf->sec_addr = page_pool_get_dma_addr(buf->sec_page); in stmmac_init_rx_buffers()
1452 buf->sec_page = NULL; in stmmac_init_rx_buffers()
1481 if (buf->sec_page) in stmmac_free_rx_buffer()
1482 page_pool_put_full_page(rx_q->page_pool, buf->sec_page, false); in stmmac_free_rx_buffer()
1483 buf->sec_page = NULL; in stmmac_free_rx_buffer()
4609 if (priv->sph && !buf->sec_page) { in stmmac_rx_refill()
4610 buf->sec_page = page_pool_alloc_pages(rx_q->page_pool, gfp); in stmmac_rx_refill()
4611 if (!buf->sec_page) in stmmac_rx_refill()
4614 buf->sec_addr = page_pool_get_dma_addr(buf->sec_page); in stmmac_rx_refill()
5280 if (buf->sec_page) in stmmac_rx()
5281 prefetch(page_address(buf->sec_page)); in stmmac_rx()
5385 buf->sec_page, 0, buf2_len, in stmmac_rx()
5389 page_pool_release_page(rx_q->page_pool, buf->sec_page); in stmmac_rx()
5390 buf->sec_page = NULL; in stmmac_rx()