Searched refs:type_idx (Results 1 – 2 of 2) sorted by relevance
86 int role_idx, type_idx; in cros_usbpd_print_log_entry() local109 type_idx = (r->data & CHARGE_FLAGS_TYPE_MASK) in cros_usbpd_print_log_entry()112 chg_type = type_idx < ARRAY_SIZE(chg_type_names) ? in cros_usbpd_print_log_entry()113 chg_type_names[type_idx] : "???"; in cros_usbpd_print_log_entry()
3505 int type_idx = 0; in efx_ef10_mtd_probe_partition() local3509 for (type_idx = 0; ; type_idx++) { in efx_ef10_mtd_probe_partition()3510 if (type_idx == EF10_NVRAM_PARTITION_COUNT) in efx_ef10_mtd_probe_partition()3512 info = efx_ef10_nvram_types + type_idx; in efx_ef10_mtd_probe_partition()3536 if (__test_and_set_bit(type_idx, found)) in efx_ef10_mtd_probe_partition()