Home
last modified time | relevance | path

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

/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_trigger.c245 u64 ev_code; in inv_mpu6050_interrupt_handle() local
285 ev_code = IIO_MOD_EVENT_CODE(IIO_ACCEL, 0, IIO_MOD_X_OR_Y_OR_Z, in inv_mpu6050_interrupt_handle()
287 iio_push_event(indio_dev, ev_code, st->it_timestamp); in inv_mpu6050_interrupt_handle()
/linux/drivers/iio/light/
H A Dapds9306.c469 u64 ev_code; in apds9306_read_data() local
520 ev_code = IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in apds9306_read_data()
524 ev_code = IIO_MOD_EVENT_CODE(IIO_INTENSITY, 0, in apds9306_read_data()
529 iio_push_event(indio_dev, ev_code, iio_get_time_ns(indio_dev)); in apds9306_read_data()
935 u64 ev_code; in apds9306_irq_handler() local
955 ev_code = IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in apds9306_irq_handler()
959 ev_code = IIO_MOD_EVENT_CODE(IIO_INTENSITY, 0, in apds9306_irq_handler()
964 iio_push_event(indio_dev, ev_code, iio_get_time_ns(indio_dev)); in apds9306_irq_handler()
/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
/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()
/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_accel.c486 u64 ev_code; in inv_icm42600_accel_handle_events() local
490 ev_code = IIO_MOD_EVENT_CODE(IIO_ACCEL, 0, IIO_MOD_X_OR_Y_OR_Z, in inv_icm42600_accel_handle_events()
492 iio_push_event(indio_dev, ev_code, timestamp); in inv_icm42600_accel_handle_events()
/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()
/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()
/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()