Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_alloc.c38 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf) in hns_roce_buf_free()
66 struct hns_roce_buf *hns_roce_buf_alloc(struct hns_roce_dev *hr_dev, u32 size, in hns_roce_buf_alloc()
71 struct hns_roce_buf *buf; in hns_roce_buf_alloc()
133 int buf_cnt, struct hns_roce_buf *buf, in hns_roce_get_kmem_bufs()
H A Dhns_roce_device.h301 struct hns_roce_buf *kmem; /* kernel space buffer */
375 struct hns_roce_buf { struct
1054 static inline void *hns_roce_buf_offset(struct hns_roce_buf *buf, in hns_roce_buf_offset()
1061 static inline dma_addr_t hns_roce_buf_dma_addr(struct hns_roce_buf *buf, in hns_roce_buf_dma_addr()
1068 static inline dma_addr_t hns_roce_buf_page(struct hns_roce_buf *buf, u32 idx) in hns_roce_buf_page()
1188 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf);
1189 struct hns_roce_buf *hns_roce_buf_alloc(struct hns_roce_dev *hr_dev, u32 size,
1193 int buf_cnt, struct hns_roce_buf *buf,
H A Dhns_roce_hw_v2.h1302 struct hns_roce_buf *buf;
H A Dhns_roce_hw_v2.c2390 static void config_llm_table(struct hns_roce_buf *data_buf, void *cfg_buf) in config_llm_table()
2416 struct hns_roce_buf *buf = table->buf; in set_llm_cfg_to_hw()