Searched refs:tptr_buf (Results 1 – 2 of 2) sorted by relevance
1327 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_tptr_init() local1336 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() local1354 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() local2003 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()
1052 struct hns_roce_buf_list tptr_buf; member