/linux/drivers/iio/accel/ |
H A D | stk8ba50.c | 92 struct iio_trigger *dready_trig; member 357 iio_trigger_poll(data->dready_trig); in stk8ba50_data_rdy_trig_poll() 446 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in stk8ba50_probe() 450 if (!data->dready_trig) { in stk8ba50_probe() 455 data->dready_trig->ops = &stk8ba50_trigger_ops; in stk8ba50_probe() 456 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8ba50_probe() 457 ret = iio_trigger_register(data->dready_trig); in stk8ba50_probe() 484 if (data->dready_trig) in stk8ba50_probe() 485 iio_trigger_unregister(data->dready_trig); in stk8ba50_probe() 499 if (data->dready_trig) in stk8ba50_remove() [all …]
|
H A D | stk8312.c | 103 struct iio_trigger *dready_trig; member 476 iio_trigger_poll(data->dready_trig); in stk8312_data_rdy_trig_poll() 553 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in stk8312_probe() 557 if (!data->dready_trig) { in stk8312_probe() 562 data->dready_trig->ops = &stk8312_trigger_ops; in stk8312_probe() 563 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8312_probe() 564 ret = iio_trigger_register(data->dready_trig); in stk8312_probe() 591 if (data->dready_trig) in stk8312_probe() 592 iio_trigger_unregister(data->dready_trig); in stk8312_probe() 606 if (data->dready_trig) in stk8312_remove() [all …]
|
H A D | mxc4005.c | 67 struct iio_trigger *dready_trig; member 387 if (!data->dready_trig) in mxc4005_trigger_reen() 483 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in mxc4005_probe() 487 if (!data->dready_trig) in mxc4005_probe() 496 data->dready_trig); in mxc4005_probe() 503 data->dready_trig->ops = &mxc4005_trigger_ops; in mxc4005_probe() 504 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in mxc4005_probe() 506 data->dready_trig); in mxc4005_probe() 513 indio_dev->trig = iio_trigger_get(data->dready_trig); in mxc4005_probe()
|
H A D | adxl355_core.c | 229 struct iio_trigger *dready_trig; member 728 data->dready_trig = devm_iio_trigger_alloc(data->dev, "%s-dev%d", in adxl355_probe_trigger() 731 if (!data->dready_trig) in adxl355_probe_trigger() 734 data->dready_trig->ops = &adxl355_trigger_ops; in adxl355_probe_trigger() 735 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in adxl355_probe_trigger() 739 IRQF_ONESHOT, "adxl355_irq", data->dready_trig); in adxl355_probe_trigger() 744 ret = devm_iio_trigger_register(data->dev, data->dready_trig); in adxl355_probe_trigger() 750 indio_dev->trig = iio_trigger_get(data->dready_trig); in adxl355_probe_trigger()
|
H A D | kxcjk-1013.c | 246 struct iio_trigger *dready_trig; member 1410 iio_trigger_poll(data->dready_trig); in kxcjk1013_data_rdy_trig_poll() 1546 if (!data->dready_trig) { in kxcjk1013_probe() 1560 data->dready_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe() 1561 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in kxcjk1013_probe() 1562 ret = iio_trigger_register(data->dready_trig); in kxcjk1013_probe() 1566 indio_dev->trig = iio_trigger_get(data->dready_trig); in kxcjk1013_probe() 1609 if (data->dready_trig) in kxcjk1013_probe() 1610 iio_trigger_unregister(data->dready_trig); in kxcjk1013_probe() 1630 if (data->dready_trig) { in kxcjk1013_remove() [all …]
|
H A 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 iio_trigger_set_drvdata(st->dready_trig, indio_dev); in adxl372_probe() 1242 ret = devm_iio_trigger_register(dev, st->dready_trig); in adxl372_probe() 1250 indio_dev->trig = iio_trigger_get(st->dready_trig); in adxl372_probe() 1256 indio_dev->name, st->dready_trig); in adxl372_probe()
|
/linux/drivers/iio/magnetometer/ |
H A D | bmc150_magn.c | 146 struct iio_trigger *dready_trig; member 914 data->dready_trig = devm_iio_trigger_alloc(dev, in bmc150_magn_probe() 918 if (!data->dready_trig) { in bmc150_magn_probe() 926 ret = iio_trigger_register(data->dready_trig); in bmc150_magn_probe() 937 data->dready_trig); in bmc150_magn_probe() 978 free_irq(irq, data->dready_trig); in bmc150_magn_probe() 980 if (data->dready_trig) in bmc150_magn_probe() 981 iio_trigger_unregister(data->dready_trig); in bmc150_magn_probe() 1001 free_irq(data->irq, data->dready_trig); in bmc150_magn_remove() 1003 if (data->dready_trig) in bmc150_magn_remove() [all …]
|
/linux/drivers/iio/gyro/ |
H A D | adxrs290.c | 74 struct iio_trigger *dready_trig; member 591 st->dready_trig = devm_iio_trigger_alloc(&st->spi->dev, "%s-dev%d", in adxrs290_probe_trigger() 594 if (!st->dready_trig) in adxrs290_probe_trigger() 597 st->dready_trig->ops = &adxrs290_trigger_ops; in adxrs290_probe_trigger() 598 iio_trigger_set_drvdata(st->dready_trig, indio_dev); in adxrs290_probe_trigger() 602 IRQF_ONESHOT, "adxrs290_irq", st->dready_trig); in adxrs290_probe_trigger() 607 ret = devm_iio_trigger_register(&st->spi->dev, st->dready_trig); in adxrs290_probe_trigger() 613 indio_dev->trig = iio_trigger_get(st->dready_trig); in adxrs290_probe_trigger()
|
H A D | bmg160_core.c | 96 struct iio_trigger *dready_trig; member 1028 iio_trigger_poll(data->dready_trig); in bmg160_data_rdy_trig_poll() 1122 data->dready_trig = devm_iio_trigger_alloc(dev, in bmg160_core_probe() 1126 if (!data->dready_trig) in bmg160_core_probe() 1136 data->dready_trig->ops = &bmg160_trigger_ops; in bmg160_core_probe() 1137 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in bmg160_core_probe() 1138 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() 1206 if (data->dready_trig) { in bmg160_core_remove() [all …]
|
H A D | fxas21002c_core.c | 145 struct iio_trigger *dready_trig; member 816 iio_trigger_poll_nested(data->dready_trig); in fxas21002c_data_rdy_thread() 846 data->dready_trig = devm_iio_trigger_alloc(dev, "%s-dev%d", in fxas21002c_trigger_probe() 849 if (!data->dready_trig) in fxas21002c_trigger_probe() 871 data->dready_trig->ops = &fxas21002c_trigger_ops; in fxas21002c_trigger_probe() 872 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in fxas21002c_trigger_probe() 874 return devm_iio_trigger_register(dev, data->dready_trig); in fxas21002c_trigger_probe()
|