Lines Matching refs:i
191 int i; in image_boot_mode_name() local
193 for (i = 0; boot_modes[i].name; i++) in image_boot_mode_name()
194 if (boot_modes[i].id == id) in image_boot_mode_name()
195 return boot_modes[i].name; in image_boot_mode_name()
201 int i; in image_boot_mode_id() local
203 for (i = 0; boot_modes[i].name; i++) in image_boot_mode_id()
204 if (!strcmp(boot_modes[i].name, boot_mode_name)) in image_boot_mode_id()
205 return boot_modes[i].id; in image_boot_mode_id()
212 int i; in image_nand_ecc_mode_id() local
214 for (i = 0; nand_ecc_modes[i].name; i++) in image_nand_ecc_mode_id()
215 if (!strcmp(nand_ecc_modes[i].name, nand_ecc_mode_name)) in image_nand_ecc_mode_id()
216 return nand_ecc_modes[i].id; in image_nand_ecc_mode_id()
223 int i; in image_find_option() local
225 for (i = 0; i < cfgn; i++) { in image_find_option()
226 if (image_cfg[i].type == optiontype) in image_find_option()
227 return &image_cfg[i]; in image_find_option()
236 int i; in image_count_options() local
239 for (i = 0; i < cfgn; i++) in image_count_options()
240 if (image_cfg[i].type == optiontype) in image_count_options()
585 int i; in kwb_export_pubkey() local
595 for (i = 0 ; i < sizeof(pk_hash.hash); ++i) in kwb_export_pubkey()
596 fprintf(hashf, "%02X", pk_hash.hash[i]); in kwb_export_pubkey()
741 int i, idx; in kwb_dump_fuse_cmds_38x() local
758 for (i = 4; i-- > 0;) in kwb_dump_fuse_cmds_38x()
759 fprintf(out, "%02hx", (ushort)ptr[i]); in kwb_dump_fuse_cmds_38x()
764 for (i = 3; i-- > 0;) in kwb_dump_fuse_cmds_38x()
765 fprintf(out, "%02hx", (ushort)ptr[i]); in kwb_dump_fuse_cmds_38x()