Searched refs:e_raq_buf (Results 1 – 2 of 2) sorted by relevance
1156 raq->e_raq_buf = kzalloc(sizeof(*(raq->e_raq_buf)), GFP_KERNEL); in hns_roce_raq_init()1157 if (!raq->e_raq_buf) in hns_roce_raq_init()1160 raq->e_raq_buf->buf = dma_alloc_coherent(dev, HNS_ROCE_V1_RAQ_SIZE, in hns_roce_raq_init()1162 if (!raq->e_raq_buf->buf) { in hns_roce_raq_init()1166 raq->e_raq_buf->map = addr; in hns_roce_raq_init()1169 roce_write(hr_dev, ROCEE_EXT_RAQ_REG, raq->e_raq_buf->map >> 12); in hns_roce_raq_init()1184 raq->e_raq_buf->map >> 44); in hns_roce_raq_init()1228 kfree(raq->e_raq_buf); in hns_roce_raq_init()1238 dma_free_coherent(dev, HNS_ROCE_V1_RAQ_SIZE, raq->e_raq_buf->buf, in hns_roce_raq_free()1239 raq->e_raq_buf->map); in hns_roce_raq_free()[all …]
535 struct hns_roce_buf_list *e_raq_buf; member