Searched refs:abuf (Results 1 – 7 of 7) sorted by relevance
| /rk3399_rockchip-uboot/lib/ |
| H A D | abuf.c | 15 void abuf_set(struct abuf *abuf, void *data, size_t size) in abuf_set() argument 17 abuf_uninit(abuf); in abuf_set() 18 abuf->data = data; in abuf_set() 19 abuf->size = size; in abuf_set() 22 void abuf_map_sysmem(struct abuf *abuf, ulong addr, size_t size) in abuf_map_sysmem() argument 24 abuf_set(abuf, map_sysmem(addr, size), size); in abuf_map_sysmem() 27 bool abuf_realloc(struct abuf *abuf, size_t new_size) in abuf_realloc() argument 33 abuf_uninit(abuf); in abuf_realloc() 35 } else if (abuf->alloced) { in abuf_realloc() 37 ptr = realloc(abuf->data, new_size); in abuf_realloc() [all …]
|
| H A D | Makefile | 80 obj-y += abuf.o
|
| /rk3399_rockchip-uboot/include/ |
| H A D | abuf.h | 29 struct abuf { struct 35 static inline void *abuf_data(const struct abuf *abuf) in abuf_data() argument 37 return abuf->data; in abuf_data() 40 static inline size_t abuf_size(const struct abuf *abuf) in abuf_size() argument 42 return abuf->size; in abuf_size() 58 void abuf_set(struct abuf *abuf, void *data, size_t size); 72 void abuf_map_sysmem(struct abuf *abuf, ulong addr, size_t size); 91 bool abuf_realloc(struct abuf *abuf, size_t new_size); 115 void *abuf_uninit_move(struct abuf *abuf, size_t *sizep); 126 void abuf_init_move(struct abuf *abuf, void *data, size_t size); [all …]
|
| H A D | fdt_support.h | 188 int board_rng_seed(struct abuf *buf);
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | adi_i2c.c | 78 u8 *abuf; /* addr buffer */ member 99 writew(*(msg->abuf++), &twi->xmt_data8); in wait_for_completion() 162 .abuf = addr_buffer, in i2c_transfer() 181 writew(*(msg.abuf++), &twi->xmt_data8); in i2c_transfer()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | board.c | 1239 int board_rng_seed(struct abuf *buf) in board_rng_seed()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | fdt_support.c | 341 struct abuf buf = {}; in fdt_chosen()
|