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

/drivers/bus/
H A Darm-cci.c216 static int pmu_is_valid_slave_event(u8 ev_code) argument
218 return pmu->port_ranges->slave_min <= ev_code &&
219 ev_code <= pmu->port_ranges->slave_max;
222 static int pmu_is_valid_master_event(u8 ev_code) argument
224 return pmu->port_ranges->master_min <= ev_code &&
225 ev_code <= pmu->port_ranges->master_max;
231 u8 ev_code = CCI_PMU_EVENT_CODE(hw_event); local
240 if (pmu_is_valid_slave_event(ev_code))
247 if (pmu_is_valid_master_event(ev_code))
/drivers/iio/light/
H A Dcm36651.c239 u64 ev_code; local
267 ev_code = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY,
271 iio_push_event(indio_dev, ev_code, iio_get_time_ns());
/drivers/iio/
H A Dindustrialio-event.c49 * @ev_code: What event
55 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp) argument
64 ev.id = ev_code;
/drivers/net/ethernet/sfc/
H A Dfarch.c1269 int ev_code; local
1295 ev_code = EFX_QWORD_FIELD(event, FSF_AZ_EV_CODE);
1297 switch (ev_code) {
1332 ev_code, EFX_QWORD_VAL(event));
H A Def10.c1973 int ev_code; local
1993 ev_code = EFX_QWORD_FIELD(event, ESF_DZ_EV_CODE);
1999 switch (ev_code) {
2034 channel->channel, ev_code,

Completed in 542 milliseconds