Searched refs:tptr_buf (Results 1 – 2 of 2) sorted by relevance
1413 struct hns_roce_buf_list *tptr_buf = &priv->tptr_table.tptr_buf; in hns_roce_tptr_init() local1422 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() local1440 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() local2081 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()
1100 struct hns_roce_buf_list tptr_buf; member