Home
last modified time | relevance | path

Searched +defs:event +defs:type (Results 1 – 25 of 677) sorted by relevance

12345678910>>...28

/linux-6.14.4/arch/powerpc/perf/
D8xx-pmu.c49 static int event_type(struct perf_event *event) in event_type()
72 static int mpc8xx_pmu_event_init(struct perf_event *event) in mpc8xx_pmu_event_init()
74 int type = event_type(event); in mpc8xx_pmu_event_init() local
81 static int mpc8xx_pmu_add(struct perf_event *event, int flags) in mpc8xx_pmu_add()
83 int type = event_type(event); in mpc8xx_pmu_add() local
119 static void mpc8xx_pmu_read(struct perf_event *event) in mpc8xx_pmu_read()
121 int type = event_type(event); in mpc8xx_pmu_read() local
154 static void mpc8xx_pmu_del(struct perf_event *event, int flags) in mpc8xx_pmu_del()
/linux-6.14.4/arch/x86/events/intel/
Duncore.c133 struct uncore_event_desc *event = in uncore_event_show() local
149 u64 uncore_msr_read_counter(struct intel_uncore_box *box, struct perf_event *event) in uncore_msr_read_counter()
165 struct perf_event *event) in uncore_mmio_read_counter()
180 uncore_get_constraint(struct intel_uncore_box *box, struct perf_event *event) in uncore_get_constraint()
217 void uncore_put_constraint(struct intel_uncore_box *box, struct perf_event *event) in uncore_put_constraint()
254 struct perf_event *event, int idx) in uncore_assign_hw_event()
274 void uncore_perf_event_update(struct intel_uncore_box *box, struct perf_event *event) in uncore_perf_event_update()
307 struct perf_event *event; in uncore_pmu_hrtimer() local
354 static struct intel_uncore_box *uncore_alloc_box(struct intel_uncore_type *type, in uncore_alloc_box()
387 static bool is_box_event(struct intel_uncore_box *box, struct perf_event *event) in is_box_event()
[all …]
Duncore_discovery.c81 struct intel_uncore_discovery_type *type; in add_uncore_discovery_type() local
106 struct intel_uncore_discovery_type *type; in get_uncore_discovery_type() local
226 struct intel_uncore_discovery_type *type; in uncore_insert_box_info() local
395 struct intel_uncore_discovery_type *type, *next; in intel_uncore_clear_discovery_tables() local
458 struct perf_event *event) in intel_generic_uncore_msr_enable_event()
466 struct perf_event *event) in intel_generic_uncore_msr_disable_event()
482 bool intel_generic_uncore_assign_hw_event(struct perf_event *event, in intel_generic_uncore_assign_hw_event()
545 struct perf_event *event) in intel_generic_uncore_pci_enable_event()
554 struct perf_event *event) in intel_generic_uncore_pci_disable_event()
563 struct perf_event *event) in intel_generic_uncore_pci_read_counter()
[all …]
Duncore_snbep.c578 static void snbep_uncore_pci_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_enable_event()
586 static void snbep_uncore_pci_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_disable_event()
594 static u64 snbep_uncore_pci_read_counter(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_read_counter()
640 static void snbep_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_msr_enable_event()
652 struct perf_event *event) in snbep_uncore_msr_disable_event()
932 static void snbep_cbox_put_constraint(struct intel_uncore_box *box, struct perf_event *event) in snbep_cbox_put_constraint()
949 __snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event, in __snbep_cbox_get_constraint()
1012 snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event) in snbep_cbox_get_constraint()
1017 static int snbep_cbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) in snbep_cbox_hw_config()
1061 static u64 snbep_pcu_alter_er(struct perf_event *event, int new_idx, bool modify) in snbep_pcu_alter_er()
[all …]
Duncore.h25 #define UNCORE_PCI_DEV_FULL_DATA(dev, func, type, idx) \ argument
27 #define UNCORE_PCI_DEV_DATA(type, idx) ((type << 8) | idx) argument
131 struct intel_uncore_type *type; member
379 struct perf_event *event) in uncore_freerunning_counter()
381 unsigned int type = uncore_freerunning_type(event->hw.config); in uncore_freerunning_counter() local
466 struct perf_event *event) in uncore_freerunning_bits()
468 unsigned int type = uncore_freerunning_type(event->hw.config); in uncore_freerunning_bits() local
474 struct perf_event *event) in uncore_num_freerunning()
476 unsigned int type = uncore_freerunning_type(event->hw.config); in uncore_num_freerunning() local
482 struct perf_event *event) in uncore_num_freerunning_types()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/core/
Devent.c26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put()
33 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_put() local
43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get()
50 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_get() local
62 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_state() local
133 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_del() local
146 nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func, in nvkm_event_ntfy_add()
164 nvkm_event_ntfy_valid(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy_valid()
170 nvkm_event_ntfy(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy()
192 nvkm_event_fini(struct nvkm_event *event) in nvkm_event_fini()
[all …]
/linux-6.14.4/kernel/trace/
Dtrace_events_synth.c107 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() local
112 static bool synth_event_match(const char *system, const char *event, in synth_event_match()
130 struct synth_event *event = call->data; in synth_event_define_fields() local
132 char *name, *type; in synth_event_define_fields() local
162 static bool synth_field_signed(char *type) in synth_field_signed()
172 static int synth_field_is_string(char *type) in synth_field_is_string()
180 static int synth_field_is_stack(char *type) in synth_field_is_stack()
188 static int synth_field_string_size(char *type) in synth_field_string_size()
223 static int synth_field_size(char *type) in synth_field_size()
269 static const char *synth_field_fmt(char *type) in synth_field_fmt()
[all …]
/linux-6.14.4/drivers/perf/
Ddwc_pcie_pmu.c65 #define DWC_PCIE_EVENT_ID(event) FIELD_GET(DWC_PCIE_CONFIG_EVENTID, (event)->attr.config) argument
66 #define DWC_PCIE_EVENT_TYPE(event) FIELD_GET(DWC_PCIE_CONFIG_TYPE, (event)->attr.config) argument
67 #define DWC_PCIE_EVENT_LANE(event) FIELD_GET(DWC_PCIE_CONFIG_LANE, (event)->attr.config) argument
85 struct perf_event *event[DWC_PCIE_EVENT_TYPE_MAX]; member
165 enum dwc_pcie_event_type type; member
294 static u64 dwc_pcie_pmu_read_lane_event_counter(struct perf_event *event) in dwc_pcie_pmu_read_lane_event_counter()
306 static u64 dwc_pcie_pmu_read_time_based_counter(struct perf_event *event) in dwc_pcie_pmu_read_time_based_counter()
347 static void dwc_pcie_pmu_event_update(struct perf_event *event) in dwc_pcie_pmu_event_update()
350 enum dwc_pcie_event_type type = DWC_PCIE_EVENT_TYPE(event); in dwc_pcie_pmu_event_update() local
371 static int dwc_pcie_pmu_event_init(struct perf_event *event) in dwc_pcie_pmu_event_init()
[all …]
Darm-ccn.c132 u32 type; member
154 struct perf_event *event; member
212 static void arm_ccn_pmu_config_set(u64 *config, u32 node_xp, u32 type, u32 port) in arm_ccn_pmu_config_set()
258 u32 type; member
259 u32 event; member
318 struct arm_ccn_pmu_event *event = container_of(attr, in arm_ccn_pmu_event_show() local
363 struct arm_ccn_pmu_event *event = container_of(dev_attr, in arm_ccn_pmu_events_is_visible() local
622 static int arm_ccn_pmu_event_alloc(struct perf_event *event) in arm_ccn_pmu_event_alloc()
626 u32 node_xp, type, event_id; in arm_ccn_pmu_event_alloc() local
680 static void arm_ccn_pmu_event_release(struct perf_event *event) in arm_ccn_pmu_event_release()
[all …]
Dthunderx2_pmu.c109 enum tx2_uncore_type type; member
322 static void init_cntr_base_l3c(struct perf_event *event, in init_cntr_base_l3c()
338 static void init_cntr_base_dmc(struct perf_event *event, in init_cntr_base_dmc()
354 static void init_cntr_base_ccpi2(struct perf_event *event, in init_cntr_base_ccpi2()
367 static void uncore_start_event_l3c(struct perf_event *event, int flags) in uncore_start_event_l3c()
383 static inline void uncore_stop_event_l3c(struct perf_event *event) in uncore_stop_event_l3c()
388 static void uncore_start_event_dmc(struct perf_event *event, int flags) in uncore_start_event_dmc()
413 static void uncore_stop_event_dmc(struct perf_event *event) in uncore_stop_event_dmc()
430 static void uncore_start_event_ccpi2(struct perf_event *event, int flags) in uncore_start_event_ccpi2()
455 static void uncore_stop_event_ccpi2(struct perf_event *event) in uncore_stop_event_ccpi2()
[all …]
Darm-cmn.c169 #define CMN_EVENT_TYPE(event) FIELD_GET(CMN_CONFIG_TYPE, (event)->attr.config) argument
170 #define CMN_EVENT_EVENTID(event) FIELD_GET(CMN_CONFIG_EVENTID, (event)->attr.config) argument
171 #define CMN_EVENT_OCCUPID(event) FIELD_GET(CMN_CONFIG_OCCUPID, (event)->attr.config) argument
172 #define CMN_EVENT_BYNODEID(event) FIELD_GET(CMN_CONFIG_BYNODEID, (event)->attr.config) argument
173 #define CMN_EVENT_NODEID(event) FIELD_GET(CMN_CONFIG_NODEID, (event)->attr.config) argument
183 #define CMN_EVENT_WP_COMBINE(event) FIELD_GET(CMN_CONFIG_WP_COMBINE, (event)->attr.config) argument
184 #define CMN_EVENT_WP_DEV_SEL(event) FIELD_GET(CMN_CONFIG_WP_DEV_SEL, (event)->attr.config) argument
185 #define CMN_EVENT_WP_CHN_SEL(event) FIELD_GET(CMN_CONFIG_WP_CHN_SEL, (event)->attr.config) argument
186 #define CMN_EVENT_WP_GRP(event) FIELD_GET(CMN_CONFIG_WP_GRP, (event)->attr.config) argument
187 #define CMN_EVENT_WP_EXCLUSIVE(event) FIELD_GET(CMN_CONFIG_WP_EXCLUSIVE, (event)->attr.config) argument
[all …]
Darm-ni.c62 #define NI_EVENT_TYPE(event) FIELD_GET(NI_CONFIG_TYPE, (event)->attr.config) argument
63 #define NI_EVENT_NODEID(event) FIELD_GET(NI_CONFIG_NODEID, (event)->attr.config) argument
64 #define NI_EVENT_EVENTID(event) FIELD_GET(NI_CONFIG_EVENTID, (event)->attr.config) argument
86 enum ni_node_type type; member
93 enum ni_node_type type; member
98 u8 event[8]; member
134 enum ni_node_type type; member
288 static int arm_ni_validate_group(struct perf_event *event) in arm_ni_validate_group()
307 static int arm_ni_event_init(struct perf_event *event) in arm_ni_event_init()
347 static void arm_ni_event_read(struct perf_event *event) in arm_ni_event_read()
[all …]
/linux-6.14.4/tools/iio/
Diio_event_monitor.c143 static bool event_is_known(struct iio_event_data *event) in event_is_known()
145 enum iio_chan_type type = IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(event->id); in event_is_known() local
272 static void print_event(struct iio_event_data *event) in print_event()
274 enum iio_chan_type type = IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(event->id); in print_event() local
350 struct iio_event_data event; in main() local
/linux-6.14.4/sound/core/seq/
Dseq_ump_convert.c72 #define make_raw_ump(port, type) \ argument
367 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi1_to_midi2() local
437 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi2_to_midi1() local
506 struct snd_seq_event *event, in cvt_ump_to_any()
507 unsigned char type, in cvt_ump_to_any()
585 struct snd_seq_event *event, in snd_seq_deliver_from_ump()
589 unsigned char type; in snd_seq_deliver_from_ump() local
628 static int note_ev_to_ump_midi1(const struct snd_seq_event *event, in note_ev_to_ump_midi1()
643 static int cc_ev_to_ump_midi1(const struct snd_seq_event *event, in cc_ev_to_ump_midi1()
656 static int ctrl_ev_to_ump_midi1(const struct snd_seq_event *event, in ctrl_ev_to_ump_midi1()
[all …]
/linux-6.14.4/drivers/net/netdevsim/
Dhwstats.c11 enum netdev_offload_xstats_type type) in nsim_dev_hwstats_get_list_head()
23 enum netdev_offload_xstats_type type) in nsim_dev_hwstats_traffic_bump()
107 unsigned long event, void *ptr) in nsim_dev_hwstats_event_off_xstats()
154 enum netdev_offload_xstats_type type) in __nsim_dev_hwstats_event_unregister()
182 unsigned long event, void *ptr) in nsim_dev_hwstats_event()
200 unsigned long event, void *ptr) in nsim_dev_netdevice_event()
217 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_enable_ifindex()
273 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_disable_ifindex()
306 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_fail_ifindex()
335 enum netdev_offload_xstats_type type; member
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Dbase.c27 nvkm_fault_ntfy_fini(struct nvkm_event *event, int type, int index) in nvkm_fault_ntfy_fini()
34 nvkm_fault_ntfy_init(struct nvkm_event *event, int type, int index) in nvkm_fault_ntfy_init()
156 enum nvkm_subdev_type type, int inst, struct nvkm_fault **pfault) in nvkm_fault_new_()
/linux-6.14.4/drivers/iio/adc/
Dxilinx-xadc-events.c16 struct iio_dev *indio_dev, unsigned int event) in xadc_event_to_channel()
30 static void xadc_handle_event(struct iio_dev *indio_dev, unsigned int event) in xadc_handle_event()
114 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_config()
123 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_config()
159 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_value()
184 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_value()
/linux-6.14.4/net/802/
Dgarp.c139 const void *data, u8 len, u8 type) in garp_attr_cmp()
149 const void *data, u8 len, u8 type) in garp_attr_lookup()
169 const void *data, u8 len, u8 type) in garp_attr_create()
290 enum garp_attr_event event) in garp_pdu_append_attr()
325 struct garp_attr *attr, enum garp_event event) in garp_attr_event()
357 const void *data, u8 len, u8 type) in garp_request_join()
377 const void *data, u8 len, u8 type) in garp_request_leave()
394 static void garp_gid_event(struct garp_applicant *app, enum garp_event event) in garp_gid_event()
444 enum garp_event event; in garp_pdu_parse_attr() local
/linux-6.14.4/drivers/acpi/
Devent.c27 int acpi_notifier_call_chain(struct acpi_device *dev, u32 type, u32 data) in acpi_notifier_call_chain()
29 struct acpi_bus_event event; in acpi_notifier_call_chain() local
57 u32 type; member
96 u8 type, int data) in acpi_bus_generate_netlink_event()
100 struct acpi_genl_event *event; in acpi_bus_generate_netlink_event() local
155 u8 type, int data) in acpi_bus_generate_netlink_event()
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dg84.c162 g84_fifo_nonstall_block(struct nvkm_event *event, int type, int index) in g84_fifo_nonstall_block()
173 g84_fifo_nonstall_allow(struct nvkm_event *event, int type, int index) in g84_fifo_nonstall_allow()
227 g84_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in g84_fifo_new()
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c43 unsigned int type; member
84 const unsigned int type; member
209 static int amdgpu_perf_event_init(struct perf_event *event) in amdgpu_perf_event_init()
225 static void amdgpu_perf_start(struct perf_event *event, int flags) in amdgpu_perf_start()
267 static void amdgpu_perf_read(struct perf_event *event) in amdgpu_perf_read()
297 static void amdgpu_perf_stop(struct perf_event *event, int flags) in amdgpu_perf_stop()
332 static int amdgpu_perf_add(struct perf_event *event, int flags) in amdgpu_perf_add()
383 static void amdgpu_perf_del(struct perf_event *event, int flags) in amdgpu_perf_del()
414 unsigned int type) in amdgpu_pmu_create_event_attrs_by_type()
/linux-6.14.4/tools/perf/util/
Ddata-convert-bt.c102 static int value_set(struct bt_ctf_field_type *type, in value_set()
103 struct bt_ctf_event *event, in value_set()
163 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string()
166 struct bt_ctf_field_type *type = cw->data.string; in value_set_string() local
295 struct bt_ctf_event *event, in add_tracepoint_field_value()
299 struct bt_ctf_field_type *type; in add_tracepoint_field_value() local
407 struct bt_ctf_event *event, in add_tracepoint_fields_values()
425 struct bt_ctf_event *event, in add_tracepoint_values()
445 struct bt_ctf_event *event, in add_bpf_output_values()
523 struct bt_ctf_event *event, in add_callchain_output_values()
[all …]
/linux-6.14.4/tools/perf/arch/x86/util/
Devent.c21 union perf_event *event; member
27 union perf_event *event = args->event; in perf_event__synthesize_extra_kmaps_cb() local
96 const __u64 *array, u64 type) in arch_perf_parse_sample_weight()
111 __u64 *array, u64 type) in arch_perf_synthesize_sample_weight()
/linux-6.14.4/fs/notify/fanotify/
Dfanotify.c181 struct fsnotify_event *event) in fanotify_merge()
223 struct fanotify_perm_event *event, in fanotify_get_response()
310 int type; in fanotify_group_event_mask() local
411 int dwords, type = 0; in fanotify_encode_fh() local
727 struct fanotify_event *event = NULL; in fanotify_alloc_event() local
858 int type; in fanotify_get_fsid() local
880 struct fanotify_event *event = FANOTIFY_E(fsn_event); in fanotify_insert_event() local
902 struct fanotify_event *event; in fanotify_handle_event() local
997 static void fanotify_free_path_event(struct fanotify_event *event) in fanotify_free_path_event()
1003 static void fanotify_free_perm_event(struct fanotify_event *event) in fanotify_free_perm_event()
[all …]
/linux-6.14.4/arch/sh/kernel/
Dperf_event.c63 static void hw_perf_event_destroy(struct perf_event *event) in hw_perf_event_destroy()
75 unsigned long type, op, result; in hw_perf_cache_event() local
100 static int __hw_perf_event_init(struct perf_event *event) in __hw_perf_event_init()
158 static void sh_perf_event_update(struct perf_event *event, in sh_perf_event_update()
199 static void sh_pmu_stop(struct perf_event *event, int flags) in sh_pmu_stop()
217 static void sh_pmu_start(struct perf_event *event, int flags) in sh_pmu_start()
234 static void sh_pmu_del(struct perf_event *event, int flags) in sh_pmu_del()
244 static int sh_pmu_add(struct perf_event *event, int flags) in sh_pmu_add()
275 static void sh_pmu_read(struct perf_event *event) in sh_pmu_read()
280 static int sh_pmu_event_init(struct perf_event *event) in sh_pmu_event_init()

12345678910>>...28