Home
last modified time | relevance | path

Searched refs:hns_roce_buf (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/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.h295 struct hns_roce_buf *kmem; /* kernel space buffer */
369 struct hns_roce_buf { struct
1049 static inline void *hns_roce_buf_offset(struct hns_roce_buf *buf, in hns_roce_buf_offset()
1056 static inline dma_addr_t hns_roce_buf_dma_addr(struct hns_roce_buf *buf, in hns_roce_buf_dma_addr()
1063 static inline dma_addr_t hns_roce_buf_page(struct hns_roce_buf *buf, u32 idx) in hns_roce_buf_page()
1178 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf);
1179 struct hns_roce_buf *hns_roce_buf_alloc(struct hns_roce_dev *hr_dev, u32 size,
1183 int buf_cnt, struct hns_roce_buf *buf,
H A Dhns_roce_hw_v2.h1296 struct hns_roce_buf *buf;
H A Dhns_roce_hw_v2.c2388 static void config_llm_table(struct hns_roce_buf *data_buf, void *cfg_buf) in config_llm_table()
2414 struct hns_roce_buf *buf = table->buf; in set_llm_cfg_to_hw()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_alloc.c160 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf) in hns_roce_buf_free()
185 struct hns_roce_buf *buf, u32 page_shift) in hns_roce_buf_alloc()
235 int buf_cnt, int start, struct hns_roce_buf *buf) in hns_roce_get_kmem_bufs()
H A Dhns_roce_device.h360 struct hns_roce_buf *kmem; /* kernel space buffer */
420 struct hns_roce_buf { struct
1070 static inline bool hns_roce_buf_is_direct(struct hns_roce_buf *buf) in hns_roce_buf_is_direct()
1078 static inline void *hns_roce_buf_offset(struct hns_roce_buf *buf, int offset) in hns_roce_buf_offset()
1087 static inline dma_addr_t hns_roce_buf_page(struct hns_roce_buf *buf, int idx) in hns_roce_buf_page()
1223 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf);
1225 struct hns_roce_buf *buf, u32 page_shift);
1228 int buf_cnt, int start, struct hns_roce_buf *buf);

Completed in 20 milliseconds