Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c78 (((unsigned long)(wqe) - (unsigned long)(wq)->shadow_wqe) \
381 wq->shadow_wqe = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
383 if (!wq->shadow_wqe) in alloc_wqes_shadow()
394 devm_kfree(&pdev->dev, wq->shadow_wqe); in alloc_wqes_shadow()
408 devm_kfree(&pdev->dev, wq->shadow_wqe); in free_wqes_shadow()
773 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()
846 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()
878 return WQE_IN_RANGE(wqe, wq->shadow_wqe, in wqe_shadow()
879 &wq->shadow_wqe[wqe_shadow_size]); in wqe_shadow()
900 shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_write_wqe()
H A Dhinic_hw_wq.h41 u8 *shadow_wqe; member