Home
last modified time | relevance | path

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

/drivers/bus/
Darm-cci.c216 static int pmu_is_valid_slave_event(u8 ev_code) in pmu_is_valid_slave_event() argument
218 return pmu->port_ranges->slave_min <= ev_code && in pmu_is_valid_slave_event()
219 ev_code <= pmu->port_ranges->slave_max; in pmu_is_valid_slave_event()
222 static int pmu_is_valid_master_event(u8 ev_code) in pmu_is_valid_master_event() argument
224 return pmu->port_ranges->master_min <= ev_code && in pmu_is_valid_master_event()
225 ev_code <= pmu->port_ranges->master_max; in pmu_is_valid_master_event()
231 u8 ev_code = CCI_PMU_EVENT_CODE(hw_event); in pmu_validate_hw_event() local
240 if (pmu_is_valid_slave_event(ev_code)) in pmu_validate_hw_event()
247 if (pmu_is_valid_master_event(ev_code)) in pmu_validate_hw_event()
/drivers/iio/light/
Dcm36651.c239 u64 ev_code; in cm36651_irq_handler() local
267 ev_code = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, in cm36651_irq_handler()
271 iio_push_event(indio_dev, ev_code, iio_get_time_ns()); in cm36651_irq_handler()
/drivers/iio/
Dindustrialio-event.c55 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp) in iio_push_event() argument
64 ev.id = ev_code; in iio_push_event()
/drivers/net/ethernet/sfc/
Dfarch.c1271 int ev_code; in efx_farch_ev_process() local
1297 ev_code = EFX_QWORD_FIELD(event, FSF_AZ_EV_CODE); in efx_farch_ev_process()
1299 switch (ev_code) { in efx_farch_ev_process()
1334 ev_code, EFX_QWORD_VAL(event)); in efx_farch_ev_process()
Def10.c1991 int ev_code; in efx_ef10_ev_process() local
2011 ev_code = EFX_QWORD_FIELD(event, ESF_DZ_EV_CODE); in efx_ef10_ev_process()
2017 switch (ev_code) { in efx_ef10_ev_process()
2052 channel->channel, ev_code, in efx_ef10_ev_process()