Home
last modified time | relevance | path

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

/u-boot/tools/
A Difwitool.c73 struct bpdt_header { struct
90 #define BPDT_HEADER_SIZE (sizeof(struct bpdt_header)) argument
105 struct bpdt_header h;
110 static inline size_t get_bpdt_size(struct bpdt_header *h) in get_bpdt_size()
779 static void bpdt_print_header(struct bpdt_header *h, const char *name) in bpdt_print_header()
833 static void bpdt_read_header(void *data, struct bpdt_header *h, in bpdt_read_header()
1010 struct bpdt_header bpdt_header; in alloc_bpdt_buffer() local
1013 bpdt_read_header((uint8_t *)data + offset, &bpdt_header, name); in alloc_bpdt_buffer()
1016 alloc_buffer(b, get_bpdt_size(&bpdt_header), name); in alloc_bpdt_buffer()
1020 memcpy(&bpdt->h, &bpdt_header, BPDT_HEADER_SIZE); in alloc_bpdt_buffer()
[all …]

Completed in 7 milliseconds