Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A 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)
/openbmc/linux/drivers/input/keyboard/
H A Dcros_ec_keyb.c79 unsigned int ev_type; member
89 .ev_type = EV_KEY,
94 .ev_type = EV_KEY,
99 .ev_type = EV_KEY,
104 .ev_type = EV_KEY,
121 .ev_type = EV_SW,
127 .ev_type = EV_SW,
237 if (map->ev_type != ev_type) in cros_ec_keyb_report_bs()
252 unsigned int ev_type; in cros_ec_keyb_work() local
292 ev_type = EV_KEY; in cros_ec_keyb_work()
[all …]
/openbmc/linux/drivers/usb/mon/
H A 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 …]
H A Dmon_bin.c397 const struct urb *urb, char ev_type) in mon_bin_get_setup() argument
480 dp->iso_len = (ev_type == 'S') ? fp->length : fp->actual_length; in mon_bin_get_isodesc()
489 char ev_type, int status) in mon_bin_event() argument
510 urb_length = (ev_type == 'S') ? in mon_bin_event()
522 if (ev_type == 'C' && usb_urb_dir_in(urb)) in mon_bin_event()
537 if (ev_type == 'S') { in mon_bin_event()
544 if (ev_type == 'C') { in mon_bin_event()
570 ep->type = ev_type; in mon_bin_event()
592 if (usb_endpoint_xfer_control(epd) && ev_type == 'S') { in mon_bin_event()
593 ep->flag_setup = mon_bin_get_setup(ep->s.setup, urb, ev_type); in mon_bin_event()
[all …]
/openbmc/linux/drivers/connector/
H A Dcn_proc.c400 enum proc_cn_event ev_type = 0; in cn_proc_mcast_ctl() local
416 ev_type = pinput->event_type; in cn_proc_mcast_ctl()
419 ev_type = PROC_EVENT_ALL; in cn_proc_mcast_ctl()
424 ev_type = valid_event((enum proc_cn_event)ev_type); in cn_proc_mcast_ctl()
426 if (ev_type == PROC_EVENT_NONE) in cn_proc_mcast_ctl()
427 ev_type = PROC_EVENT_ALL; in cn_proc_mcast_ctl()
444 ev_type; in cn_proc_mcast_ctl()
/openbmc/linux/tools/iio/
H A Diio_event_monitor.c140 enum iio_event_type ev_type = IIO_EVENT_CODE_EXTRACT_TYPE(event->id); in event_is_known() local
232 switch (ev_type) { in event_is_known()
264 enum iio_event_type ev_type = IIO_EVENT_CODE_EXTRACT_TYPE(event->id); in print_event() local
289 printf(", evtype: %s", iio_ev_type_text[ev_type]); in print_event()
/openbmc/linux/include/uapi/linux/
H A Dcn_proc.h70 static inline enum proc_cn_event valid_event(enum proc_cn_event ev_type) in valid_event() argument
72 return (enum proc_cn_event)(ev_type & PROC_EVENT_ALL); in valid_event()
/openbmc/linux/tools/perf/scripts/python/
H A Devent_analyzing_sample.py96 if event.ev_type == EVTYPE_GENERIC:
99 elif event.ev_type == EVTYPE_PEBS_LL:
/openbmc/linux/net/llc/
H A Dllc_conn.c33 static int llc_find_offset(int state, int ev_type);
656 int state, ev_type, next_offset; in llc_build_offset_table() local
661 for (ev_type = 0; ev_type < NBR_CONN_EV; ev_type++) { in llc_build_offset_table()
662 llc_offset_table[state][ev_type] = next_offset; in llc_build_offset_table()
677 static int llc_find_offset(int state, int ev_type) in llc_find_offset() argument
683 switch (ev_type) { in llc_find_offset()
/openbmc/linux/drivers/input/misc/
H A 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()
766 __set_bit(ac->pdata.ev_type, input_dev->evbit); in adxl34x_probe()
768 if (ac->pdata.ev_type == EV_REL) { in adxl34x_probe()
/openbmc/linux/include/linux/input/
H A Dadxl34x.h277 u32 ev_type; /* EV_ABS or EV_REL */ member
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def100_nic.c268 int ev_type; in ef100_ev_process() local
290 ev_type = EFX_QWORD_FIELD(*p_event, ESF_GZ_E_TYPE); in ef100_ev_process()
292 switch (ev_type) { in ef100_ev_process()
/openbmc/linux/drivers/platform/x86/
H A Dsony-laptop.c1184 u8 ev_type = 0; in sony_nc_notify() local
1207 ev_type = HOTKEY; in sony_nc_notify()
1226 ev_type = KILLSWITCH; in sony_nc_notify()
1246 ev_type = GFX_SWITCH; in sony_nc_notify()
1252 ev_type = GFX_SWITCH; in sony_nc_notify()
1267 ev_type = HOTKEY; in sony_nc_notify()
1271 dev_name(&sony_nc_acpi_device->dev), ev_type, real_ev); in sony_nc_notify()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpts.c458 int ev_type, u32 skb_mtype_seqid) in cpts_find_ts() argument
/openbmc/linux/drivers/scsi/
H A Dmyrs.c815 unsigned char ev_type, *ev_msg; in myrs_log_event() local
841 ev_type = myrs_ev_list[ev_idx].ev_msg[0]; in myrs_log_event()
849 switch (ev_type) { in myrs_log_event()