Searched refs:first_idx (Results 1 – 3 of 3) sorted by relevance
72 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_select_state() local100 if (last_idx > first_idx && in ladder_select_state()106 for (i = last_idx - 1; i > first_idx; i--) { in ladder_select_state()114 if (last_idx > first_idx && in ladder_select_state()137 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_enable_device() local142 ldev->last_state_idx = first_idx; in ladder_enable_device()144 for (i = first_idx; i < drv->state_count; i++) { in ladder_enable_device()156 if (i > first_idx) in ladder_enable_device()
289 int first_idx; in menu_select() local325 first_idx = 0; in menu_select()338 first_idx = 1; in menu_select()373 for (i = first_idx; i < drv->state_count; i++) { in menu_select()
392 int i, first_idx = -1, last_idx = -1; in total_mapping_size() local397 if (first_idx == -1) in total_mapping_size()398 first_idx = i; in total_mapping_size()401 if (first_idx == -1) in total_mapping_size()405 ELF_PAGESTART(cmds[first_idx].p_vaddr); in total_mapping_size()