Home
last modified time | relevance | path

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

/linux/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)::
49 cache_read_hit = "event=0x00,evtype=0x01,portid=0xff"
50 cache_read_miss = "event=0x01,evtype=0x01,portid=0xff"
51 cache_write_hit = "event=0x02,evtype=0x01,portid=0xff"
52 cache_write_miss = "event=0x03,evtype=0x01,portid=0xff"
53 cache_hold_request = "event=0x05,evtype=0x01,portid=0xff"
[all …]
/linux/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()
159 config = ev67_mapping[evtype[0]-1].config; in ev67_check_constraints()
165 if (evtype[0] == EV67_MBOXREPLAY || evtype[1] == EV67_MBOXREPLAY) { in ev67_check_constraints()
167 idx0 = (evtype[0] == EV67_MBOXREPLAY) ? 1 : 0; 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()
177 idx0 = (evtype[0] == EV67_BCACHEMISS) ? 1 : 0; in ev67_check_constraints()
179 if (evtype[idx0] == EV67_INSTRUCTIONS) { in ev67_check_constraints()
[all …]
/linux/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/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/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/sound/core/seq/
H A Dseq_clientmgr.h89 struct snd_seq_port_subscribe *info, int evtype);
H A Dseq_clientmgr.c1463 int evtype) in snd_seq_client_notify_subscription() argument
1468 event.type = evtype; in snd_seq_client_notify_subscription()
/linux/drivers/perf/
H A Dapple_m1_cpu_pmu.c470 unsigned long evtype = event->hw.config_base & M1_PMU_CFG_EVENT; in m1_pmu_get_event_idx() local
471 unsigned long affinity = m1_pmu_event_affinity[evtype]; in m1_pmu_get_event_idx()
H A Darm_pmuv3.c943 unsigned long evtype = hwc->config_base & ARMV8_PMU_EVTYPE_EVENT; in armv8pmu_get_event_idx() local
946 if ((evtype == ARMV8_PMUV3_PERFCTR_CPU_CYCLES) && in armv8pmu_get_event_idx()
961 if ((evtype == ARMV8_PMUV3_PERFCTR_INST_RETIRED) && in armv8pmu_get_event_idx()
H A Darm_v7_pmu.c995 unsigned long evtype = hwc->config_base & ARMV7_EVTYPE_EVENT; in armv7pmu_get_event_idx() local
998 if (evtype == ARMV7_PERFCTR_CPU_CYCLES) { in armv7pmu_get_event_idx()
/linux/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/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/drivers/s390/net/
H A Dqeth_l2_main.c1247 enum qeth_an_event_type evtype, in qeth_bridge_emit_host_event() argument
1256 switch (evtype) { in qeth_bridge_emit_host_event()