Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c1413 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_tptr_init() local
1422 tptr_buf->buf = dma_alloc_coherent(dev, HNS_ROCE_V1_TPTR_BUF_SIZE, in hns_roce_tptr_init()
1423 &tptr_buf->map, GFP_KERNEL); in hns_roce_tptr_init()
1424 if (!tptr_buf->buf) in hns_roce_tptr_init()
1427 hr_dev->tptr_dma_addr = tptr_buf->map; in hns_roce_tptr_init()
1436 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_tptr_free() local
1440 tptr_buf->buf, tptr_buf->map); in hns_roce_tptr_free()
2072 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_v1_write_cqc() local
2081 tptr_dma_addr = tptr_buf->map + offset; in hns_roce_v1_write_cqc()
2082 hr_cq->tptr_addr = (u16 *)(tptr_buf->buf + offset); in hns_roce_v1_write_cqc()
Dhns_roce_hw_v1.h1100 struct hns_roce_buf_list tptr_buf; member