Searched refs:dready_trig (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/iio/accel/ |
D | mxc4005.c | 66 struct iio_trigger *dready_trig; member 369 if (!data->dready_trig) in mxc4005_trigger_try_reen() 446 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in mxc4005_probe() 450 if (!data->dready_trig) in mxc4005_probe() 459 data->dready_trig); in mxc4005_probe() 466 data->dready_trig->dev.parent = &client->dev; in mxc4005_probe() 467 data->dready_trig->ops = &mxc4005_trigger_ops; in mxc4005_probe() 468 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in mxc4005_probe() 469 indio_dev->trig = data->dready_trig; in mxc4005_probe() 471 ret = iio_trigger_register(data->dready_trig); in mxc4005_probe() [all …]
|
D | stk8ba50.c | 95 struct iio_trigger *dready_trig; member 361 iio_trigger_poll(data->dready_trig); in stk8ba50_data_rdy_trig_poll() 454 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in stk8ba50_probe() 458 if (!data->dready_trig) { in stk8ba50_probe() 463 data->dready_trig->dev.parent = &client->dev; in stk8ba50_probe() 464 data->dready_trig->ops = &stk8ba50_trigger_ops; in stk8ba50_probe() 465 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8ba50_probe() 466 ret = iio_trigger_register(data->dready_trig); in stk8ba50_probe() 493 if (data->dready_trig) in stk8ba50_probe() 494 iio_trigger_unregister(data->dready_trig); in stk8ba50_probe() [all …]
|
D | stk8312.c | 107 struct iio_trigger *dready_trig; member 477 iio_trigger_poll(data->dready_trig); in stk8312_data_rdy_trig_poll() 558 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in stk8312_probe() 562 if (!data->dready_trig) { in stk8312_probe() 567 data->dready_trig->dev.parent = &client->dev; in stk8312_probe() 568 data->dready_trig->ops = &stk8312_trigger_ops; in stk8312_probe() 569 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in stk8312_probe() 570 ret = iio_trigger_register(data->dready_trig); in stk8312_probe() 597 if (data->dready_trig) in stk8312_probe() 598 iio_trigger_unregister(data->dready_trig); in stk8312_probe() [all …]
|
D | kxcjk-1013.c | 139 struct iio_trigger *dready_trig; member 1232 iio_trigger_poll(data->dready_trig); in kxcjk1013_data_rdy_trig_poll() 1317 data->dready_trig = devm_iio_trigger_alloc(&client->dev, in kxcjk1013_probe() 1321 if (!data->dready_trig) { in kxcjk1013_probe() 1335 data->dready_trig->dev.parent = &client->dev; in kxcjk1013_probe() 1336 data->dready_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe() 1337 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in kxcjk1013_probe() 1338 indio_dev->trig = data->dready_trig; in kxcjk1013_probe() 1340 ret = iio_trigger_register(data->dready_trig); in kxcjk1013_probe() 1381 if (data->dready_trig) in kxcjk1013_probe() [all …]
|
/Linux-v4.19/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 148 struct iio_trigger *dready_trig; member 882 data->dready_trig = devm_iio_trigger_alloc(dev, in bmc150_magn_probe() 886 if (!data->dready_trig) { in bmc150_magn_probe() 892 data->dready_trig->dev.parent = dev; in bmc150_magn_probe() 893 data->dready_trig->ops = &bmc150_magn_trigger_ops; in bmc150_magn_probe() 894 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in bmc150_magn_probe() 895 ret = iio_trigger_register(data->dready_trig); in bmc150_magn_probe() 906 data->dready_trig); in bmc150_magn_probe() 944 free_irq(irq, data->dready_trig); in bmc150_magn_probe() 946 if (data->dready_trig) in bmc150_magn_probe() [all …]
|
/Linux-v4.19/drivers/iio/gyro/ |
D | bmg160_core.c | 103 struct iio_trigger *dready_trig; member 1019 iio_trigger_poll(data->dready_trig); in bmg160_data_rdy_trig_poll() 1106 data->dready_trig = devm_iio_trigger_alloc(dev, in bmg160_core_probe() 1110 if (!data->dready_trig) in bmg160_core_probe() 1120 data->dready_trig->dev.parent = dev; in bmg160_core_probe() 1121 data->dready_trig->ops = &bmg160_trigger_ops; in bmg160_core_probe() 1122 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in bmg160_core_probe() 1123 ret = iio_trigger_register(data->dready_trig); in bmg160_core_probe() 1167 if (data->dready_trig) in bmg160_core_probe() 1168 iio_trigger_unregister(data->dready_trig); in bmg160_core_probe() [all …]
|