Home
last modified time | relevance | path

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

12345678

/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Devents.c31 {.nb.notifier_call = any_notifier, .event_type = MLX5_EVENT_TYPE_NOTIFY_ANY },
32 {.nb.notifier_call = temp_warn, .event_type = MLX5_EVENT_TYPE_TEMP_WARN_EVENT },
34 {.nb.notifier_call = pcie_core, .event_type = MLX5_EVENT_TYPE_GENERAL_EVENT },
37 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_PORT_CHANGE },
38 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_GENERAL_EVENT },
40 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_DCT_DRAINED },
41 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_PATH_MIG },
42 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_COMM_EST },
43 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_SQ_DRAINED },
44 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_SRQ_LAST_WQE },
[all …]
/linux/drivers/scsi/lpfc/
A Dlpfc_nl.h61 uint32_t event_type; member
68 uint32_t event_type; member
97 uint32_t event_type; member
119 uint32_t event_type; member
156 uint32_t event_type; member
166 uint32_t event_type; member
177 uint32_t event_type; member
/linux/drivers/pci/hotplug/
A Dshpchp_ctrl.c36 info->event_type = event_type; in queue_interrupt_event()
48 u32 event_type; in shpchp_handle_attention_button() local
60 event_type = INT_BUTTON_PRESS; in shpchp_handle_attention_button()
72 u32 event_type; in shpchp_handle_switch_change() local
88 event_type = INT_SWITCH_OPEN; in shpchp_handle_switch_change()
90 event_type = INT_POWER_FAULT; in shpchp_handle_switch_change()
109 u32 event_type; in shpchp_handle_presence_change() local
126 event_type = INT_PRESENCE_ON; in shpchp_handle_presence_change()
144 u32 event_type; in shpchp_handle_power_fault() local
164 event_type = INT_POWER_FAULT; in shpchp_handle_power_fault()
[all …]
/linux/include/linux/
A Dtpm_eventlog.h28 u32 event_type; member
99 u32 event_type; member
112 u32 event_type; member
175 u32 count, event_type; in __calc_tpm2_event_size() local
180 marker = marker + sizeof(event->pcr_idx) + sizeof(event->event_type) in __calc_tpm2_event_size()
202 event_type = READ_ONCE(event->event_type); in __calc_tpm2_event_size()
206 event_header->event_type != NO_ACTION || in __calc_tpm2_event_size()
285 if (event_type == 0 && event_field->event_size == 0) in __calc_tpm2_event_size()
A Dmroute_base.h51 enum fib_event_type event_type, in mr_call_vif_notifier() argument
67 return call_fib_notifier(nb, event_type, &info.info); in mr_call_vif_notifier()
72 enum fib_event_type event_type, in mr_call_vif_notifiers() argument
89 return call_fib_notifiers(net, event_type, &info.info); in mr_call_vif_notifiers()
176 enum fib_event_type event_type, in mr_call_mfc_notifier() argument
189 return call_fib_notifier(nb, event_type, &info.info); in mr_call_mfc_notifier()
194 enum fib_event_type event_type, in mr_call_mfc_notifiers() argument
208 return call_fib_notifiers(net, event_type, &info.info); in mr_call_mfc_notifiers()
/linux/samples/bpf/
A Dtask_fd_query_user.c48 static int bpf_find_probe_type(const char *event_type) in bpf_find_probe_type() argument
53 ret = snprintf(buf, sizeof(buf), PMU_TYPE_FILE, event_type); in bpf_find_probe_type()
70 static int bpf_get_retprobe_bit(const char *event_type) in bpf_get_retprobe_bit() argument
75 ret = snprintf(buf, sizeof(buf), PMU_RETPROBE_FILE, event_type); in bpf_get_retprobe_bit()
129 int is_return_bit = bpf_get_retprobe_bit(event_type); in test_nondebug_fs_kuprobe_common()
130 int type = bpf_find_probe_type(event_type); in test_nondebug_fs_kuprobe_common()
184 err = test_nondebug_fs_kuprobe_common(event_type, name, in test_nondebug_fs_probe()
231 const char *event_type = "uprobe"; in test_debug_fs_uprobe() local
240 event_type); in test_debug_fs_uprobe()
248 is_return ? 'r' : 'p', event_type, event_alias, in test_debug_fs_uprobe()
[all …]
/linux/drivers/char/tpm/eventlog/
A Dtpm1.c92 do_endian_conversion(event->event_type); in tpm1_bios_measurements_start()
130 converted_event_type = do_endian_conversion(event->event_type); in tpm1_bios_measurements_next()
152 switch (do_endian_conversion(event->event_type)) { in get_event_name()
169 (event->event_type)]; in get_event_name()
234 temp_event.event_type = do_endian_conversion(event->event_type); in tpm1_binary_bios_measurements_show()
274 seq_printf(m, " %02x", do_endian_conversion(event->event_type)); in tpm1_ascii_bios_measurements_show()
/linux/net/ipv6/
A Dfib6_notifier.c11 enum fib_event_type event_type, in call_fib6_notifier() argument
15 return call_fib_notifier(nb, event_type, info); in call_fib6_notifier()
18 int call_fib6_notifiers(struct net *net, enum fib_event_type event_type, in call_fib6_notifiers() argument
22 return call_fib_notifiers(net, event_type, info); in call_fib6_notifiers()
/linux/net/ipv4/
A Dfib_notifier.c12 enum fib_event_type event_type, in call_fib4_notifier() argument
16 return call_fib_notifier(nb, event_type, info); in call_fib4_notifier()
19 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type, in call_fib4_notifiers() argument
26 return call_fib_notifiers(net, event_type, info); in call_fib4_notifiers()
/linux/drivers/md/
A Ddm-uevent.c170 void dm_path_uevent(enum dm_uevent_type event_type, struct dm_target *ti, in dm_path_uevent() argument
176 if (event_type >= ARRAY_SIZE(_dm_uevent_type_names)) { in dm_path_uevent()
177 DMERR("%s: Invalid event_type %d", __func__, event_type); in dm_path_uevent()
182 _dm_uevent_type_names[event_type].action, in dm_path_uevent()
183 _dm_uevent_type_names[event_type].name, in dm_path_uevent()
A Ddm-uevent.h21 extern void dm_path_uevent(enum dm_uevent_type event_type,
38 static inline void dm_path_uevent(enum dm_uevent_type event_type, in dm_path_uevent() argument
/linux/arch/powerpc/perf/
A D8xx-pmu.c49 static int event_type(struct perf_event *event) in event_type() function
74 int type = event_type(event); in mpc8xx_pmu_event_init()
83 int type = event_type(event); in mpc8xx_pmu_add()
121 int type = event_type(event); in mpc8xx_pmu_read()
161 switch (event_type(event)) { in mpc8xx_pmu_del()
/linux/net/sctp/
A Dprimitive.c41 enum sctp_event_type event_type; union sctp_subtype subtype; \
45 event_type = SCTP_EVENT_T_PRIMITIVE; \
50 error = sctp_do_sm(net, event_type, subtype, state, ep, asoc, \
A Dsm_sideeffect.c40 static int sctp_cmd_interpreter(enum sctp_event_type event_type,
49 static int sctp_side_effects(enum sctp_event_type event_type,
646 enum sctp_event_type event_type, in sctp_cmd_assoc_failed() argument
1166 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm()
1205 event_type, subtype.chunk); in sctp_side_effects()
1238 state, event_type, subtype.chunk); in sctp_side_effects()
1243 state, event_type, subtype.chunk); in sctp_side_effects()
1249 status, state, event_type, subtype.chunk); in sctp_side_effects()
1285 if (SCTP_EVENT_T_TIMEOUT != event_type) in sctp_cmd_interpreter()
1614 sctp_cmd_assoc_failed(commands, asoc, event_type, in sctp_cmd_interpreter()
[all …]
/linux/net/core/
A Dfib_notifier.c19 enum fib_event_type event_type, in call_fib_notifier() argument
24 err = nb->notifier_call(nb, event_type, info); in call_fib_notifier()
29 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, in call_fib_notifiers() argument
35 err = atomic_notifier_call_chain(&fn_net->fib_chain, event_type, info); in call_fib_notifiers()
/linux/drivers/infiniband/hw/qedr/
A Dmain.c660 event_type = EVENT_TYPE_CQ; in qedr_affiliated_event()
664 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
668 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
672 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
676 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
680 event_type = EVENT_TYPE_SRQ; in qedr_affiliated_event()
684 event_type = EVENT_TYPE_SRQ; in qedr_affiliated_event()
688 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
692 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
696 event_type = EVENT_TYPE_CQ; in qedr_affiliated_event()
[all …]
/linux/drivers/input/touchscreen/
A Draspberrypi-ts.c65 int event_type; in rpi_ts_poll() local
88 event_type = (regs.point[i].xh >> 6) & 0x03; in rpi_ts_poll()
92 if (event_type == RPI_TS_FTS_TOUCH_DOWN || in rpi_ts_poll()
93 event_type == RPI_TS_FTS_TOUCH_CONTACT) { in rpi_ts_poll()
/linux/drivers/misc/habanalabs/goya/
A Dgoya.c4418 switch (event_type) { in _goya_get_event_desc()
4532 switch (event_type) { in goya_get_event_desc()
4675 event_type, desc); in goya_print_irq_info()
4767 switch (event_type) { in goya_print_clk_change_info()
4791 event_type); in goya_print_clk_change_info()
4809 goya->events_stat[event_type]++; in goya_handle_eqe()
4812 switch (event_type) { in goya_handle_eqe()
4875 goya_unmask_irq(hdev, event_type); in goya_handle_eqe()
4889 goya_unmask_irq(hdev, event_type); in goya_handle_eqe()
4897 goya_unmask_irq(hdev, event_type); in goya_handle_eqe()
[all …]
/linux/drivers/infiniband/hw/mlx5/
A Dqpc.c74 static bool is_event_type_allowed(int rsc_type, int event_type) in is_event_type_allowed() argument
78 return BIT(event_type) & qp_allowed_event_types(); in is_event_type_allowed()
80 return BIT(event_type) & rq_allowed_event_types(); in is_event_type_allowed()
82 return BIT(event_type) & sq_allowed_event_types(); in is_event_type_allowed()
84 return BIT(event_type) & dct_allowed_event_types(); in is_event_type_allowed()
97 u8 event_type = (u8)type; in rsc_event_notifier() local
102 switch (event_type) { in rsc_event_notifier()
129 if (!is_event_type_allowed((rsn >> MLX5_USER_INDEX_LEN), event_type)) in rsc_event_notifier()
137 qp->event(qp, event_type); in rsc_event_notifier()
141 if (event_type == MLX5_EVENT_TYPE_DCT_DRAINED) in rsc_event_notifier()
/linux/drivers/staging/nvec/
A Dnvec_power.c69 u8 event_type; member
85 unsigned long event_type, void *data) in nvec_power_notifier() argument
91 if (event_type != NVEC_SYS) in nvec_power_notifier()
121 unsigned long event_type, void *data) in nvec_power_bat_notifier() argument
128 if (event_type != NVEC_BAT) in nvec_power_bat_notifier()
/linux/drivers/iio/proximity/
A Dcros_ec_mkbp_proximity.c81 params->event_type = EC_MKBP_EVENT_SWITCH; in cros_ec_mkbp_proximity_query()
128 u8 event_type = ec->event_data.event_type & EC_MKBP_EVENT_TYPE_MASK; in cros_ec_mkbp_proximity_notify() local
132 if (event_type == EC_MKBP_EVENT_SWITCH) { in cros_ec_mkbp_proximity_notify()
/linux/drivers/platform/chrome/
A Dcros_ec_chardev.c50 u8 event_type; member
100 unsigned long event_bit = 1 << ec_dev->event_data.event_type; in cros_ec_chardev_mkbp_event()
112 event->event_type = ec_dev->event_data.event_type; in cros_ec_chardev_mkbp_event()
226 ret = copy_to_user(buffer, &event->event_type, count); in cros_ec_chardev_read()
A Dcros_ec_proto.c687 ec_dev->event_data.event_type = EC_MKBP_EVENT_KEY_MATRIX; in get_keyboard_state_event()
716 u8 event_type; in cros_ec_get_next_event() local
744 *has_more_events = ec_dev->event_data.event_type & in cros_ec_get_next_event()
746 ec_dev->event_data.event_type &= EC_MKBP_EVENT_TYPE_MASK; in cros_ec_get_next_event()
749 event_type = ec_dev->event_data.event_type; in cros_ec_get_next_event()
756 if (event_type == EC_MKBP_EVENT_SENSOR_FIFO) { in cros_ec_get_next_event()
788 if (ec_dev->event_data.event_type != EC_MKBP_EVENT_HOST_EVENT) in cros_ec_get_host_event()
/linux/include/net/
A Dfib_notifier.h39 enum fib_event_type event_type,
41 int call_fib_notifiers(struct net *net, enum fib_event_type event_type,
/linux/drivers/input/keyboard/
A Dcros_ec_keyb.c250 switch (ckdev->ec->event_data.event_type) { in cros_ec_keyb_work()
277 if (ckdev->ec->event_data.event_type == EC_MKBP_EVENT_BUTTON) { in cros_ec_keyb_work()
339 enum ec_mkbp_event event_type, in cros_ec_keyb_info() argument
358 params->event_type = event_type; in cros_ec_keyb_info()
367 (int)info_type, (int)event_type, ret); in cros_ec_keyb_info()
370 (int)info_type, (int)event_type, in cros_ec_keyb_info()

Completed in 54 milliseconds

12345678