Lines Matching refs:dcd_len
173 static void set_dcd_param_v2(struct imx_header *imxhdr, uint32_t dcd_len, in set_dcd_param_v2() argument
265 static void set_dcd_rst_v1(struct imx_header *imxhdr, uint32_t dcd_len, in set_dcd_rst_v1() argument
271 dcd_v1->preamble.length = dcd_len * sizeof(dcd_type_addr_data_t); in set_dcd_rst_v1()
278 static void set_dcd_rst_v2(struct imx_header *imxhdr, uint32_t dcd_len, in set_dcd_rst_v2() argument
299 static void set_imx_hdr_v1(struct imx_header *imxhdr, uint32_t dcd_len, in set_imx_hdr_v1() argument
306 uint32_t header_length = (((char *)&dcd_v1->addr_data[dcd_len].addr) in set_imx_hdr_v1()
325 static void set_imx_hdr_v2(struct imx_header *imxhdr, uint32_t dcd_len, in set_imx_hdr_v2() argument
344 if (dcd_len > 0) in set_imx_hdr_v2()
600 char *name, int lineno, int fld, int dcd_len) in parse_cfg_cmd() argument
658 (*set_dcd_param)(imxhdr, dcd_len, cmd); in parse_cfg_cmd()
659 (*set_dcd_val)(imxhdr, name, lineno, fld, value, dcd_len); in parse_cfg_cmd()
682 char *token, char *name, int lineno, int fld, int *dcd_len) in parse_cfg_fld() argument
697 parse_cfg_cmd(imxhdr, *cmd, token, name, lineno, fld, *dcd_len); in parse_cfg_fld()
710 (*set_dcd_param)(imxhdr, *dcd_len, *cmd); in parse_cfg_fld()
712 *dcd_len); in parse_cfg_fld()
715 (*dcd_len)++; in parse_cfg_fld()
716 if (*dcd_len > max_dcd_entries) { in parse_cfg_fld()
744 int dcd_len = 0; in parse_cfg_file() local
776 lineno, fld, &dcd_len); in parse_cfg_file()
781 (*set_dcd_rst)(imxhdr, dcd_len, name, lineno); in parse_cfg_file()
789 return dcd_len; in parse_cfg_file()
834 uint32_t dcd_len; in imximage_set_header() local
849 dcd_len = parse_cfg_file(imxhdr, params->imagename); in imximage_set_header()
865 (*set_imx_hdr)(imxhdr, dcd_len, params->ep, imximage_ivt_offset); in imximage_set_header()