Home
last modified time | relevance | path

Searched refs:indio_trig (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/accel/
H A Dbmc150-accel-core.c837 if (data->triggers[i].indio_trig == trig) in bmc150_accel_validate_trigger()
1369 iio_trigger_poll(data->triggers[i].indio_trig); in bmc150_accel_irq_handler()
1406 if (data->triggers[i].indio_trig) { in bmc150_accel_unregister_triggers()
1407 iio_trigger_unregister(data->triggers[i].indio_trig); in bmc150_accel_unregister_triggers()
1408 data->triggers[i].indio_trig = NULL; in bmc150_accel_unregister_triggers()
1422 t->indio_trig = devm_iio_trigger_alloc(dev, in bmc150_accel_triggers_setup()
1426 if (!t->indio_trig) { in bmc150_accel_triggers_setup()
1431 t->indio_trig->ops = &bmc150_accel_trigger_ops; in bmc150_accel_triggers_setup()
1435 iio_trigger_set_drvdata(t->indio_trig, t); in bmc150_accel_triggers_setup()
1437 ret = iio_trigger_register(t->indio_trig); in bmc150_accel_triggers_setup()
H A Dkionix-kx022a.c1241 struct iio_trigger *indio_trig; in kx022a_probe_internal() local
1339 indio_trig = devm_iio_trigger_alloc(dev, "%sdata-rdy-dev%d", idev->name, in kx022a_probe_internal()
1341 if (!indio_trig) in kx022a_probe_internal()
1344 data->trig = indio_trig; in kx022a_probe_internal()
1346 indio_trig->ops = &kx022a_trigger_ops; in kx022a_probe_internal()
1347 iio_trigger_set_drvdata(indio_trig, data); in kx022a_probe_internal()
1362 ret = devm_iio_trigger_register(dev, indio_trig); in kx022a_probe_internal()
H A Dbmc150-accel.h39 struct iio_trigger *indio_trig; member