Lines Matching refs:spl_infos
69 static struct spl_info spl_infos[] = { variable
93 for (i = 0; i < ARRAY_SIZE(spl_infos); i++) in rkcommon_get_spl_info()
94 if (!strncmp(imagename, spl_infos[i].imagename, 6)) in rkcommon_get_spl_info()
95 return spl_infos + i; in rkcommon_get_spl_info()
118 for (i = 0; i < ARRAY_SIZE(spl_infos); i++) in rkcommon_check_params()
119 fprintf(stderr, "\t%s", spl_infos[i].imagename); in rkcommon_check_params()
246 for (i = 0; i < ARRAY_SIZE(spl_infos); i++) { in rkcommon_parse_header()
247 if (!memcmp(&hdr1_sdmmc->magic, spl_infos[i].spl_hdr, 4)) { in rkcommon_parse_header()
249 *spl_info = &spl_infos[i]; in rkcommon_parse_header()
251 } else if (!memcmp(&hdr1_spi->magic, spl_infos[i].spl_hdr, 4)) { in rkcommon_parse_header()
253 *spl_info = &spl_infos[i]; in rkcommon_parse_header()