Home
last modified time | relevance | path

Searched refs:event_type (Results 1 – 25 of 67) sorted by relevance

123

/drivers/pci/hotplug/
Dpciehp_ctrl.c40 static int queue_interrupt_event(struct slot *p_slot, u32 event_type) in queue_interrupt_event() argument
48 info->event_type = event_type; in queue_interrupt_event()
59 u32 event_type; in pciehp_handle_attention_button() local
69 event_type = INT_BUTTON_PRESS; in pciehp_handle_attention_button()
71 queue_interrupt_event(p_slot, event_type); in pciehp_handle_attention_button()
79 u32 event_type; in pciehp_handle_switch_change() local
91 event_type = INT_SWITCH_OPEN; in pciehp_handle_switch_change()
97 event_type = INT_SWITCH_CLOSE; in pciehp_handle_switch_change()
100 queue_interrupt_event(p_slot, event_type); in pciehp_handle_switch_change()
107 u32 event_type; in pciehp_handle_presence_change() local
[all …]
Dshpchp_ctrl.c42 static int queue_interrupt_event(struct slot *p_slot, u32 event_type) in queue_interrupt_event() argument
50 info->event_type = event_type; in queue_interrupt_event()
62 u32 event_type; in shpchp_handle_attention_button() local
74 event_type = INT_BUTTON_PRESS; in shpchp_handle_attention_button()
76 queue_interrupt_event(p_slot, event_type); in shpchp_handle_attention_button()
86 u32 event_type; in shpchp_handle_switch_change() local
102 event_type = INT_SWITCH_OPEN; in shpchp_handle_switch_change()
104 event_type = INT_POWER_FAULT; in shpchp_handle_switch_change()
112 event_type = INT_SWITCH_CLOSE; in shpchp_handle_switch_change()
115 queue_interrupt_event(p_slot, event_type); in shpchp_handle_switch_change()
[all …]
Dcpqphp_ctrl.c109 taskInfo->event_type = INT_SWITCH_OPEN; in handle_switch_change()
117 taskInfo->event_type = INT_SWITCH_CLOSE; in handle_switch_change()
191 taskInfo->event_type = INT_BUTTON_PRESS; in handle_presence_change()
197 taskInfo->event_type = INT_BUTTON_RELEASE; in handle_presence_change()
202 taskInfo->event_type = INT_BUTTON_CANCEL; in handle_presence_change()
207 taskInfo->event_type = INT_BUTTON_IGNORE; in handle_presence_change()
222 taskInfo->event_type = INT_PRESENCE_ON; in handle_presence_change()
225 taskInfo->event_type = INT_PRESENCE_OFF; in handle_presence_change()
271 taskInfo->event_type = INT_POWER_FAULT_CLEAR; in handle_power_fault()
276 taskInfo->event_type = INT_POWER_FAULT; in handle_power_fault()
[all …]
/drivers/scsi/lpfc/
Dlpfc_nl.h59 uint32_t event_type; member
66 uint32_t event_type; member
95 uint32_t event_type; member
117 uint32_t event_type; member
154 uint32_t event_type; member
164 uint32_t event_type; member
175 uint32_t event_type; member
/drivers/md/
Ddm-uevent.c183 void dm_path_uevent(enum dm_uevent_type event_type, struct dm_target *ti, in dm_path_uevent() argument
189 if (event_type >= ARRAY_SIZE(_dm_uevent_type_names)) { in dm_path_uevent()
190 DMERR("%s: Invalid event_type %d", __func__, event_type); in dm_path_uevent()
195 _dm_uevent_type_names[event_type].action, in dm_path_uevent()
196 _dm_uevent_type_names[event_type].name, in dm_path_uevent()
Ddm-uevent.h34 extern void dm_path_uevent(enum dm_uevent_type event_type,
51 static inline void dm_path_uevent(enum dm_uevent_type event_type, in dm_path_uevent() argument
/drivers/char/tpm/
Dtpm_eventlog.c85 if (event->event_type == 0 && event->event_size == 0) in tpm_bios_measurements_start()
97 if ((event->event_type == 0 && event->event_size == 0) || in tpm_bios_measurements_start()
119 if (event->event_type == 0 && event->event_size == 0) in tpm_bios_measurements_next()
122 if ((event->event_type == 0 && event->event_size == 0) || in tpm_bios_measurements_next()
143 switch(event->event_type) { in get_event_name()
159 name = tcpa_event_type_strings[event->event_type]; in get_event_name()
256 seq_printf(m, " %02x", event->event_type); in tpm_ascii_bios_measurements_show()
Dtpm_eventlog.h21 u32 event_type; member
/drivers/staging/nvec/
Dnvec_power.c73 u8 event_type; member
89 unsigned long event_type, void *data) in nvec_power_notifier() argument
95 if (event_type != NVEC_SYS) in nvec_power_notifier()
125 unsigned long event_type, void *data) in nvec_power_bat_notifier() argument
132 if (event_type != NVEC_BAT) in nvec_power_bat_notifier()
Dnvec_ps2.c78 unsigned long event_type, void *data) in nvec_ps2_notifier() argument
83 switch (event_type) { in nvec_ps2_notifier()
Dnvec_kbd.c58 unsigned long event_type, void *data) in nvec_keys_notifier() argument
63 if (event_type == NVEC_KB_EVT) { in nvec_keys_notifier()
/drivers/net/ethernet/ti/
Dcpts.c44 static int event_type(struct cpts_event *event) in event_type() function
82 type = event_type(event); in cpts_fifo_read()
117 if (event_type(event) == CPTS_EV_PUSH) { in cpts_systim_read()
316 if (ev_type == event_type(event) && in cpts_find_ts()
/drivers/input/gameport/
Dgameport.c357 enum gameport_event_type event_type) in gameport_queue_event() argument
374 if (event->type == event_type) in gameport_queue_event()
382 pr_err("Not enough memory to queue event %d\n", event_type); in gameport_queue_event()
389 event_type); in gameport_queue_event()
395 event->type = event_type; in gameport_queue_event()
/drivers/input/misc/
Dsoc_button_array.c33 unsigned int event_type; member
99 gpio_keys[n_buttons].type = info->event_type; in soc_button_device_create()
/drivers/net/ethernet/mellanox/mlx5/core/
Dsrq.c41 void mlx5_srq_event(struct mlx5_core_dev *dev, u32 srqn, int event_type) in mlx5_srq_event() argument
59 srq->event(srq, event_type); in mlx5_srq_event()
Dcq.c66 void mlx5_cq_event(struct mlx5_core_dev *dev, u32 cqn, int event_type) in mlx5_cq_event() argument
84 cq->event(cq, event_type); in mlx5_cq_event()
Dqp.c70 void mlx5_rsc_event(struct mlx5_core_dev *dev, u32 rsn, int event_type) in mlx5_rsc_event() argument
81 qp->event(qp, event_type); in mlx5_rsc_event()
/drivers/infiniband/hw/ehca/
Dehca_irq.c180 enum ib_event_type event_type) in dispatch_qp_event() argument
185 if (event_type == IB_EVENT_PATH_MIG && !qp->mig_armed) in dispatch_qp_event()
189 event.event = event_type; in dispatch_qp_event()
207 enum ib_event_type event_type, int fatal) in qp_event_callback() argument
225 IB_EVENT_SRQ_ERR : event_type); in qp_event_callback()
/drivers/input/serio/
Dserio.c259 enum serio_event_type event_type) in serio_queue_event() argument
276 if (event->type == event_type) in serio_queue_event()
284 pr_err("Not enough memory to queue event %d\n", event_type); in serio_queue_event()
291 event_type); in serio_queue_event()
297 event->type = event_type; in serio_queue_event()
/drivers/net/ethernet/mellanox/mlx4/
Dsrq.c43 void mlx4_srq_event(struct mlx4_dev *dev, u32 srqn, int event_type) in mlx4_srq_event() argument
61 srq->event(srq, event_type); in mlx4_srq_event()
Dcq.c77 void mlx4_cq_event(struct mlx4_dev *dev, u32 cqn, int event_type) in mlx4_cq_event() argument
94 cq->event(cq, event_type); in mlx4_cq_event()
/drivers/infiniband/hw/mthca/
Dmthca_dev.h505 enum ib_event_type event_type);
520 enum ib_event_type event_type);
528 enum ib_event_type event_type);
/drivers/net/wireless/brcm80211/brcmfmac/
Dfweh.c48 __be32 event_type; member
440 code = get_unaligned_be32(&event_packet->msg.event_type); in brcmf_fweh_process_event()
/drivers/message/fusion/
Dmptsas.h96 enum mptsas_hotplug_action event_type; member
/drivers/media/platform/omap3isp/
Dispstat.h114 unsigned long event_type; member

123