Home
last modified time | relevance | path

Searched refs:pi_virt_addr (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c413 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); in hinic_init_rq()
414 rq->pi_virt_addr = dma_alloc_coherent(&pdev->dev, pi_size, in hinic_init_rq()
416 if (!rq->pi_virt_addr) { in hinic_init_rq()
441 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); in hinic_clean_rq()
442 dma_free_coherent(&pdev->dev, pi_size, rq->pi_virt_addr, in hinic_clean_rq()
970 *rq->pi_virt_addr = cpu_to_be16(RQ_MASKED_IDX(rq, prod_idx + 1)); in hinic_rq_update()
Dhinic_hw_qp.h116 u16 *pi_virt_addr; member
Dhinic_debugfs.c61 return be16_to_cpu(*(__be16 *)(rq->pi_virt_addr)) & wq->mask; in hinic_dbg_get_rq_info()