Home
last modified time | relevance | path

Searched refs:event_id (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer_tracepoint.h45 bool lost, u8 event_id, const char *msg),
47 TP_ARGS(tracer, trace_timestamp, lost, event_id, msg),
53 __field(u8, event_id)
62 __entry->event_id = event_id;
69 __entry->lost, __entry->event_id,
Dfw_tracer.h62 u8 event_id; member
114 u8 event_id; member
156 u8 event_id; member
166 u8 event_id[0x8]; member
173 u8 event_id[0x8]; member
181 u8 event_id[0x8]; member
Dfw_tracer.c435 u8 event_id, u32 tmsn) in mlx5_tracer_message_find() argument
440 if (message->event_id == event_id && message->tmsn == tmsn) in mlx5_tracer_message_find()
452 return mlx5_tracer_message_find(head, tracer_event->event_id, tracer_event->string_event.tmsn); in mlx5_tracer_message_get()
460 tracer_event->event_id = MLX5_GET(tracer_event, trace, event_id); in poll_trace()
463 switch (tracer_event->event_id) { in poll_trace()
485 if (tracer_event->event_id >= tracer->str_db.first_string_trace || in poll_trace()
486 tracer_event->event_id <= tracer->str_db.first_string_trace + in poll_trace()
507 u8 event_id; in get_block_timestamp() local
509 event_id = MLX5_GET(tracer_event, ts_event, event_id); in get_block_timestamp()
511 if (event_id == TRACER_EVENT_TYPE_TIMESTAMP) in get_block_timestamp()
[all …]
/linux-6.1.9/drivers/clocksource/
Dsamsung_pwm_timer.c70 unsigned int event_id; member
200 samsung_time_setup(pwm.event_id, cycles); in samsung_set_next_event()
201 samsung_time_start(pwm.event_id, false); in samsung_set_next_event()
208 samsung_time_stop(pwm.event_id); in samsung_shutdown()
214 samsung_time_stop(pwm.event_id); in samsung_set_periodic()
215 samsung_time_setup(pwm.event_id, pwm.clock_count_per_tick - 1); in samsung_set_periodic()
216 samsung_time_start(pwm.event_id, true); in samsung_set_periodic()
222 samsung_timer_set_prescale(pwm.event_id, pwm.tscaler_div); in samsung_clockevent_resume()
223 samsung_timer_set_divisor(pwm.event_id, pwm.tdiv); in samsung_clockevent_resume()
226 u32 mask = (1 << pwm.event_id); in samsung_clockevent_resume()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c124 ev->event_id = id; in allocate_event_notification_slot()
209 ev->user_signal_address = &p->signal_page->user_address[ev->event_id]; in create_signal_event()
211 p->signal_event_count, ev->event_id, in create_signal_event()
236 ev->event_id = id; in create_other_event()
276 idr_remove(&p->event_idr, ev->event_id); in destroy_event()
397 uint32_t *event_id, uint32_t *event_trigger_data, in kfd_event_create() argument
423 *event_slot_index = ev->event_id; in kfd_event_create()
432 *event_id = ev->event_id; in kfd_event_create()
433 *event_trigger_data = ev->event_id; in kfd_event_create()
492 ret = create_signal_event(devkfd, p, ev, &ev_priv->event_id); in kfd_criu_restore_event()
[all …]
Dkfd_events.h55 u32 event_id; member
/linux-6.1.9/arch/powerpc/perf/
De500-pmu.c86 static u64 e500_xlate_event(u64 event_id) in e500_xlate_event() argument
88 u32 event_low = (u32)event_id; in e500_xlate_event()
98 ret |= event_id & in e500_xlate_event()
100 } else if (event_id & in e500_xlate_event()
De6500-pmu.c88 static u64 e6500_xlate_event(u64 event_id) in e6500_xlate_event() argument
90 u32 event_low = (u32)event_id; in e6500_xlate_event()
92 (event_id & (FSL_EMB_EVENT_THRESHMUL | FSL_EMB_EVENT_THRESH))) in e6500_xlate_event()
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_state_monitor.c133 dev_warn(dev, "Unhandled event %d\n", event->event_id); in fsm_flush_event_cmd_qs()
156 event_received = event->event_id == event_expected; in fsm_wait_for_event()
157 if (event_received || event->event_id == event_ignore) { in fsm_wait_for_event()
427 int t7xx_fsm_append_event(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_event_state event_id, in t7xx_fsm_append_event() argument
434 if (event_id <= FSM_EVENT_INVALID || event_id >= FSM_EVENT_MAX) { in t7xx_fsm_append_event()
435 dev_err(dev, "Invalid event %d\n", event_id); in t7xx_fsm_append_event()
444 event->event_id = event_id; in t7xx_fsm_append_event()
458 void t7xx_fsm_clr_event(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_event_state event_id) in t7xx_fsm_clr_event() argument
465 if (event->event_id == event_id) in t7xx_fsm_clr_event()
Dt7xx_state_monitor.h101 enum t7xx_fsm_event_state event_id; member
122 int t7xx_fsm_append_event(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_event_state event_id,
124 void t7xx_fsm_clr_event(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_event_state event_id);
Dt7xx_modem_ops.c308 static int t7xx_wait_hif_ex_hk_event(struct t7xx_modem *md, int event_id) in t7xx_wait_hif_ex_hk_event() argument
313 if (md->exp_id & event_id) in t7xx_wait_hif_ex_hk_event()
460 enum t7xx_fsm_event_state event_id, in t7xx_core_hk_handler() argument
476 if (event->event_id == err_detect) { in t7xx_core_hk_handler()
481 } else if (event->event_id == event_id) { in t7xx_core_hk_handler()
/linux-6.1.9/kernel/events/
Dcore.c7912 } event_id; member
7929 int ret, size = task_event->event_id.header.size; in perf_event_task_output()
7934 perf_event_header__init_id(&task_event->event_id.header, &sample, event); in perf_event_task_output()
7937 task_event->event_id.header.size); in perf_event_task_output()
7941 task_event->event_id.pid = perf_event_pid(event, task); in perf_event_task_output()
7942 task_event->event_id.tid = perf_event_tid(event, task); in perf_event_task_output()
7944 if (task_event->event_id.header.type == PERF_RECORD_EXIT) { in perf_event_task_output()
7945 task_event->event_id.ppid = perf_event_pid(event, in perf_event_task_output()
7947 task_event->event_id.ptid = perf_event_pid(event, in perf_event_task_output()
7950 task_event->event_id.ppid = perf_event_pid(event, current); in perf_event_task_output()
[all …]
/linux-6.1.9/arch/powerpc/include/asm/
Dperf_event_server.h40 int (*get_constraint)(u64 event_id, unsigned long *mskp,
42 int (*get_alternatives)(u64 event_id, unsigned int flags,
52 int (*limited_pmc_event)(u64 event_id);
Dperf_event_fsl_emb.h37 u64 (*xlate_event)(u64 event_id);
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-its.c145 u32 event_id; member
227 u32 event_id) in find_ite() argument
237 if (ite->event_id == event_id) in find_ite()
845 u32 event_id = its_cmd_get_id(its_cmd); in vgic_its_cmd_handle_discard() local
848 ite = find_ite(its, device_id, event_id); in vgic_its_cmd_handle_discard()
872 u32 event_id = its_cmd_get_id(its_cmd); in vgic_its_cmd_handle_movi() local
878 ite = find_ite(its, device_id, event_id); in vgic_its_cmd_handle_movi()
988 u32 event_id) in vgic_its_check_event_id() argument
995 if (event_id >= BIT_ULL(device->num_eventid_bits)) in vgic_its_check_event_id()
998 gpa = device->itt_addr + event_id * ite_esz; in vgic_its_check_event_id()
[all …]
/linux-6.1.9/drivers/acpi/acpica/
Dutdecode.c123 const char *acpi_ut_get_event_name(u32 event_id) in acpi_ut_get_event_name() argument
126 if (event_id > ACPI_EVENT_MAX) { in acpi_ut_get_event_name()
130 return (acpi_gbl_event_types[event_id]); in acpi_ut_get_event_name()
/linux-6.1.9/include/uapi/linux/
Dkfd_ioctl.h248 __u32 event_id; /* from KFD */ member
253 __u32 event_id; /* to KFD */ member
258 __u32 event_id; /* to KFD */ member
263 __u32 event_id; /* to KFD */ member
303 __u32 event_id; /* to KFD */ member
/linux-6.1.9/drivers/irqchip/
Dirq-gic-v3-its.c324 u32 event_id; member
329 u32 event_id; member
334 u32 event_id; member
350 u32 event_id; member
356 u32 event_id; member
361 u32 event_id; member
382 u32 event_id; member
389 u32 event_id; member
636 desc->its_mapti_cmd.event_id); in its_build_mapti_cmd()
640 its_encode_event_id(cmd, desc->its_mapti_cmd.event_id); in its_build_mapti_cmd()
[all …]
/linux-6.1.9/drivers/char/tpm/eventlog/
Dtpm1.c185 switch (do_endian_conversion(pc_event->event_id)) { in get_event_name()
194 (pc_event->event_id)]; in get_event_name()
204 (pc_event->event_id)]; in get_event_name()
/linux-6.1.9/tools/lib/traceevent/
Dparse-filter.c96 if (ea->event_id < eb->event_id) in filter_cmp()
99 if (ea->event_id > eb->event_id) in filter_cmp()
111 key.event_id = id; in find_filter_type()
140 if (filter->event_filters[i].event_id > id) in add_filter_type()
151 filter_type->event_id = id; in add_filter_type()
1392 int event_id) in tep_filter_remove_event() argument
1400 filter_type = find_filter_type(filter, event_id); in tep_filter_remove_event()
1853 int tep_event_filtered(struct tep_event_filter *filter, int event_id) in tep_event_filtered() argument
1860 filter_type = find_filter_type(filter, event_id); in tep_event_filtered()
1882 int event_id; in tep_filter_match() local
[all …]
/linux-6.1.9/arch/sparc/kernel/
Dperf_event.c215 static const struct perf_event_map *ultra3_event_map(int event_id) in ultra3_event_map() argument
217 return &ultra3_perfmon_event_map[event_id]; in ultra3_event_map()
353 static const struct perf_event_map *niagara1_event_map(int event_id) in niagara1_event_map() argument
355 return &niagara1_perfmon_event_map[event_id]; in niagara1_event_map()
488 static const struct perf_event_map *niagara2_event_map(int event_id) in niagara2_event_map() argument
490 return &niagara2_perfmon_event_map[event_id]; in niagara2_event_map()
625 static const struct perf_event_map *niagara4_event_map(int event_id) in niagara4_event_map() argument
627 return &niagara4_perfmon_event_map[event_id]; in niagara4_event_map()
806 static u64 event_encoding(u64 event_id, int idx) in event_encoding() argument
809 event_id <<= sparc_pmu->upper_shift; in event_encoding()
[all …]
/linux-6.1.9/drivers/platform/x86/intel/
Dishtp_eclite.c50 unsigned int event_id; member
135 header.event = opr_dev->opr_context.cmd_area.event_id; in ecl_ish_cl_read()
187 message.header.event = opr_dev->opr_context.cmd_area.event_id; in ecl_ish_cl_write()
240 case cmd_opr_offsetof(event_id): in ecl_opregion_cmd_handler()
241 cmd->event_id = (u32)*value64; in ecl_opregion_cmd_handler()
/linux-6.1.9/drivers/media/test-drivers/vidtv/
Dvidtv_channel.c167 u16 event_id; in vidtv_channel_eit_event_cat_into_new() local
181 event_id = be16_to_cpu(curr->event_id); in vidtv_channel_eit_event_cat_into_new()
182 tail = vidtv_psi_eit_event_init(tail, event_id); in vidtv_channel_eit_event_cat_into_new()
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Devent.c681 u16 event_id; in qtnf_event_parse() local
686 event_id = le16_to_cpu(event->event_id); in qtnf_event_parse()
697 switch (event_id) { in qtnf_event_parse()
748 pr_warn("unknown event type: %x\n", event_id); in qtnf_event_parse()
772 le16_to_cpu(event->event_id), le16_to_cpu(event->mhdr.len), in qtnf_event_process_skb()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c423 u16 event_id = le16_to_cpu(cmpl->event_id); in bnxt_ulp_async_events() local
439 event_id > ulp->max_async_event_id) in bnxt_ulp_async_events()
444 if (test_bit(event_id, ulp->async_events_bmap)) in bnxt_ulp_async_events()

1234