nr_states 718 arch/arm/mach-pxa/hx4700.c .nr_states = ARRAY_SIZE(bq24022_states), nr_states 661 arch/arm/mach-pxa/magician.c .nr_states = ARRAY_SIZE(bq24022_states), nr_states 40 drivers/regulator/gpio-regulator.c int nr_states; nr_states 50 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_states; ptr++) nr_states 64 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_states; ptr++) nr_states 91 drivers/regulator/gpio-regulator.c if (selector >= data->nr_states) nr_states 103 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_states; ptr++) nr_states 202 drivers/regulator/gpio-regulator.c config->nr_states = i; nr_states 271 drivers/regulator/gpio-regulator.c config->nr_states * nr_states 278 drivers/regulator/gpio-regulator.c drvdata->nr_states = config->nr_states; nr_states 288 drivers/regulator/gpio-regulator.c drvdata->desc.n_voltages = config->nr_states; nr_states 17 drivers/s390/net/fsm.c init_fsm(char *name, const char **state_names, const char **event_names, int nr_states, nr_states 42 drivers/s390/net/fsm.c f->nr_states = nr_states; nr_states 47 drivers/s390/net/fsm.c m = kcalloc(nr_states*nr_events, sizeof(fsm_function_t), order); nr_states 57 drivers/s390/net/fsm.c if ((tmpl[i].cond_state >= nr_states) || nr_states 61 drivers/s390/net/fsm.c name, i, (long)tmpl[i].cond_state, (long)f->nr_states, nr_states 66 drivers/s390/net/fsm.c m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] = nr_states 127 drivers/s390/net/fsm.c if (st >= fi->f->nr_states) nr_states 46 drivers/s390/net/fsm.h int nr_states; nr_states 112 drivers/s390/net/fsm.h int nr_states, int nr_events, const fsm_node *tmpl, nr_states 149 drivers/s390/net/fsm.h if ((state >= fi->f->nr_states) || nr_states 152 drivers/s390/net/fsm.h fi->name, (long)state,(long)fi->f->nr_states, event, nr_states 159 drivers/s390/net/fsm.h r = fi->f->jumpmatrix[fi->f->nr_states * event + state]; nr_states 67 include/linux/energy_model.h int em_register_perf_domain(cpumask_t *span, unsigned int nr_states, nr_states 168 include/linux/energy_model.h unsigned int nr_states, struct em_data_callback *cb) nr_states 73 include/linux/regulator/gpio-regulator.h int nr_states; nr_states 647 include/uapi/drm/radeon_drm.h int nr_states; nr_states 81 kernel/power/energy_model.c static struct em_perf_domain *em_create_pd(cpumask_t *span, int nr_states, nr_states 98 kernel/power/energy_model.c table = kcalloc(nr_states, sizeof(*table), GFP_KERNEL); nr_states 103 kernel/power/energy_model.c for (i = 0, freq = 0; i < nr_states; i++, freq++) { nr_states 150 kernel/power/energy_model.c fmax = (u64) table[nr_states - 1].frequency; nr_states 151 kernel/power/energy_model.c for (i = 0; i < nr_states; i++) { nr_states 157 kernel/power/energy_model.c pd->nr_cap_states = nr_states; nr_states 199 kernel/power/energy_model.c int em_register_perf_domain(cpumask_t *span, unsigned int nr_states, nr_states 206 kernel/power/energy_model.c if (!span || !nr_states || !cb) nr_states 237 kernel/power/energy_model.c pd = em_create_pd(span, nr_states, cb);