Home
last modified time | relevance | path

Searched refs:ev_code (Results 1 – 12 of 12) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-uinput/
H A D0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch24 @@ -45,11 +45,20 @@ int suinput_emit(int uinput_fd, uint16_t ev_type, uint16_t ev_code,
30 event.code = ev_code;
/openbmc/linux/drivers/iio/accel/
H A Dfxls8962af-core.c989 u64 ev_code; in fxls8962af_event_interrupt() local
997 ev_code = reg & FXLS8962AF_SDCD_INT_SRC1_X_POL ? in fxls8962af_event_interrupt()
1001 IIO_EV_TYPE_THRESH, ev_code), ts); in fxls8962af_event_interrupt()
1005 ev_code = reg & FXLS8962AF_SDCD_INT_SRC1_Y_POL ? in fxls8962af_event_interrupt()
1009 IIO_EV_TYPE_THRESH, ev_code), ts); in fxls8962af_event_interrupt()
1013 ev_code = reg & FXLS8962AF_SDCD_INT_SRC1_Z_POL ? in fxls8962af_event_interrupt()
1017 IIO_EV_TYPE_THRESH, ev_code), ts); in fxls8962af_event_interrupt()
/openbmc/linux/drivers/perf/
H A Darm-cci.c334 u8 ev_code = CCI400_PMU_EVENT_CODE(hw_event); in cci400_validate_hw_event() local
362 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
363 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
542 u32 ev_code = CCI5xx_PMU_EVENT_CODE(hw_event); in cci500_validate_hw_event() local
573 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
574 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci500_validate_hw_event()
593 u32 ev_code = CCI5xx_PMU_EVENT_CODE(hw_event); in cci550_validate_hw_event() local
625 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci550_validate_hw_event()
626 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci550_validate_hw_event()
/openbmc/linux/drivers/bus/mhi/host/
H A Dmain.c576 u32 ev_code; in parse_xfer_event() local
578 ev_code = MHI_TRE_GET_EV_CODE(event); in parse_xfer_event()
582 result.transaction_status = (ev_code == MHI_EV_CC_OVERFLOW) ? in parse_xfer_event()
591 if (ev_code >= MHI_EV_CC_OOB) in parse_xfer_event()
599 switch (ev_code) { in parse_xfer_event()
694 dev_err(dev, "Unknown event 0x%x\n", ev_code); in parse_xfer_event()
699 if (ev_code >= MHI_EV_CC_OOB) in parse_xfer_event()
714 int ev_code; in parse_rsc_event() local
721 ev_code = MHI_TRE_GET_EV_CODE(event); in parse_rsc_event()
730 result.transaction_status = (ev_code == MHI_EV_CC_OVERFLOW) ? in parse_rsc_event()
/openbmc/linux/drivers/iio/light/
H A Dcm36651.c236 u64 ev_code; in cm36651_irq_handler() local
264 ev_code = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, in cm36651_irq_handler()
268 iio_push_event(indio_dev, ev_code, iio_get_time_ns(indio_dev)); in cm36651_irq_handler()
/openbmc/linux/drivers/scsi/
H A Dmyrs.c686 int ev_code; member
814 int ev_idx = 0, ev_code; in myrs_log_event() local
822 if (ev->ev_code == 0x1C) { in myrs_log_event()
834 ev->ev_code = ((sshdr.asc - 0x80) << 8 | sshdr.ascq); in myrs_log_event()
836 ev_code = myrs_ev_list[ev_idx].ev_code; in myrs_log_event()
837 if (ev_code == ev->ev_code || ev_code == 0) in myrs_log_event()
843 if (ev_code == 0) { in myrs_log_event()
846 ev->ev_code); in myrs_log_event()
859 switch (ev->ev_code) { in myrs_log_event()
926 ev->ev_seq, ev->ev_code); in myrs_log_event()
H A Dmyrs.h576 unsigned int ev_code; /* Bytes 8-11 */ member
/openbmc/linux/drivers/iio/
H A Dindustrialio-event.c66 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp) in iio_push_event() argument
79 ev.id = ev_code; in iio_push_event()
/openbmc/linux/include/linux/iio/
H A Diio.h634 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp);
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dfarch.c1268 int ev_code; in efx_farch_ev_process() local
1293 ev_code = EFX_QWORD_FIELD(event, FSF_AZ_EV_CODE); in efx_farch_ev_process()
1295 switch (ev_code) { in efx_farch_ev_process()
1327 ev_code, EFX_QWORD_VAL(event)); in efx_farch_ev_process()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dfarch.c1260 int ev_code; in ef4_farch_ev_process() local
1286 ev_code = EF4_QWORD_FIELD(event, FSF_AZ_EV_CODE); in ef4_farch_ev_process()
1288 switch (ev_code) { in ef4_farch_ev_process()
1317 ev_code, EF4_QWORD_VAL(event)); in ef4_farch_ev_process()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def10.c3104 int ev_code; in efx_ef10_ev_process() local
3122 ev_code = EFX_QWORD_FIELD(event, ESF_DZ_EV_CODE); in efx_ef10_ev_process()
3128 switch (ev_code) { in efx_ef10_ev_process()
3161 channel->channel, ev_code, in efx_ef10_ev_process()