Home
last modified time | relevance | path

Searched refs:shadow_idx (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c387 wq->shadow_idx = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
388 sizeof(*wq->shadow_idx), GFP_KERNEL); in alloc_wqes_shadow()
389 if (!wq->shadow_idx) in alloc_wqes_shadow()
408 devm_kfree(&pdev->dev, wq->shadow_idx); in free_wqes_shadow()
778 wq->shadow_idx[curr_pg] = *prod_idx; in hinic_get_wqe()
899 prod_idx = wq->shadow_idx[curr_pg]; in hinic_write_wqe()
H A Dhinic_hw_wq.h42 u16 *shadow_idx; member
/kernel/linux/linux-6.6/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

Completed in 3 milliseconds