Lines Matching refs:indio_trig
165 struct iio_trigger *indio_trig; member
763 if (data->triggers[i].indio_trig == trig) in bmc150_accel_validate_trigger()
1303 iio_trigger_poll(data->triggers[i].indio_trig); in bmc150_accel_irq_handler()
1340 if (data->triggers[i].indio_trig) { in bmc150_accel_unregister_triggers()
1341 iio_trigger_unregister(data->triggers[i].indio_trig); in bmc150_accel_unregister_triggers()
1342 data->triggers[i].indio_trig = NULL; in bmc150_accel_unregister_triggers()
1356 t->indio_trig = devm_iio_trigger_alloc(dev, in bmc150_accel_triggers_setup()
1360 if (!t->indio_trig) { in bmc150_accel_triggers_setup()
1365 t->indio_trig->dev.parent = dev; in bmc150_accel_triggers_setup()
1366 t->indio_trig->ops = &bmc150_accel_trigger_ops; in bmc150_accel_triggers_setup()
1370 iio_trigger_set_drvdata(t->indio_trig, t); in bmc150_accel_triggers_setup()
1372 ret = iio_trigger_register(t->indio_trig); in bmc150_accel_triggers_setup()