Home
last modified time | relevance | path

Searched refs:bm_buffer (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/soc/fsl/
H A Dbman.h35 struct bm_buffer { struct
49 static inline dma_addr_t bm_buf_addr(const struct bm_buffer *buf) in bm_buf_addr() argument
54 static inline u64 bm_buffer_get64(const struct bm_buffer *buf) in bm_buffer_get64()
59 static inline void bm_buffer_set64(struct bm_buffer *buf, u64 addr) in bm_buffer_set64()
65 static inline u8 bm_buffer_get_bpid(const struct bm_buffer *buf) in bm_buffer_get_bpid()
70 static inline void bm_buffer_set_bpid(struct bm_buffer *buf, int bpid) in bm_buffer_set_bpid()
114 int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num);
127 int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num);
/openbmc/linux/drivers/soc/fsl/qbman/
H A Dbman_test_api.c38 static struct bm_buffer bufs_in[NUM_BUFS] ____cacheline_aligned;
39 static struct bm_buffer bufs_out[NUM_BUFS] ____cacheline_aligned;
51 static inline int bufs_cmp(const struct bm_buffer *a, const struct bm_buffer *b) in bufs_cmp()
H A Dbman.c113 struct bm_buffer bufs[8];
151 struct bm_buffer bufs[8];
738 int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num) in bman_release()
786 int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num) in bman_acquire()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.h79 void (*free_buf_cb)(const struct dpaa_bp *, struct bm_buffer *);
H A Ddpaa_eth.c573 struct bm_buffer bmb[8]; in dpaa_bp_drain()
1350 struct bm_buffer *bmb, int cnt) in dpaa_bman_release()
1365 struct bm_buffer bmb[DPAA_BUFF_RELEASE_MAX]; in dpaa_release_sgt_members()
1396 struct bm_buffer bmb; in dpaa_fd_release()
1561 struct bm_buffer bmb[8]; in dpaa_bp_add_8_bufs()
3184 struct bm_buffer *bmb) in dpaa_bp_free_pf()