Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c1206 raq->e_raq_buf = kzalloc(sizeof(*(raq->e_raq_buf)), GFP_KERNEL); in hns_roce_raq_init()
1207 if (!raq->e_raq_buf) in hns_roce_raq_init()
1210 raq->e_raq_buf->buf = dma_alloc_coherent(dev, HNS_ROCE_V1_RAQ_SIZE, in hns_roce_raq_init()
1212 if (!raq->e_raq_buf->buf) { in hns_roce_raq_init()
1216 raq->e_raq_buf->map = addr; in hns_roce_raq_init()
1219 roce_write(hr_dev, ROCEE_EXT_RAQ_REG, raq->e_raq_buf->map >> 12); in hns_roce_raq_init()
1234 raq->e_raq_buf->map >> 44); in hns_roce_raq_init()
1278 kfree(raq->e_raq_buf); in hns_roce_raq_init()
1291 dma_free_coherent(dev, HNS_ROCE_V1_RAQ_SIZE, raq->e_raq_buf->buf, in hns_roce_raq_free()
1292 raq->e_raq_buf->map); in hns_roce_raq_free()
[all …]
Dhns_roce_device.h448 struct hns_roce_buf_list *e_raq_buf; member