Home
last modified time | relevance | path

Searched refs:evtype (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-bus-event_source-devices-dfl_fme14 evtype = "config:12-15" - event type
19 fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff"
43 Basic events (evtype=0x00)::
45 clock = "event=0x00,evtype=0x00,portid=0xff"
47 Cache events (evtype=0x01)::
62 Fabric events (evtype=0x02)::
72 fab_port_pcie0_read = "event=0x00,evtype=0x02,portid=?"
73 fab_port_pcie0_write = "event=0x01,evtype=0x02,portid=?"
74 fab_port_pcie1_read = "event=0x02,evtype=0x02,portid=?"
81 VTD events (evtype=0x03)::
[all …]
/linux-6.15/arch/alpha/kernel/
H A Dperf_event.c43 unsigned long evtype[MAX_HWEVENTS]; member
153 unsigned long *evtype, int n_ev) in ev67_check_constraints() argument
158 idx0 = ev67_mapping[evtype[0]-1].idx; in ev67_check_constraints()
165 if (evtype[0] == EV67_MBOXREPLAY || evtype[1] == EV67_MBOXREPLAY) { in ev67_check_constraints()
169 if (evtype[idx0] == EV67_CYCLES) { in ev67_check_constraints()
175 if (evtype[0] == EV67_BCACHEMISS || evtype[1] == EV67_BCACHEMISS) { in ev67_check_constraints()
185 if (evtype[0] == EV67_INSTRUCTIONS || evtype[1] == EV67_INSTRUCTIONS) { in ev67_check_constraints()
189 if (evtype[idx0^1] == EV67_CYCLES) { in ev67_check_constraints()
351 evtype[n] = group->hw.event_base; in collect_events()
359 evtype[n] = pe->hw.event_base; in collect_events()
[all …]
/linux-6.15/tools/perf/util/
H A Devswitch.c34 static int evswitch__fprintf_enoent(FILE *fp, const char *evtype, const char *evname) in evswitch__fprintf_enoent() argument
36 int printed = fprintf(fp, "ERROR: switch-%s event not found (%s)\n", evtype, evname); in evswitch__fprintf_enoent()
/linux-6.15/drivers/fpga/
H A Ddfl-fme-perf.c218 PMU_FORMAT_ATTR(evtype, "config:12-15");
778 static struct fme_perf_event_ops *get_event_ops(u32 evtype) in get_event_ops() argument
780 if (evtype > FME_EVTYPE_MAX) in get_event_ops()
783 return &fme_perf_event_ops[evtype]; in get_event_ops()
800 u32 eventid, evtype, portid; in fme_perf_event_init() local
822 evtype = get_evtype(event->attr.config); in fme_perf_event_init()
823 if (evtype > FME_EVTYPE_MAX) in fme_perf_event_init()
826 hwc->event_base = evtype; in fme_perf_event_init()
833 __func__, eventid, evtype, portid); in fme_perf_event_init()
835 ops = get_event_ops(evtype); in fme_perf_event_init()
/linux-6.15/drivers/pinctrl/nuvoton/
H A Dpinctrl-wpcm450.c242 unsigned long evtype, evpol; in wpcm450_gpio_set_irq_type() local
254 evtype = ioread32(pctrl->gpio_base + WPCM450_GPEVTYPE); in wpcm450_gpio_set_irq_type()
259 __assign_bit(bit, &evtype, 1); in wpcm450_gpio_set_irq_type()
263 __assign_bit(bit, &evtype, 1); in wpcm450_gpio_set_irq_type()
267 __assign_bit(bit, &evtype, 0); in wpcm450_gpio_set_irq_type()
271 __assign_bit(bit, &evtype, 0); in wpcm450_gpio_set_irq_type()
275 __assign_bit(bit, &evtype, 0); in wpcm450_gpio_set_irq_type()
281 iowrite32(evtype, pctrl->gpio_base + WPCM450_GPEVTYPE); in wpcm450_gpio_set_irq_type()
/linux-6.15/sound/core/seq/
H A Dseq_clientmgr.h89 struct snd_seq_port_subscribe *info, int evtype);
H A Dseq_clientmgr.c1509 int evtype) in snd_seq_client_notify_subscription() argument
1514 event.type = evtype; in snd_seq_client_notify_subscription()
/linux-6.15/drivers/perf/
H A Dapple_m1_cpu_pmu.c500 unsigned long evtype = event->hw.config_base & M1_PMU_CFG_EVENT; in m1_pmu_get_event_idx() local
501 unsigned long affinity = m1_pmu_event_affinity[evtype]; in m1_pmu_get_event_idx()
H A Darm_dsu_pmu.c285 unsigned long evtype = event->attr.config; in dsu_pmu_get_event_idx() local
289 if (evtype == DSU_PMU_EVT_CYCLES) { in dsu_pmu_get_event_idx()
H A Darm_pmuv3.c938 unsigned long evtype = hwc->config_base & ARMV8_PMU_EVTYPE_EVENT; in armv8pmu_get_event_idx() local
941 if ((evtype == ARMV8_PMUV3_PERFCTR_CPU_CYCLES) && in armv8pmu_get_event_idx()
956 if ((evtype == ARMV8_PMUV3_PERFCTR_INST_RETIRED) && in armv8pmu_get_event_idx()
H A Darm_v7_pmu.c967 unsigned long evtype = hwc->config_base & ARMV7_EVTYPE_EVENT; in armv7pmu_get_event_idx() local
970 if (evtype == ARMV7_PERFCTR_CPU_CYCLES) { in armv7pmu_get_event_idx()
/linux-6.15/Documentation/fpga/
H A Ddfl.rst531 perf_event_attr. There are 3 bitfields for config: "evtype" defines which type
538 has the configuration "event=0x06,evtype=0x02,portid=0xff", which shows this
553 $# perf stat -a -e dfl_fme0/event=0x06,evtype=0x02,portid=0xff/ <command>
558 its configuration template is "event=0x06,evtype=0x01,portid=?". The portid
565 $# perf stat -a -e dfl_fme0/event=0x06,evtype=0x02,portid=0x0/ <command>
/linux-6.15/drivers/staging/media/ipu3/
H A Dipu3-css.c1975 int evtype, pipe, pipeid, queue, qid, r; in imgu_css_buf_dequeue() local
1985 evtype = (event & IMGU_ABI_EVTTYPE_EVENT_MASK) >> in imgu_css_buf_dequeue()
1988 switch (evtype) { in imgu_css_buf_dequeue()
1997 queue = evtype_to_queue[evtype]; in imgu_css_buf_dequeue()
/linux-6.15/drivers/s390/net/
H A Dqeth_l2_main.c1248 enum qeth_an_event_type evtype, in qeth_bridge_emit_host_event() argument
1257 switch (evtype) { in qeth_bridge_emit_host_event()