Lines Matching refs:ublhdr
72 static void parse_cfg_cmd(struct ubl_header *ublhdr, int32_t cmd, char *token, in parse_cfg_cmd() argument
79 ublhdr->magic = get_table_entry_id(ublimage_bootops, in parse_cfg_cmd()
81 if (ublhdr->magic == -1) { in parse_cfg_cmd()
86 ublhdr->magic += UBL_MAGIC_BASE; in parse_cfg_cmd()
91 ublhdr->entry = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
94 ublhdr->pages = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
97 ublhdr->block = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
100 ublhdr->page = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
103 ublhdr->pll_m = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
108 static void parse_cfg_fld(struct ubl_header *ublhdr, int32_t *cmd, in parse_cfg_fld() argument
123 parse_cfg_cmd(ublhdr, *cmd, token, name, lineno, fld, *dcd_len); in parse_cfg_fld()
129 static uint32_t parse_cfg_file(struct ubl_header *ublhdr, char *name) in parse_cfg_file() argument
136 char *ptr = (char *)ublhdr; in parse_cfg_file()
177 parse_cfg_fld(ublhdr, &cmd, token, name, in parse_cfg_file()
215 struct ubl_header *ublhdr = (struct ubl_header *)ptr; in ublimage_set_header() local
218 parse_cfg_file(ublhdr, params->imagename); in ublimage_set_header()