Home
last modified time | relevance | path

Searched refs:nr_states (Results 1 – 5 of 5) sorted by relevance

/drivers/s390/net/
Dfsm.c16 init_fsm(char *name, const char **state_names, const char **event_names, int nr_states, in init_fsm() argument
41 f->nr_states = nr_states; in init_fsm()
46 m = kcalloc(nr_states*nr_events, sizeof(fsm_function_t), order); in init_fsm()
56 if ((tmpl[i].cond_state >= nr_states) || in init_fsm()
60 name, i, (long)tmpl[i].cond_state, (long)f->nr_states, in init_fsm()
65 m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] = in init_fsm()
126 if (st >= fi->f->nr_states) in fsm_getstate_str()
Dfsm.h45 int nr_states; member
111 int nr_states, int nr_events, const fsm_node *tmpl,
148 if ((state >= fi->f->nr_states) || in fsm_event()
151 fi->name, (long)state,(long)fi->f->nr_states, event, in fsm_event()
158 r = fi->f->jumpmatrix[fi->f->nr_states * event + state]; in fsm_event()
/drivers/regulator/
Dgpio-regulator.c46 int nr_states; member
56 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_get_value()
70 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_set_voltage()
97 if (selector >= data->nr_states) in gpio_regulator_list_voltage()
109 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_set_current_limit()
203 config->nr_states = i; in of_get_gpio_regulator_config()
258 config->nr_states * in gpio_regulator_probe()
266 drvdata->nr_states = config->nr_states; in gpio_regulator_probe()
276 drvdata->desc.n_voltages = config->nr_states; in gpio_regulator_probe()
/drivers/gpu/drm/radeon/
Dradeon_ioc32.c209 int nr_states; member
228 || __put_user(req32.nr_states, &request->nr_states) in compat_radeon_cp_vertex2()
/drivers/input/misc/
Dgpio_tilt_polled.c57 for (i = 0; i < pdata->nr_states; i++) in gpio_tilt_polled_poll()