Searched refs:indio_trig (Results 1 – 3 of 3) sorted by relevance
1006 struct iio_trigger *indio_trig; in kx022a_probe_internal() local1105 indio_trig = devm_iio_trigger_alloc(dev, "%sdata-rdy-dev%d", idev->name, in kx022a_probe_internal()1107 if (!indio_trig) in kx022a_probe_internal()1110 data->trig = indio_trig; in kx022a_probe_internal()1112 indio_trig->ops = &kx022a_trigger_ops; in kx022a_probe_internal()1113 iio_trigger_set_drvdata(indio_trig, data); in kx022a_probe_internal()1129 ret = devm_iio_trigger_register(dev, indio_trig); in kx022a_probe_internal()
877 if (data->triggers[i].indio_trig == trig) in bmc150_accel_validate_trigger()1410 iio_trigger_poll(data->triggers[i].indio_trig); in bmc150_accel_irq_handler()1447 if (data->triggers[i].indio_trig) { in bmc150_accel_unregister_triggers()1448 iio_trigger_unregister(data->triggers[i].indio_trig); in bmc150_accel_unregister_triggers()1449 data->triggers[i].indio_trig = NULL; in bmc150_accel_unregister_triggers()1463 t->indio_trig = devm_iio_trigger_alloc(dev, in bmc150_accel_triggers_setup()1467 if (!t->indio_trig) { in bmc150_accel_triggers_setup()1472 t->indio_trig->ops = &bmc150_accel_trigger_ops; in bmc150_accel_triggers_setup()1476 iio_trigger_set_drvdata(t->indio_trig, t); in bmc150_accel_triggers_setup()1478 ret = iio_trigger_register(t->indio_trig); in bmc150_accel_triggers_setup()
39 struct iio_trigger *indio_trig; member