Searched refs:nr_states (Results 1 – 3 of 3) sorted by relevance
/drivers/s390/net/ |
D | fsm.c | 15 init_fsm(char *name, const char **state_names, const char **event_names, int nr_states, in init_fsm() argument 39 f->nr_states = nr_states; in init_fsm() 44 m = kcalloc(nr_states*nr_events, sizeof(fsm_function_t), order); in init_fsm() 54 if ((tmpl[i].cond_state >= nr_states) || in init_fsm() 58 name, i, (long)tmpl[i].cond_state, (long)f->nr_states, in init_fsm() 63 m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] = in init_fsm() 124 if (st >= fi->f->nr_states) in fsm_getstate_str()
|
D | fsm.h | 45 int nr_states; member 110 int nr_states, int nr_events, const fsm_node *tmpl, 147 if ((state >= fi->f->nr_states) || in fsm_event() 150 fi->name, (long)state,(long)fi->f->nr_states, event, in fsm_event() 157 r = fi->f->jumpmatrix[fi->f->nr_states * event + state]; in fsm_event()
|
/drivers/gpu/drm/radeon/ |
D | radeon_ioc32.c | 214 int nr_states; member 233 || __put_user(req32.nr_states, &request->nr_states) in compat_radeon_cp_vertex2()
|