Home
last modified time | relevance | path

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

123456789

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H 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 },
39 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_OBJECT_CHANGE },
41 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_DCT_DRAINED },
42 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_PATH_MIG },
43 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_COMM_EST },
44 {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_SQ_DRAINED },
[all …]
/openbmc/linux/drivers/scsi/lpfc/
H 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
/openbmc/linux/include/linux/
H 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 = 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()
H A Dmroute_base.h53 enum fib_event_type event_type, in mr_call_vif_notifier() argument
70 return call_fib_notifier(nb, event_type, &info.info); in mr_call_vif_notifier()
75 enum fib_event_type event_type, in mr_call_vif_notifiers() argument
93 return call_fib_notifiers(net, event_type, &info.info); in mr_call_vif_notifiers()
181 enum fib_event_type event_type, in mr_call_mfc_notifier() argument
194 return call_fib_notifier(nb, event_type, &info.info); in mr_call_mfc_notifier()
199 enum fib_event_type event_type, in mr_call_mfc_notifiers() argument
213 return call_fib_notifiers(net, event_type, &info.info); in mr_call_mfc_notifiers()
/openbmc/linux/samples/bpf/
H A Dtask_fd_query_user.c47 static int bpf_find_probe_type(const char *event_type) in bpf_find_probe_type() argument
52 ret = snprintf(buf, sizeof(buf), PMU_TYPE_FILE, event_type); in bpf_find_probe_type()
69 static int bpf_get_retprobe_bit(const char *event_type) in bpf_get_retprobe_bit() argument
74 ret = snprintf(buf, sizeof(buf), PMU_RETPROBE_FILE, event_type); in bpf_get_retprobe_bit()
128 int is_return_bit = bpf_get_retprobe_bit(event_type); in test_nondebug_fs_kuprobe_common()
129 int type = bpf_find_probe_type(event_type); in test_nondebug_fs_kuprobe_common()
183 err = test_nondebug_fs_kuprobe_common(event_type, name, in test_nondebug_fs_probe()
230 const char *event_type = "uprobe"; in test_debug_fs_uprobe() local
239 event_type); in test_debug_fs_uprobe()
247 is_return ? 'r' : 'p', event_type, event_alias, in test_debug_fs_uprobe()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H 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 …]
/openbmc/ipmitool/lib/
H A Dipmi_event.c69 sel_event.sel_type.standard_type.event_type = pmsg->event_type; in ipmi_event_msg_print()
172 emsg.event_type = 0x01; in ipmi_send_platform_event_num()
184 emsg.event_type = 0x01; in ipmi_send_platform_event_num()
195 emsg.event_type = 0x6f; in ipmi_send_platform_event_num()
232 event_type, 0xff, 0xff); in print_sensor_states()
280 emsg.event_type = sdr->record.common->event_type; in ipmi_event_fromsensor()
293 switch (emsg.event_type) in ipmi_event_fromsensor()
402 print_sensor_states(emsg.sensor_type, emsg.event_type); in ipmi_event_fromsensor()
425 emsg.event_type, generic_event_types, state); in ipmi_event_fromsensor()
442 print_sensor_states(emsg.sensor_type, emsg.event_type); in ipmi_event_fromsensor()
[all …]
/openbmc/linux/net/ipv6/
H 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()
/openbmc/linux/drivers/char/tpm/eventlog/
H 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()
273 seq_printf(m, " %02x", do_endian_conversion(event->event_type)); in tpm1_ascii_bios_measurements_show()
/openbmc/linux/net/ipv4/
H 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()
/openbmc/linux/drivers/md/
H 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()
H 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
/openbmc/linux/net/sctp/
H 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, \
H 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,
650 enum sctp_event_type event_type, in sctp_cmd_assoc_failed() argument
1169 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm()
1208 event_type, subtype.chunk); in sctp_side_effects()
1241 state, event_type, subtype.chunk); in sctp_side_effects()
1246 state, event_type, subtype.chunk); in sctp_side_effects()
1252 status, state, event_type, subtype.chunk); in sctp_side_effects()
1291 if (SCTP_EVENT_T_TIMEOUT != event_type) in sctp_cmd_interpreter()
1620 sctp_cmd_assoc_failed(commands, asoc, event_type, in sctp_cmd_interpreter()
[all …]
/openbmc/linux/arch/powerpc/perf/
H 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()
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_event.h53 uint8_t event_type : 7; member
55 uint8_t event_type : 7; member
/openbmc/linux/net/core/
H 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()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c8316 switch (event_type) { in gaudi2_handle_qm_sei_err()
8377 switch (event_type) { in gaudi2_handle_qman_err()
8481 if (event_type >= GAUDI2_EVENT_HDMA2_QM && event_type <= GAUDI2_EVENT_HDMA5_QM) { in gaudi2_handle_qman_err()
8982 switch (event_type) { in get_hmmu_base()
9076 switch (event_type) { in gaudi2_handle_mmu_spi_sei_err()
9304 switch (event_type) { in gaudi2_print_clk_change_info()
9469 u16 event_type; in gaudi2_handle_eqe() local
9480 gaudi2->events_stat[event_type]++; in gaudi2_handle_eqe()
9483 switch (event_type) { in gaudi2_handle_eqe()
9881 event_type); in gaudi2_handle_eqe()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H 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()
/openbmc/linux/include/net/
H A Dfib_notifier.h39 enum fib_event_type event_type,
41 int call_fib_notifiers(struct net *net, enum fib_event_type event_type,
/openbmc/linux/include/linux/mlx5/
H A Deq.h52 u8 event_type; member
60 (name)->event_type = MLX5_EVENT_TYPE_##event; \
/openbmc/linux/drivers/iio/proximity/
H 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()
/openbmc/u-boot/include/
H A Dtpm-v2.h163 u32 event_type; member
213 u32 event_type; member
545 void tcg2_log_append(u32 pcr_index, u32 event_type,
588 u32 pcr_index, u32 size, const u8 *data, u32 event_type,
591 #define tcg2_measure_event(dev, elog, pcr_index, event_type, size, event) \ argument
592 tcg2_measure_data(dev, elog, pcr_index, 0, NULL, event_type, size, \
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dmain.c666 event_type = EVENT_TYPE_CQ; in qedr_affiliated_event()
670 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
674 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
678 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
682 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
686 event_type = EVENT_TYPE_SRQ; in qedr_affiliated_event()
690 event_type = EVENT_TYPE_SRQ; in qedr_affiliated_event()
694 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
698 event_type = EVENT_TYPE_QP; in qedr_affiliated_event()
702 event_type = EVENT_TYPE_CQ; in qedr_affiliated_event()
[all …]
/openbmc/linux/drivers/staging/nvec/
H 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()

123456789