Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py38 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument
44 self.ev_type = ev_type
58 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument
72 PerfEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type)
87 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): argument
95 PebsEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type)
/Linux-v5.4/drivers/input/keyboard/
Dcros_ec_keyb.c73 unsigned int ev_type; member
83 .ev_type = EV_KEY,
88 .ev_type = EV_KEY,
93 .ev_type = EV_KEY,
100 .ev_type = EV_SW,
106 .ev_type = EV_SW,
206 unsigned int ev_type, u32 mask) in cros_ec_keyb_report_bs() argument
215 if (map->ev_type != ev_type) in cros_ec_keyb_report_bs()
218 input_event(idev, ev_type, map->code, in cros_ec_keyb_report_bs()
232 unsigned int ev_type; in cros_ec_keyb_work() local
[all …]
/Linux-v5.4/drivers/usb/mon/
Dmon_text.c132 struct urb *urb, char ev_type, struct mon_bus *mbus) in mon_text_get_setup() argument
135 if (ep->xfertype != USB_ENDPOINT_XFER_CONTROL || ev_type != 'S') in mon_text_get_setup()
146 int len, char ev_type, struct mon_bus *mbus) in mon_text_get_data() argument
156 if (ev_type != 'C') in mon_text_get_data()
159 if (ev_type != 'S') in mon_text_get_data()
194 char ev_type, int status) in mon_text_event() argument
210 ep->type = ev_type; in mon_text_event()
218 ep->length = (ev_type == 'S') ? in mon_text_event()
240 dp->length = (ev_type == 'S') ? in mon_text_event()
246 if (ev_type == 'C') in mon_text_event()
[all …]
Dmon_bin.c394 const struct urb *urb, char ev_type) in mon_bin_get_setup() argument
466 unsigned int offset, struct urb *urb, char ev_type, unsigned int ndesc) in mon_bin_get_isodesc() argument
477 dp->iso_len = (ev_type == 'S') ? fp->length : fp->actual_length; in mon_bin_get_isodesc()
486 char ev_type, int status) in mon_bin_event() argument
507 urb_length = (ev_type == 'S') ? in mon_bin_event()
519 if (ev_type == 'C' && usb_urb_dir_in(urb)) in mon_bin_event()
534 if (ev_type == 'S') { in mon_bin_event()
541 if (ev_type == 'C') { in mon_bin_event()
567 ep->type = ev_type; in mon_bin_event()
589 if (usb_endpoint_xfer_control(epd) && ev_type == 'S') { in mon_bin_event()
[all …]
/Linux-v5.4/tools/iio/
Diio_event_monitor.c128 enum iio_event_type ev_type = IIO_EVENT_CODE_EXTRACT_TYPE(event->id); in event_is_known() local
219 switch (ev_type) { in event_is_known()
248 enum iio_event_type ev_type = IIO_EVENT_CODE_EXTRACT_TYPE(event->id); in print_event() local
273 printf(", evtype: %s", iio_ev_type_text[ev_type]); in print_event()
/Linux-v5.4/arch/nds32/kernel/
Dperf_event_cpu.c83 int ev_type = (int)(config & raw_event_mask); in nds32_pmu_map_raw_event() local
88 ev_type = PFM_OFFSET_MAGIC_0 + ev_type; in nds32_pmu_map_raw_event()
89 if (ev_type >= SPAV3_0_SEL_LAST || ev_type <= SPAV3_0_SEL_BASE) in nds32_pmu_map_raw_event()
93 ev_type = PFM_OFFSET_MAGIC_1 + ev_type; in nds32_pmu_map_raw_event()
94 if (ev_type >= SPAV3_1_SEL_LAST || ev_type <= SPAV3_1_SEL_BASE) in nds32_pmu_map_raw_event()
98 ev_type = PFM_OFFSET_MAGIC_2 + ev_type; in nds32_pmu_map_raw_event()
99 if (ev_type >= SPAV3_2_SEL_LAST || ev_type <= SPAV3_2_SEL_BASE) in nds32_pmu_map_raw_event()
106 return ev_type; in nds32_pmu_map_raw_event()
/Linux-v5.4/net/llc/
Dllc_conn.c32 static int llc_find_offset(int state, int ev_type);
644 int state, ev_type, next_offset; in llc_build_offset_table() local
649 for (ev_type = 0; ev_type < NBR_CONN_EV; ev_type++) { in llc_build_offset_table()
650 llc_offset_table[state][ev_type] = next_offset; in llc_build_offset_table()
665 static int llc_find_offset(int state, int ev_type) in llc_find_offset() argument
671 switch (ev_type) { in llc_find_offset()
/Linux-v5.4/tools/perf/scripts/python/
Devent_analyzing_sample.py96 if event.ev_type == EVTYPE_GENERIC:
99 elif event.ev_type == EVTYPE_PEBS_LL:
/Linux-v5.4/drivers/input/misc/
Dadxl34x.c227 .ev_type = EV_ABS,
263 input_event(ac->input, pdata->ev_type, pdata->ev_code_x, in adxl34x_service_ev_fifo()
265 input_event(ac->input, pdata->ev_type, pdata->ev_code_y, in adxl34x_service_ev_fifo()
267 input_event(ac->input, pdata->ev_type, pdata->ev_code_z, in adxl34x_service_ev_fifo()
760 __set_bit(ac->pdata.ev_type, input_dev->evbit); in adxl34x_probe()
762 if (ac->pdata.ev_type == EV_REL) { in adxl34x_probe()
/Linux-v5.4/include/linux/input/
Dadxl34x.h277 u32 ev_type; /* EV_ABS or EV_REL */ member
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpts.c367 static u64 cpts_find_ts(struct cpts *cpts, struct sk_buff *skb, int ev_type) in cpts_find_ts() argument
391 if (ev_type == event_type(event) && in cpts_find_ts()
400 if (ev_type == CPTS_EV_TX && !ns) { in cpts_find_ts()
/Linux-v5.4/drivers/staging/iio/cdc/
Dad7150.c418 #define AD7150_TIMEOUT(chan, type, dir, ev_type, ev_dir) \ argument
425 IIO_EV_TYPE_##ev_type, \
/Linux-v5.4/drivers/platform/x86/
Dsony-laptop.c1192 u8 ev_type = 0; in sony_nc_notify() local
1215 ev_type = HOTKEY; in sony_nc_notify()
1234 ev_type = KILLSWITCH; in sony_nc_notify()
1254 ev_type = GFX_SWITCH; in sony_nc_notify()
1260 ev_type = GFX_SWITCH; in sony_nc_notify()
1275 ev_type = HOTKEY; in sony_nc_notify()
1279 dev_name(&sony_nc_acpi_device->dev), ev_type, real_ev); in sony_nc_notify()
/Linux-v5.4/drivers/scsi/
Dmyrs.c818 unsigned char ev_type, *ev_msg; in myrs_log_event() local
844 ev_type = myrs_ev_list[ev_idx].ev_msg[0]; in myrs_log_event()
852 switch (ev_type) { in myrs_log_event()