• Home
  • Raw
  • Download

Lines Matching refs:toc

42 	struct ch_toc *toc = (struct ch_toc *)ptr;  in omapimage_verify_header()  local
46 while (toc->section_offset != 0xffffffff in omapimage_verify_header()
47 && toc->section_size != 0xffffffff) { in omapimage_verify_header()
49 offset = cpu_to_be32(toc->section_offset); in omapimage_verify_header()
50 size = cpu_to_be32(toc->section_size); in omapimage_verify_header()
52 offset = toc->section_offset; in omapimage_verify_header()
53 size = toc->section_size; in omapimage_verify_header()
60 toc++; in omapimage_verify_header()
90 const struct ch_toc *toc = (struct ch_toc *)ptr; in omapimage_print_header() local
95 while (toc->section_offset != 0xffffffff in omapimage_print_header()
96 && toc->section_size != 0xffffffff) { in omapimage_print_header()
98 offset = cpu_to_be32(toc->section_offset); in omapimage_print_header()
99 size = cpu_to_be32(toc->section_size); in omapimage_print_header()
101 offset = toc->section_offset; in omapimage_print_header()
102 size = toc->section_size; in omapimage_print_header()
110 toc->section_name, in omapimage_print_header()
111 toc->section_offset, in omapimage_print_header()
112 toc->section_size); in omapimage_print_header()
115 toc++; in omapimage_print_header()
129 struct ch_toc *toc = (struct ch_toc *)ptr; in omapimage_set_header() local
131 (ptr + 2 * sizeof(*toc)); in omapimage_set_header()
134 toc->section_offset = toc_offset(ptr, chs); in omapimage_set_header()
135 toc->section_size = sizeof(struct ch_settings); in omapimage_set_header()
136 strcpy((char *)toc->section_name, "CHSETTINGS"); in omapimage_set_header()
144 toc++; in omapimage_set_header()
145 memset(toc, 0xff, sizeof(*toc)); in omapimage_set_header()