Searched refs:event (Results 26 - 50 of 1016) sorted by relevance

1234567891011>>

/drivers/acpi/
H A Devent.c2 * event.c - exporting ACPI events via procfs
22 ACPI_MODULE_NAME("event");
29 struct acpi_bus_event event; local
31 strcpy(event.device_class, dev->pnp.device_class);
32 strcpy(event.bus_id, dev->pnp.bus_id);
33 event.type = type;
34 event.data = data;
35 return (blocking_notifier_call_chain(&acpi_chain_head, 0, (void *)&event)
64 ACPI_GENL_ATTR_EVENT, /* ACPI event info needed by user space */
100 struct acpi_genl_event *event; local
[all...]
/drivers/acpi/acpica/
H A Devevent.c54 static u32 acpi_ev_fixed_event_dispatch(u32 event);
156 * DESCRIPTION: Install the fixed event handlers and disable all fixed events.
166 * Initialize the structure that keeps track of fixed event handlers and
173 /* Disable the fixed event */
226 /* Both the status and enable bits must be on for this event */
233 * Found an active (signalled) event. Invoke global event
254 * PARAMETERS: event - Event type
258 * DESCRIPTION: Clears the status bit for the requested event, calls the
259 * handler that previously registered for the event
265 acpi_ev_fixed_event_dispatch(u32 event) argument
[all...]
/drivers/oprofile/
H A Dcpu_buffer.c11 * Each CPU has a local buffer that stores PC value/event
14 * event buffer by sync_buffer().
144 entry->event = ring_buffer_lock_reserve
147 if (!entry->event)
149 entry->sample = ring_buffer_event_data(entry->event);
158 return ring_buffer_unlock_commit(op_ring_buffer, entry->event);
168 entry->event = e;
224 sample->event = flags;
236 unsigned long pc, unsigned long event)
246 sample->event
235 op_add_sample(struct oprofile_cpu_buffer *cpu_buf, unsigned long pc, unsigned long event) argument
260 log_sample(struct oprofile_cpu_buffer *cpu_buf, unsigned long pc, unsigned long backtrace, int is_kernel, unsigned long event, struct task_struct *task) argument
296 __oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs, unsigned long event, int is_kernel, struct task_struct *task) argument
319 oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs, unsigned long event, int is_kernel, struct task_struct *task) argument
326 oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs, unsigned long event, int is_kernel) argument
332 oprofile_add_sample(struct pt_regs * const regs, unsigned long event) argument
413 oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event) argument
[all...]
/drivers/s390/net/
H A Dfsm.h56 int event; member in struct:__anon5005
78 * Description of a state-event combination
126 fsm_record_history(fsm_instance *fi, int state, int event);
130 * Emits an event to a FSM.
131 * If an action function is defined for the current state/event combination,
134 * @param fi Pointer to FSM which should receive the event.
135 * @param event The event do be delivered.
139 * 1 if current state or event is out of range
140 * !0 if state and event i
143 fsm_event(fsm_instance *fi, int event, void *arg) argument
[all...]
/drivers/scsi/bfa/
H A Dbfa_fcs_fcpim.c41 enum bfa_itnim_aen_event event);
44 enum bfa_fcs_itnim_event event);
46 enum bfa_fcs_itnim_event event);
48 enum bfa_fcs_itnim_event event);
50 enum bfa_fcs_itnim_event event);
52 enum bfa_fcs_itnim_event event);
54 enum bfa_fcs_itnim_event event);
56 enum bfa_fcs_itnim_event event);
58 enum bfa_fcs_itnim_event event);
60 enum bfa_fcs_itnim_event event);
78 bfa_fcs_itnim_sm_offline(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
110 bfa_fcs_itnim_sm_prli_send(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
145 bfa_fcs_itnim_sm_prli(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
197 bfa_fcs_itnim_sm_hal_rport_online(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
235 bfa_fcs_itnim_sm_prli_retry(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
280 bfa_fcs_itnim_sm_hcb_online(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
318 bfa_fcs_itnim_sm_online(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
359 bfa_fcs_itnim_sm_hcb_offline(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
387 bfa_fcs_itnim_sm_initiator(struct bfa_fcs_itnim_s *itnim, enum bfa_fcs_itnim_event event) argument
421 bfa_fcs_itnim_aen_post(struct bfa_fcs_itnim_s *itnim, enum bfa_itnim_aen_event event) argument
[all...]
H A Dbfa_fcs.c245 enum bfa_fcs_fabric_event event);
247 enum bfa_fcs_fabric_event event);
249 enum bfa_fcs_fabric_event event);
251 enum bfa_fcs_fabric_event event);
253 enum bfa_fcs_fabric_event event);
255 enum bfa_fcs_fabric_event event);
257 enum bfa_fcs_fabric_event event);
259 enum bfa_fcs_fabric_event event);
261 enum bfa_fcs_fabric_event event);
263 enum bfa_fcs_fabric_event event);
274 bfa_fcs_fabric_sm_uninit(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
300 bfa_fcs_fabric_sm_created(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
348 bfa_fcs_fabric_sm_linkdown(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
394 bfa_fcs_fabric_sm_flogi(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
455 bfa_fcs_fabric_sm_flogi_retry(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
487 bfa_fcs_fabric_sm_auth(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
527 bfa_fcs_fabric_sm_auth_failed(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
553 bfa_fcs_fabric_sm_loopback(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
579 bfa_fcs_fabric_sm_nofabric(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
615 bfa_fcs_fabric_sm_online(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
661 bfa_fcs_fabric_sm_evfp(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
685 bfa_fcs_fabric_sm_evfp_done(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
696 bfa_fcs_fabric_sm_isolated(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
717 bfa_fcs_fabric_sm_deleting(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
745 bfa_fcs_fabric_sm_stopping(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
782 bfa_fcs_fabric_sm_cleanup(struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event) argument
1493 bfa_fcs_fabric_aen_post(struct bfa_fcs_lport_s *port, enum bfa_port_aen_event event) argument
1615 bfa_fcs_port_event_handler(void *cbarg, enum bfa_port_linkstate event) argument
[all...]
/drivers/isdn/mISDN/
H A Dfsm.h47 int state, event; member in struct:FsmNode
54 int event; member in struct:FsmTimer
H A Dfsm.c40 (fnlist[i].event >= fsm->event_count)) {
44 (long)fnlist[i].event, (long)fsm->event_count);
46 fsm->jumpmatrix[fsm->state_count * fnlist[i].event +
59 mISDN_FsmEvent(struct FsmInst *fi, int event, void *arg) argument
64 (event >= fi->fsm->event_count)) {
67 (long)fi->state, (long)fi->fsm->state_count, event,
71 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state];
76 fi->fsm->strEvent[event]);
77 r(fi, event, arg);
83 fi->fsm->strEvent[event]);
136 mISDN_FsmAddTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
165 mISDN_FsmRestartTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
[all...]
/drivers/net/fddi/skfp/
H A Dqueue.c32 * init event queue management
40 * add event to queue
42 void queue_event(struct s_smc *smc, int class, int event) argument
44 PRINTF("queue class %d event %d\n",class,event) ;
46 smc->q.ev_put->event = event ;
60 PRINTF("timer event class %d token %d\n",
67 * event dispatcher
68 * while event queu
[all...]
/drivers/bus/
H A Darm-ccn.c160 struct perf_event *event; member in struct:arm_ccn_dt::__anon386
236 static CCN_FORMAT_ATTR(event, "config:16-23");
267 u32 event; member in struct:arm_ccn_pmu_event
286 .type = CCN_TYPE_MN, .event = CCN_EVENT_WATCHPOINT, \
292 .event = CCN_EVENT_WATCHPOINT, .num_ports = CCN_NUM_XP_PORTS, \
297 .event = CCN_EVENT_WATCHPOINT, .num_ports = CCN_NUM_XP_PORTS, \
301 .type = CCN_TYPE_HNF, .event = _event, }
304 .type = CCN_TYPE_XP, .event = _event, \
310 * as they all share the same event types.
313 .type = CCN_TYPE_RNI_3P, .event
325 struct arm_ccn_pmu_event *event = container_of(attr, local
351 struct arm_ccn_pmu_event *event = container_of(dev_attr, local
590 arm_ccn_pmu_event_destroy(struct perf_event *event) argument
614 arm_ccn_pmu_event_init(struct perf_event *event) argument
784 arm_ccn_pmu_event_update(struct perf_event *event) argument
800 arm_ccn_pmu_xp_dt_config(struct perf_event *event, int enable) argument
829 arm_ccn_pmu_event_start(struct perf_event *event, int flags) argument
846 arm_ccn_pmu_event_stop(struct perf_event *event, int flags) argument
871 arm_ccn_pmu_xp_watchpoint_config(struct perf_event *event) argument
919 arm_ccn_pmu_xp_event_config(struct perf_event *event) argument
940 arm_ccn_pmu_node_event_config(struct perf_event *event) argument
977 arm_ccn_pmu_event_config(struct perf_event *event) argument
1015 arm_ccn_pmu_event_add(struct perf_event *event, int flags) argument
1029 arm_ccn_pmu_event_del(struct perf_event *event, int flags) argument
1034 arm_ccn_pmu_event_read(struct perf_event *event) argument
1052 struct perf_event *event = dt->pmu_counters[idx].event; local
[all...]
/drivers/net/ethernet/ti/
H A Dcpts.c39 static int event_expired(struct cpts_event *event) argument
41 return time_after(jiffies, event->tmo);
44 static int event_type(struct cpts_event *event) argument
46 return (event->high >> EVENT_TYPE_SHIFT) & EVENT_TYPE_MASK;
63 * Returns zero if matching event type was found.
69 struct cpts_event *event; local
75 pr_err("cpts: event pool is empty\n");
78 event = list_first_entry(&cpts->pool, struct cpts_event, list);
79 event->tmo = jiffies + 2;
80 event
107 struct cpts_event *event; local
295 struct cpts_event *event; local
[all...]
/drivers/gpu/drm/sti/
H A Dsti_drm_crtc.h19 unsigned long event, void *data);
/drivers/isdn/sc/
H A DMakefile9 sc-y := shmem.o init.o packet.o command.o event.o \
/drivers/misc/ibmasm/
H A DMakefile6 event.o \
/drivers/net/wireless/ti/wl18xx/
H A DMakefile1 wl18xx-objs = main.o acx.o tx.o io.o debugfs.o scan.o cmd.o event.o
/drivers/net/wireless/mwifiex/
H A Duap_event.c2 * Marvell Wireless LAN device driver: AP event handling
31 * upon the generated event cause.
48 struct mwifiex_assoc_event *event; local
57 event = (struct mwifiex_assoc_event *)
59 if (le16_to_cpu(event->type) == TLV_TYPE_UAP_MGMT_FRAME) {
62 if (ieee80211_is_assoc_req(event->frame_control))
64 else if (ieee80211_is_reassoc_req(event->frame_control))
72 sinfo.assoc_req_ies = &event->data[len];
74 (u8 *)&event->frame_control;
76 le16_to_cpu(event
[all...]
/drivers/platform/x86/
H A Ddell-wmi-aio.c38 /* 0x000: A hot key pressed or an event occurred
41 u16 event[]; member in struct:dell_wmi_event
69 * The new WMI event data format will follow the dell_wmi_event structure
74 struct dell_wmi_event *event = (struct dell_wmi_event *)buffer; local
76 if (event == NULL || length < 6)
79 if ((event->type == 0 || event->type == 0xf) &&
80 event->length >= 2)
90 struct dell_wmi_event *event; local
95 pr_info("bad event statu
[all...]
/drivers/gpio/
H A Dgpiolib-acpi.c89 struct acpi_gpio_event *event = data; local
91 acpi_evaluate_object(event->handle, NULL, NULL, NULL);
98 struct acpi_gpio_event *event = data; local
100 acpi_execute_simple_method(event->handle, NULL, event->pin);
117 struct acpi_gpio_event *event; local
189 event = kzalloc(sizeof(*event), GFP_KERNEL);
190 if (!event)
193 event
261 struct acpi_gpio_event *event, *ep; local
[all...]
/drivers/input/gameport/
H A Dgameport.c255 * Gameport event processing.
275 struct gameport_event *event = NULL; local
281 event = list_first_entry(&gameport_event_list,
283 list_del_init(&event->node);
287 return event;
290 static void gameport_free_event(struct gameport_event *event) argument
292 module_put(event->owner);
293 kfree(event);
296 static void gameport_remove_duplicate_events(struct gameport_event *event) argument
304 if (event
324 struct gameport_event *event; local
360 struct gameport_event *event; local
413 struct gameport_event *event, *next; local
438 struct gameport_event *event; local
[all...]
/drivers/misc/vmw_vmci/
H A Dvmci_event.c31 u32 event; member in struct:vmci_subscription
98 subscriber_list = &subscriber_array[event_msg->event_data.event];
108 * subscribers for given event.
118 if (!VMCI_EVENT_VALID(event_msg->event_data.event))
126 * vmci_event_subscribe() - Subscribe to a given event.
127 * @event: The event to subscribe to.
128 * @callback: The callback to invoke upon the event.
133 * Subscribes to the provided event. The callback specified will be
136 int vmci_event_subscribe(u32 event, argument
[all...]
/drivers/pps/
H A Dkapi.c55 static void pps_echo_client_default(struct pps_device *pps, int event, argument
59 event & PPS_CAPTUREASSERT ? "assert" : "",
60 event & PPS_CAPTURECLEAR ? "clear" : "");
159 /* pps_event - register a PPS event into the system
161 * @ts: the event timestamp
162 * @event: the event type
166 * PPS event into the system (it's usually called inside an IRQ handler).
170 * pps->info.echo(pps, event, data);
172 void pps_event(struct pps_device *pps, struct pps_event_time *ts, int event, argument
[all...]
/drivers/char/
H A Dapm-emulation.c61 * SUSPEND_PENDING: suspend event queued for thread and pending to be read
62 * SUSPEND_READ: suspend event read, pending acknowledgement
80 * 1: suspend event is signalled from the core PM code
81 * 2: the suspend event is read from the fd by the userspace thread
170 * APM event queue management.
183 static void queue_add_event(struct apm_queue *q, apm_event_t event) argument
190 printk(KERN_ERR "apm: an event queue overflowed\n");
193 q->events[q->event_head] = event;
196 static void queue_event(apm_event_t event) argument
203 queue_add_event(&as->queue, event);
212 apm_event_t event; local
489 apm_event_t event; local
528 apm_suspend_notifier(struct notifier_block *nb, unsigned long event, void *dummy) argument
735 apm_queue_event(apm_event_t event) argument
[all...]
/drivers/devfreq/
H A Dgovernor_performance.c31 unsigned int event, void *data)
35 if (event == DEVFREQ_GOV_START) {
30 devfreq_performance_handler(struct devfreq *devfreq, unsigned int event, void *data) argument
H A Dgovernor_powersave.c28 unsigned int event, void *data)
32 if (event == DEVFREQ_GOV_START) {
27 devfreq_powersave_handler(struct devfreq *devfreq, unsigned int event, void *data) argument
/drivers/gpu/drm/nouveau/core/include/subdev/
H A Dgpio.h6 #include <core/event.h>
26 struct nvkm_event event; member in struct:nouveau_gpio

Completed in 8410 milliseconds

1234567891011>>