Lines Matching defs:state_count
332 } else if (state_idx < (genpd->state_count -1)) {
979 if (child->state_idx < child->state_count - 1)
1419 if (child->state_idx < child->state_count - 1)
1428 genpd->state_idx = genpd->state_count - 1;
2265 unsigned int state_count)
2279 genpd->state_count = 1;
2313 if (genpd->state_count == 0) {
2357 genpd->free_states(genpd->states, genpd->state_count);
2450 if (!gov && genpd->state_count > 1)
3957 for (i = 0; i < genpd->state_count; i++) {
3994 for (i = 0; i < genpd->state_count; i++) {
4051 for (i = 0; i < genpd->state_count; i++) {