Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v1.c1327 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_tptr_init() local
1336 tptr_buf->buf = dma_alloc_coherent(dev, HNS_ROCE_V1_TPTR_BUF_SIZE, in hns_roce_tptr_init()
1337 &tptr_buf->map, GFP_KERNEL); in hns_roce_tptr_init()
1338 if (!tptr_buf->buf) in hns_roce_tptr_init()
1341 hr_dev->tptr_dma_addr = tptr_buf->map; in hns_roce_tptr_init()
1350 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_tptr_free() local
1354 tptr_buf->buf, tptr_buf->map); in hns_roce_tptr_free()
1994 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_v1_write_cqc() local
2003 tptr_dma_addr = tptr_buf->map + offset; in hns_roce_v1_write_cqc()
2004 hr_cq->tptr_addr = (u16 *)(tptr_buf->buf + offset); in hns_roce_v1_write_cqc()
H A Dhns_roce_hw_v1.h1052 struct hns_roce_buf_list tptr_buf; member