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->ops = &stk8ba50_trigger_ops; in stk8ba50_probe() 457 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8ba50_probe() 458 ret = iio_trigger_register(data->dready_trig); in stk8ba50_probe() 485 if (data->dready_trig) in stk8ba50_probe() 486 iio_trigger_unregister(data->dready_trig); in stk8ba50_probe() 500 if (data->dready_trig) in stk8ba50_remove() [all …]
|
D | mxc4005.c | 58 struct iio_trigger *dready_trig; member 361 if (!data->dready_trig) in mxc4005_trigger_reen() 437 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in mxc4005_probe() 441 if (!data->dready_trig) in mxc4005_probe() 450 data->dready_trig); in mxc4005_probe() 457 data->dready_trig->ops = &mxc4005_trigger_ops; in mxc4005_probe() 458 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in mxc4005_probe() 460 data->dready_trig); in mxc4005_probe() 467 indio_dev->trig = iio_trigger_get(data->dready_trig); in mxc4005_probe()
|
D | stk8312.c | 103 struct iio_trigger *dready_trig; member 477 iio_trigger_poll(data->dready_trig); in stk8312_data_rdy_trig_poll() 555 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in stk8312_probe() 559 if (!data->dready_trig) { in stk8312_probe() 564 data->dready_trig->ops = &stk8312_trigger_ops; in stk8312_probe() 565 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8312_probe() 566 ret = iio_trigger_register(data->dready_trig); in stk8312_probe() 593 if (data->dready_trig) in stk8312_probe() 594 iio_trigger_unregister(data->dready_trig); in stk8312_probe() 608 if (data->dready_trig) in stk8312_remove() [all …]
|
D | kxcjk-1013.c | 246 struct iio_trigger *dready_trig; member 1392 iio_trigger_poll(data->dready_trig); in kxcjk1013_data_rdy_trig_poll() 1536 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in kxcjk1013_probe() 1540 if (!data->dready_trig) { in kxcjk1013_probe() 1554 data->dready_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe() 1555 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in kxcjk1013_probe() 1556 ret = iio_trigger_register(data->dready_trig); in kxcjk1013_probe() 1560 indio_dev->trig = iio_trigger_get(data->dready_trig); in kxcjk1013_probe() 1603 if (data->dready_trig) in kxcjk1013_probe() 1604 iio_trigger_unregister(data->dready_trig); in kxcjk1013_probe() [all …]
|
D | adxl372.c | 285 struct iio_trigger *dready_trig; member 1131 if (st->dready_trig != trig && st->peak_datardy_trig != trig) in adxl372_validate_trigger() 1236 st->dready_trig = devm_iio_trigger_alloc(dev, in adxl372_probe() 1240 if (st->dready_trig == NULL) in adxl372_probe() 1250 st->dready_trig->ops = &adxl372_trigger_ops; in adxl372_probe() 1252 iio_trigger_set_drvdata(st->dready_trig, indio_dev); in adxl372_probe() 1254 ret = devm_iio_trigger_register(dev, st->dready_trig); in adxl372_probe() 1262 indio_dev->trig = iio_trigger_get(st->dready_trig); in adxl372_probe() 1268 indio_dev->name, st->dready_trig); in adxl372_probe()
|
/drivers/iio/magnetometer/ |
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() 924 data->dready_trig->ops = &bmc150_magn_trigger_ops; in bmc150_magn_probe() 925 iio_trigger_set_drvdata(data->dready_trig, indio_dev); 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() [all …]
|
/drivers/iio/gyro/ |
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()
|
D | bmg160_core.c | 97 struct iio_trigger *dready_trig; member 1029 iio_trigger_poll(data->dready_trig); in bmg160_data_rdy_trig_poll() 1140 data->dready_trig = devm_iio_trigger_alloc(dev, in bmg160_core_probe() 1144 if (!data->dready_trig) in bmg160_core_probe() 1154 data->dready_trig->ops = &bmg160_trigger_ops; in bmg160_core_probe() 1155 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in bmg160_core_probe() 1156 ret = iio_trigger_register(data->dready_trig); in bmg160_core_probe() 1202 if (data->dready_trig) in bmg160_core_probe() 1203 iio_trigger_unregister(data->dready_trig); in bmg160_core_probe() 1224 if (data->dready_trig) { in bmg160_core_remove() [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->ops = &fxas21002c_trigger_ops; in fxas21002c_trigger_probe() 874 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in fxas21002c_trigger_probe() 876 return devm_iio_trigger_register(dev, data->dready_trig); in fxas21002c_trigger_probe()
|