Home
last modified time | relevance | path

Searched refs:shadow_wqe (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c78 (((unsigned long)(wqe) - (unsigned long)(wq)->shadow_wqe) \
382 wq->shadow_wqe = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
384 if (!wq->shadow_wqe) in alloc_wqes_shadow()
395 devm_kfree(&pdev->dev, wq->shadow_wqe); in alloc_wqes_shadow()
409 devm_kfree(&pdev->dev, wq->shadow_wqe); in free_wqes_shadow()
774 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()
847 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()
879 return WQE_IN_RANGE(wqe, wq->shadow_wqe, in wqe_shadow()
880 &wq->shadow_wqe[wqe_shadow_size]); in wqe_shadow()
901 shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_write_wqe()
Dhinic_hw_wq.h41 u8 *shadow_wqe; member