Home
last modified time | relevance | path

Searched refs:nr_events (Results 1 – 7 of 7) sorted by relevance

/drivers/s390/net/
Dfsm.c18 int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order) in init_fsm() argument
41 f->nr_events = nr_events; in init_fsm()
47 m = kcalloc(nr_states*nr_events, sizeof(fsm_function_t), order); in init_fsm()
58 (tmpl[i].cond_event >= nr_events) ) { in init_fsm()
62 (long)tmpl[i].cond_event, (long)f->nr_events); in init_fsm()
Dfsm.h45 int nr_events; member
112 int nr_states, int nr_events, const fsm_node *tmpl,
150 (event >= fi->f->nr_events) ) { in fsm_event()
153 (long)fi->f->nr_events); in fsm_event()
/drivers/firmware/efi/
Dtpm.c84 if (final_tbl->nr_events != 0) { in efi_tpm_eventlog_init()
87 + sizeof(final_tbl->nr_events); in efi_tpm_eventlog_init()
90 final_tbl->nr_events, in efi_tpm_eventlog_init()
/drivers/firmware/efi/libstub/
Dtpm.c132 if (final_events_table && final_events_table->nr_events) { in efi_retrieve_tpm2_eventlog()
137 int i = final_events_table->nr_events; in efi_retrieve_tpm2_eventlog()
141 sizeof(final_events_table->nr_events); in efi_retrieve_tpm2_eventlog()
/drivers/pci/controller/
Dpcie-iproc-msi.c327 u32 eq, head, tail, nr_events; in iproc_msi_handler() local
356 nr_events = (tail < head) ? in iproc_msi_handler()
358 if (!nr_events) in iproc_msi_handler()
362 while (nr_events--) { in iproc_msi_handler()
/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c1159 static int event_alloc(struct etnaviv_gpu *gpu, unsigned nr_events, in event_alloc() argument
1165 for (i = 0; i < nr_events; i++) { in event_alloc()
1181 for (i = 0; i < nr_events; i++) { in event_alloc()
1348 unsigned int i, nr_events = 1, event[3]; in etnaviv_gpu_submit() local
1368 nr_events = 3; in etnaviv_gpu_submit()
1370 ret = event_alloc(gpu, nr_events, event); in etnaviv_gpu_submit()
1381 for (i = 0; i < nr_events; i++) in etnaviv_gpu_submit()
/drivers/net/
Damt.c899 if (amt->nr_events >= AMT_MAX_EVENTS) { in amt_queue_event()
904 index = (amt->event_idx + amt->nr_events) % AMT_MAX_EVENTS; in amt_queue_event()
907 amt->nr_events++; in amt_queue_event()
2873 if (amt->nr_events == 0) { in amt_event_work()
2881 amt->nr_events--; in amt_event_work()
2991 amt->nr_events = 0; in amt_dev_open()