Lines Matching refs:buf
24 int bootmeth_get_state_desc(struct udevice *dev, char *buf, int maxsize) in bootmeth_get_state_desc() argument
31 return ops->get_state_desc(dev, buf, maxsize); in bootmeth_get_state_desc()
55 char *buf, int size) in bootmeth_set_bootflow() argument
62 return ops->set_bootflow(dev, bflow, buf, size); in bootmeth_set_bootflow()
350 void *buf; in bootmeth_alloc_file() local
359 ret = fs_read_alloc(bflow->fname, bflow->size, align, &buf); in bootmeth_alloc_file()
364 bflow->buf = buf; in bootmeth_alloc_file()
369 if (!bootflow_img_add(bflow, bflow->fname, type, map_to_sysmem(buf), in bootmeth_alloc_file()
382 void *buf; in bootmeth_alloc_other() local
402 ret = fs_read_alloc(path, size, 0, &buf); in bootmeth_alloc_other()
406 if (!bootflow_img_add(bflow, bflow->fname, type, map_to_sysmem(buf), in bootmeth_alloc_other()
410 *bufp = buf; in bootmeth_alloc_other()