Home
last modified time | relevance | path

Searched refs:hns_roce_buf (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c39 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf) in hns_roce_buf_free()
67 struct hns_roce_buf *hns_roce_buf_alloc(struct hns_roce_dev *hr_dev, u32 size, in hns_roce_buf_alloc()
72 struct hns_roce_buf *buf; in hns_roce_buf_alloc()
134 int buf_cnt, struct hns_roce_buf *buf, in hns_roce_get_kmem_bufs()
Dhns_roce_device.h321 struct hns_roce_buf *kmem; /* kernel space buffer */
397 struct hns_roce_buf { struct
1063 static inline void *hns_roce_buf_offset(struct hns_roce_buf *buf, in hns_roce_buf_offset()
1070 static inline dma_addr_t hns_roce_buf_dma_addr(struct hns_roce_buf *buf, in hns_roce_buf_dma_addr()
1077 static inline dma_addr_t hns_roce_buf_page(struct hns_roce_buf *buf, u32 idx) in hns_roce_buf_page()
1196 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf);
1197 struct hns_roce_buf *hns_roce_buf_alloc(struct hns_roce_dev *hr_dev, u32 size,
1201 int buf_cnt, struct hns_roce_buf *buf,
Dhns_roce_hw_v2.h1429 struct hns_roce_buf *buf;
Dhns_roce_hw_v2.c2509 static void config_llm_table(struct hns_roce_buf *data_buf, void *cfg_buf) in config_llm_table()
2535 struct hns_roce_buf *buf = table->buf; in set_llm_cfg_to_hw()