Lines Matching refs:spl_info
116 struct spl_info { struct
124 static struct spl_info spl_infos[] = { argument
174 static struct spl_info *rkcommon_get_spl_info(char *imagename) in rkcommon_get_spl_info()
262 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_get_spl_hdr()
272 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_get_spl_size()
282 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_need_rc4_spl()
292 struct spl_info *info = rkcommon_get_spl_info(params->imagename); in rkcommon_is_header_v2()
404 struct spl_info **spl_info) in rkcommon_parse_header() argument
410 if (spl_info) in rkcommon_parse_header()
411 *spl_info = NULL; in rkcommon_parse_header()
434 if (spl_info) in rkcommon_parse_header()
435 *spl_info = &spl_infos[i]; in rkcommon_parse_header()
438 if (spl_info) in rkcommon_parse_header()
439 *spl_info = &spl_infos[i]; in rkcommon_parse_header()
461 struct spl_info *img_spl_info, *spl_info; in rkcommon_verify_header() local
485 spl_info = rkcommon_get_spl_info(params->imagename); in rkcommon_verify_header()
486 if (spl_info && img_spl_info) in rkcommon_verify_header()
487 return strcmp(spl_info->spl_hdr, img_spl_info->spl_hdr); in rkcommon_verify_header()
496 struct spl_info *spl_info; in rkcommon_print_header() local
513 ret = rkcommon_parse_header(buf, &header0, &spl_info); in rkcommon_print_header()
528 spl_info->spl_hdr, in rkcommon_print_header()