Searched refs:indio_trig (Results 1 – 3 of 3) sorted by relevance
837 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()
1241 struct iio_trigger *indio_trig; in kx022a_probe_internal() local1339 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()
39 struct iio_trigger *indio_trig; member