Lines Matching refs:cbfs_header
37 static struct cbfs_header cbfs_header; variable
41 static void swap_header(struct cbfs_header *dest, struct cbfs_header *src) in swap_header()
167 struct cbfs_header *header) in file_cbfs_load_header()
169 struct cbfs_header *header_in_rom; in file_cbfs_load_header()
172 header_in_rom = (struct cbfs_header *)(end_of_rom + offset + 1); in file_cbfs_load_header()
188 if (file_cbfs_load_header(end_of_rom, &cbfs_header)) in file_cbfs_init()
191 start_of_rom = (u8 *)(end_of_rom + 1 - cbfs_header.rom_size); in file_cbfs_init()
193 file_cbfs_fill_cache(start_of_rom + cbfs_header.offset, in file_cbfs_init()
194 cbfs_header.rom_size, cbfs_header.align); in file_cbfs_init()
199 const struct cbfs_header *file_cbfs_get_header(void) in file_cbfs_get_header()
203 return &cbfs_header; in file_cbfs_get_header()
264 if (file_cbfs_load_header(end_of_rom, &cbfs_header)) in file_cbfs_find_uncached()
267 start = (u8 *)(end_of_rom + 1 - cbfs_header.rom_size); in file_cbfs_find_uncached()
268 size = cbfs_header.rom_size; in file_cbfs_find_uncached()
269 align = cbfs_header.align; in file_cbfs_find_uncached()