Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c386 wq->shadow_idx = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
387 sizeof(*wq->shadow_idx), GFP_KERNEL); in alloc_wqes_shadow()
388 if (!wq->shadow_idx) in alloc_wqes_shadow()
407 devm_kfree(&pdev->dev, wq->shadow_idx); in free_wqes_shadow()
777 wq->shadow_idx[curr_pg] = *prod_idx; in hinic_get_wqe()
898 prod_idx = wq->shadow_idx[curr_pg]; in hinic_write_wqe()
H A Dhinic_hw_wq.h42 u16 *shadow_idx; member