Searched refs:mem_buf (Results 1 – 7 of 7) sorted by relevance
/trusty/user/base/lib/spi/common/include/lib/spi/common/ |
D | utils.h | 50 struct mem_buf { struct 64 static inline size_t mb_curr_pos(struct mem_buf* mb) { in mb_curr_pos() 74 static inline size_t mb_size(struct mem_buf* mb) { in mb_size() 84 static inline size_t mb_space_left(struct mem_buf* mb) { in mb_space_left() 92 static inline void mb_rewind_pos(struct mem_buf* mb) { in mb_rewind_pos() 105 void mb_init(struct mem_buf* mb, void* buf, size_t cap, size_t align); 114 void mb_destroy(struct mem_buf* mb); 126 bool mb_resize(struct mem_buf* mb, size_t sz); 140 void* mb_advance_pos(struct mem_buf* mb, size_t sz);
|
/trusty/user/base/lib/spi/common/ |
D | utils.c | 61 void mb_init(struct mem_buf* mb, void* buf, size_t sz, size_t align) { in mb_init() 71 void mb_destroy(struct mem_buf* mb) { in mb_destroy() 79 static inline bool mb_is_destroyed(struct mem_buf* mb) { in mb_is_destroyed() 83 bool mb_resize(struct mem_buf* mb, size_t sz) { in mb_resize() 95 void* mb_advance_pos(struct mem_buf* mb, size_t sz) { in mb_advance_pos()
|
/trusty/user/base/lib/spi/srv/batch/ |
D | batch.c | 33 static int handle_xfer_args(struct spi_dev_ctx* spi, struct mem_buf* shm) { in handle_xfer_args() 68 static int handle_clk_args(struct spi_dev_ctx* spi, struct mem_buf* shm) { in handle_clk_args() 87 static int handle_delay_args(struct spi_dev_ctx* spi, struct mem_buf* shm) { in handle_delay_args() 107 struct mem_buf* shm, in unpack_shm() 183 struct mem_buf* shm, in spi_srv_handle_batch()
|
/trusty/user/base/lib/spi/srv/common/include/lib/spi/srv/common/ |
D | common.h | 51 struct mem_buf* mb,
|
/trusty/user/base/lib/spi/client/include/lib/spi/client/ |
D | spi.h | 43 struct mem_buf shm;
|
/trusty/user/base/lib/spi/srv/tipc/ |
D | tipc.c | 38 struct mem_buf shm; 257 struct mem_buf mb; in on_disconnect()
|
/trusty/user/base/lib/spi/client/ |
D | client.c | 237 struct mem_buf* shm, in validate_batch_resp()
|