Searched refs:dready_trig (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/iio/accel/ |
H A D | mxc4005.c | 67 struct iio_trigger *dready_trig; member in struct:mxc4005_data 371 if (!data->dready_trig) mxc4005_trigger_try_reen() 477 data->dready_trig = devm_iio_trigger_alloc(&client->dev, mxc4005_probe() 481 if (!data->dready_trig) mxc4005_probe() 490 data->dready_trig); mxc4005_probe() 497 data->dready_trig->dev.parent = &client->dev; mxc4005_probe() 498 data->dready_trig->ops = &mxc4005_trigger_ops; mxc4005_probe() 499 iio_trigger_set_drvdata(data->dready_trig, indio_dev); mxc4005_probe() 500 indio_dev->trig = data->dready_trig; mxc4005_probe() 502 ret = iio_trigger_register(data->dready_trig); mxc4005_probe() 520 iio_trigger_unregister(data->dready_trig); mxc4005_probe() 535 if (data->dready_trig) mxc4005_remove() 536 iio_trigger_unregister(data->dready_trig); mxc4005_remove()
|
H A D | stk8ba50.c | 96 struct iio_trigger *dready_trig; member in struct:stk8ba50_data 364 iio_trigger_poll(data->dready_trig); stk8ba50_data_rdy_trig_poll() 457 data->dready_trig = devm_iio_trigger_alloc(&client->dev, stk8ba50_probe() 461 if (!data->dready_trig) { stk8ba50_probe() 466 data->dready_trig->dev.parent = &client->dev; stk8ba50_probe() 467 data->dready_trig->ops = &stk8ba50_trigger_ops; stk8ba50_probe() 468 iio_trigger_set_drvdata(data->dready_trig, indio_dev); stk8ba50_probe() 469 ret = iio_trigger_register(data->dready_trig); stk8ba50_probe() 496 if (data->dready_trig) stk8ba50_probe() 497 iio_trigger_unregister(data->dready_trig); stk8ba50_probe() 511 if (data->dready_trig) stk8ba50_remove() 512 iio_trigger_unregister(data->dready_trig); stk8ba50_remove()
|
H A D | stk8312.c | 108 struct iio_trigger *dready_trig; member in struct:stk8312_data 480 iio_trigger_poll(data->dready_trig); stk8312_data_rdy_trig_poll() 561 data->dready_trig = devm_iio_trigger_alloc(&client->dev, stk8312_probe() 565 if (!data->dready_trig) { stk8312_probe() 570 data->dready_trig->dev.parent = &client->dev; stk8312_probe() 571 data->dready_trig->ops = &stk8312_trigger_ops; stk8312_probe() 572 iio_trigger_set_drvdata(data->dready_trig, indio_dev); stk8312_probe() 573 ret = iio_trigger_register(data->dready_trig); stk8312_probe() 600 if (data->dready_trig) stk8312_probe() 601 iio_trigger_unregister(data->dready_trig); stk8312_probe() 615 if (data->dready_trig) stk8312_remove() 616 iio_trigger_unregister(data->dready_trig); stk8312_remove()
|
H A D | kxcjk-1013.c | 97 struct iio_trigger *dready_trig; member in struct:kxcjk1013_data 1137 iio_trigger_poll(data->dready_trig); kxcjk1013_data_rdy_trig_poll() 1221 data->dready_trig = devm_iio_trigger_alloc(&client->dev, kxcjk1013_probe() 1225 if (!data->dready_trig) { kxcjk1013_probe() 1239 data->dready_trig->dev.parent = &client->dev; kxcjk1013_probe() 1240 data->dready_trig->ops = &kxcjk1013_trigger_ops; kxcjk1013_probe() 1241 iio_trigger_set_drvdata(data->dready_trig, indio_dev); kxcjk1013_probe() 1242 indio_dev->trig = data->dready_trig; kxcjk1013_probe() 1244 ret = iio_trigger_register(data->dready_trig); kxcjk1013_probe() 1287 if (data->dready_trig) kxcjk1013_probe() 1290 if (data->dready_trig) kxcjk1013_probe() 1291 iio_trigger_unregister(data->dready_trig); kxcjk1013_probe() 1311 if (data->dready_trig) { kxcjk1013_remove() 1313 iio_trigger_unregister(data->dready_trig); kxcjk1013_remove()
|
/linux-4.4.14/drivers/iio/magnetometer/ |
H A D | bmc150_magn.c | 147 struct iio_trigger *dready_trig; member in struct:bmc150_magn_data 889 data->dready_trig = devm_iio_trigger_alloc(&client->dev, bmc150_magn_probe() 893 if (!data->dready_trig) { bmc150_magn_probe() 899 data->dready_trig->dev.parent = &client->dev; bmc150_magn_probe() 900 data->dready_trig->ops = &bmc150_magn_trigger_ops; bmc150_magn_probe() 901 iio_trigger_set_drvdata(data->dready_trig, indio_dev); bmc150_magn_probe() 902 ret = iio_trigger_register(data->dready_trig); bmc150_magn_probe() 913 data->dready_trig); bmc150_magn_probe() 956 free_irq(client->irq, data->dready_trig); bmc150_magn_probe() 958 if (data->dready_trig) bmc150_magn_probe() 959 iio_trigger_unregister(data->dready_trig); bmc150_magn_probe() 978 free_irq(data->client->irq, data->dready_trig); bmc150_magn_remove() 980 if (data->dready_trig) bmc150_magn_remove() 981 iio_trigger_unregister(data->dready_trig); bmc150_magn_remove()
|
/linux-4.4.14/drivers/iio/gyro/ |
H A D | bmg160_core.c | 102 struct iio_trigger *dready_trig; member in struct:bmg160_data 927 iio_trigger_poll(data->dready_trig); bmg160_data_rdy_trig_poll() 1040 data->dready_trig = devm_iio_trigger_alloc(dev, bmg160_core_probe() 1044 if (!data->dready_trig) bmg160_core_probe() 1054 data->dready_trig->dev.parent = dev; bmg160_core_probe() 1055 data->dready_trig->ops = &bmg160_trigger_ops; bmg160_core_probe() 1056 iio_trigger_set_drvdata(data->dready_trig, indio_dev); bmg160_core_probe() 1057 ret = iio_trigger_register(data->dready_trig); bmg160_core_probe() 1103 if (data->dready_trig) bmg160_core_probe() 1104 iio_trigger_unregister(data->dready_trig); bmg160_core_probe() 1124 if (data->dready_trig) { bmg160_core_remove() 1125 iio_trigger_unregister(data->dready_trig); bmg160_core_remove()
|
Completed in 171 milliseconds