Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/bus/mhi/core/
Dmain.c502 u32 ev_code; in parse_xfer_event() local
504 ev_code = MHI_TRE_GET_EV_CODE(event); in parse_xfer_event()
508 result.transaction_status = (ev_code == MHI_EV_CC_OVERFLOW) ? in parse_xfer_event()
517 if (ev_code >= MHI_EV_CC_OOB) in parse_xfer_event()
525 switch (ev_code) { in parse_xfer_event()
613 dev_err(dev, "Unknown event 0x%x\n", ev_code); in parse_xfer_event()
618 if (ev_code >= MHI_EV_CC_OOB) in parse_xfer_event()
633 int ev_code; in parse_rsc_event() local
640 ev_code = MHI_TRE_GET_EV_CODE(event); in parse_rsc_event()
649 result.transaction_status = (ev_code == MHI_EV_CC_OVERFLOW) ? in parse_rsc_event()
/kernel/linux/linux-5.10/drivers/perf/
Darm-cci.c337 u8 ev_code = CCI400_PMU_EVENT_CODE(hw_event); in cci400_validate_hw_event() local
365 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
366 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
545 u32 ev_code = CCI5xx_PMU_EVENT_CODE(hw_event); in cci500_validate_hw_event() local
576 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
577 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci500_validate_hw_event()
596 u32 ev_code = CCI5xx_PMU_EVENT_CODE(hw_event); in cci550_validate_hw_event() local
628 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci550_validate_hw_event()
629 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci550_validate_hw_event()
/kernel/linux/linux-5.10/drivers/iio/light/
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()
/kernel/linux/linux-5.10/drivers/scsi/
Dmyrs.c689 int ev_code; member
817 int ev_idx = 0, ev_code; in myrs_log_event() local
825 if (ev->ev_code == 0x1C) { in myrs_log_event()
837 ev->ev_code = ((sshdr.asc - 0x80) << 8 | sshdr.ascq); in myrs_log_event()
839 ev_code = myrs_ev_list[ev_idx].ev_code; in myrs_log_event()
840 if (ev_code == ev->ev_code || ev_code == 0) in myrs_log_event()
846 if (ev_code == 0) { in myrs_log_event()
849 ev->ev_code); in myrs_log_event()
862 switch (ev->ev_code) { in myrs_log_event()
929 ev->ev_seq, ev->ev_code); in myrs_log_event()
Dmyrs.h576 unsigned int ev_code; /* Bytes 8-11 */ member
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-event.c64 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp) in iio_push_event() argument
77 ev.id = ev_code; in iio_push_event()
/kernel/linux/linux-5.10/include/linux/iio/
Diio.h588 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp);
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dfarch.c1266 int ev_code; in efx_farch_ev_process() local
1291 ev_code = EFX_QWORD_FIELD(event, FSF_AZ_EV_CODE); in efx_farch_ev_process()
1293 switch (ev_code) { in efx_farch_ev_process()
1325 ev_code, EFX_QWORD_VAL(event)); in efx_farch_ev_process()
Def10.c3049 int ev_code; in efx_ef10_ev_process() local
3068 ev_code = EFX_QWORD_FIELD(event, ESF_DZ_EV_CODE); in efx_ef10_ev_process()
3074 switch (ev_code) { in efx_ef10_ev_process()
3103 channel->channel, ev_code, in efx_ef10_ev_process()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
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()