Searched refs:dready_trig (Results 1 – 9 of 9) sorted by relevance
/drivers/iio/accel/ |
D | stk8ba50.c | 92 struct iio_trigger *dready_trig; member 357 iio_trigger_poll(data->dready_trig); in stk8ba50_data_rdy_trig_poll() 447 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in stk8ba50_probe() 451 if (!data->dready_trig) { in stk8ba50_probe() 456 data->dready_trig->dev.parent = &client->dev; in stk8ba50_probe() 457 data->dready_trig->ops = &stk8ba50_trigger_ops; in stk8ba50_probe() 458 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8ba50_probe() 459 ret = iio_trigger_register(data->dready_trig); in stk8ba50_probe() 486 if (data->dready_trig) in stk8ba50_probe() 487 iio_trigger_unregister(data->dready_trig); in stk8ba50_probe() [all …]
|
D | mxc4005.c | 58 struct iio_trigger *dready_trig; member 365 if (!data->dready_trig) in mxc4005_trigger_try_reen() 441 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in mxc4005_probe() 445 if (!data->dready_trig) in mxc4005_probe() 454 data->dready_trig); in mxc4005_probe() 461 data->dready_trig->dev.parent = &client->dev; in mxc4005_probe() 462 data->dready_trig->ops = &mxc4005_trigger_ops; in mxc4005_probe() 463 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in mxc4005_probe() 465 data->dready_trig); in mxc4005_probe() 472 indio_dev->trig = iio_trigger_get(data->dready_trig); in mxc4005_probe()
|
D | stk8312.c | 104 struct iio_trigger *dready_trig; member 478 iio_trigger_poll(data->dready_trig); in stk8312_data_rdy_trig_poll() 556 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in stk8312_probe() 560 if (!data->dready_trig) { in stk8312_probe() 565 data->dready_trig->dev.parent = &client->dev; in stk8312_probe() 566 data->dready_trig->ops = &stk8312_trigger_ops; in stk8312_probe() 567 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8312_probe() 568 ret = iio_trigger_register(data->dready_trig); in stk8312_probe() 595 if (data->dready_trig) in stk8312_probe() 596 iio_trigger_unregister(data->dready_trig); in stk8312_probe() [all …]
|
D | kxcjk-1013.c | 144 struct iio_trigger *dready_trig; member 1281 iio_trigger_poll(data->dready_trig); in kxcjk1013_data_rdy_trig_poll() 1374 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in kxcjk1013_probe() 1378 if (!data->dready_trig) { in kxcjk1013_probe() 1392 data->dready_trig->dev.parent = &client->dev; in kxcjk1013_probe() 1393 data->dready_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe() 1394 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in kxcjk1013_probe() 1395 indio_dev->trig = data->dready_trig; in kxcjk1013_probe() 1397 ret = iio_trigger_register(data->dready_trig); in kxcjk1013_probe() 1443 if (data->dready_trig) in kxcjk1013_probe() [all …]
|
D | adxl372.c | 285 struct iio_trigger *dready_trig; member 1118 if (st->dready_trig != trig && st->peak_datardy_trig != trig) in adxl372_validate_trigger() 1224 st->dready_trig = devm_iio_trigger_alloc(dev, in adxl372_probe() 1228 if (st->dready_trig == NULL) in adxl372_probe() 1238 st->dready_trig->ops = &adxl372_trigger_ops; in adxl372_probe() 1240 st->dready_trig->dev.parent = dev; in adxl372_probe() 1242 iio_trigger_set_drvdata(st->dready_trig, indio_dev); in adxl372_probe() 1244 ret = devm_iio_trigger_register(dev, st->dready_trig); in adxl372_probe() 1252 indio_dev->trig = iio_trigger_get(st->dready_trig); in adxl372_probe() 1258 indio_dev->name, st->dready_trig); in adxl372_probe()
|
/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 144 struct iio_trigger *dready_trig; member 892 data->dready_trig = devm_iio_trigger_alloc(dev, in bmc150_magn_probe() 896 if (!data->dready_trig) { in bmc150_magn_probe() 902 data->dready_trig->dev.parent = dev; in bmc150_magn_probe() 903 data->dready_trig->ops = &bmc150_magn_trigger_ops; in bmc150_magn_probe() 904 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in bmc150_magn_probe() 905 ret = iio_trigger_register(data->dready_trig); in bmc150_magn_probe() 916 data->dready_trig); in bmc150_magn_probe() 957 free_irq(irq, data->dready_trig); in bmc150_magn_probe() 959 if (data->dready_trig) in bmc150_magn_probe() [all …]
|
/drivers/iio/gyro/ |
D | adxrs290.c | 74 struct iio_trigger *dready_trig; member 593 st->dready_trig = devm_iio_trigger_alloc(&st->spi->dev, "%s-dev%d", in adxrs290_probe_trigger() 596 if (!st->dready_trig) in adxrs290_probe_trigger() 599 st->dready_trig->dev.parent = &st->spi->dev; in adxrs290_probe_trigger() 600 st->dready_trig->ops = &adxrs290_trigger_ops; in adxrs290_probe_trigger() 601 iio_trigger_set_drvdata(st->dready_trig, indio_dev); in adxrs290_probe_trigger() 605 IRQF_ONESHOT, "adxrs290_irq", st->dready_trig); in adxrs290_probe_trigger() 610 ret = devm_iio_trigger_register(&st->spi->dev, st->dready_trig); in adxrs290_probe_trigger() 616 indio_dev->trig = iio_trigger_get(st->dready_trig); in adxrs290_probe_trigger()
|
D | bmg160_core.c | 95 struct iio_trigger *dready_trig; member 1031 iio_trigger_poll(data->dready_trig); in bmg160_data_rdy_trig_poll() 1120 data->dready_trig = devm_iio_trigger_alloc(dev, in bmg160_core_probe() 1124 if (!data->dready_trig) in bmg160_core_probe() 1134 data->dready_trig->dev.parent = dev; in bmg160_core_probe() 1135 data->dready_trig->ops = &bmg160_trigger_ops; in bmg160_core_probe() 1136 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in bmg160_core_probe() 1137 ret = iio_trigger_register(data->dready_trig); in bmg160_core_probe() 1184 if (data->dready_trig) in bmg160_core_probe() 1185 iio_trigger_unregister(data->dready_trig); in bmg160_core_probe() [all …]
|
D | fxas21002c_core.c | 145 struct iio_trigger *dready_trig; member 816 iio_trigger_poll_chained(data->dready_trig); in fxas21002c_data_rdy_thread() 848 data->dready_trig = devm_iio_trigger_alloc(dev, "%s-dev%d", in fxas21002c_trigger_probe() 851 if (!data->dready_trig) in fxas21002c_trigger_probe() 873 data->dready_trig->dev.parent = dev; in fxas21002c_trigger_probe() 874 data->dready_trig->ops = &fxas21002c_trigger_ops; in fxas21002c_trigger_probe() 875 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in fxas21002c_trigger_probe() 877 return devm_iio_trigger_register(dev, data->dready_trig); in fxas21002c_trigger_probe()
|