Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c78 (((unsigned long)(wqe) - (unsigned long)(wq)->shadow_wqe) \
384 wq->shadow_wqe = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); in alloc_wqes_shadow()
385 if (!wq->shadow_wqe) in alloc_wqes_shadow()
396 devm_kfree(&pdev->dev, wq->shadow_wqe); in alloc_wqes_shadow()
410 devm_kfree(&pdev->dev, wq->shadow_wqe); in free_wqes_shadow()
772 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()
842 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()
874 return WQE_IN_RANGE(wqe, wq->shadow_wqe, in wqe_shadow()
875 &wq->shadow_wqe[wqe_shadow_size]); in wqe_shadow()
896 shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_write_wqe()
Dhinic_hw_wq.h41 u8 *shadow_wqe; member