Home
last modified time | relevance | path

Searched refs:motion_trig (Results 1 – 3 of 3) sorted by relevance

/drivers/iio/gyro/
Dbmg160_core.c98 struct iio_trigger *motion_trig; member
945 if (data->motion_trig == trig) in bmg160_data_rdy_trigger_set_state()
954 if (data->motion_trig == trig) in bmg160_data_rdy_trigger_set_state()
1031 iio_trigger_poll(data->motion_trig); in bmg160_data_rdy_trig_poll()
1147 data->motion_trig = devm_iio_trigger_alloc(dev, in bmg160_core_probe()
1151 if (!data->motion_trig) in bmg160_core_probe()
1160 data->motion_trig->ops = &bmg160_trigger_ops; in bmg160_core_probe()
1161 iio_trigger_set_drvdata(data->motion_trig, indio_dev); in bmg160_core_probe()
1162 ret = iio_trigger_register(data->motion_trig); in bmg160_core_probe()
1164 data->motion_trig = NULL; in bmg160_core_probe()
[all …]
/drivers/iio/accel/
Dkxcjk-1013.c247 struct iio_trigger *motion_trig; member
1259 if (data->motion_trig == trig) in kxcjk1013_data_rdy_trigger_set_state()
1268 if (data->motion_trig == trig) in kxcjk1013_data_rdy_trigger_set_state()
1394 iio_trigger_poll(data->motion_trig); in kxcjk1013_data_rdy_trig_poll()
1545 data->motion_trig = devm_iio_trigger_alloc(&client->dev, in kxcjk1013_probe()
1549 if (!data->motion_trig) { in kxcjk1013_probe()
1562 data->motion_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe()
1563 iio_trigger_set_drvdata(data->motion_trig, indio_dev); in kxcjk1013_probe()
1564 ret = iio_trigger_register(data->motion_trig); in kxcjk1013_probe()
1566 data->motion_trig = NULL; in kxcjk1013_probe()
[all …]
/drivers/iio/imu/
Dkmx61.c138 struct iio_trigger *motion_trig; member
982 if (data->acc_dready_trig != trig && data->motion_trig != trig) in kmx61_acc_validate_trigger()
1034 if (data->acc_dready_trig == trig || data->motion_trig == trig) in kmx61_data_rdy_trigger_set_state()
1181 iio_trigger_poll(data->motion_trig); in kmx61_data_rdy_trig_poll()
1348 data->motion_trig = in kmx61_probe()
1351 if (IS_ERR(data->motion_trig)) { in kmx61_probe()
1352 ret = PTR_ERR(data->motion_trig); in kmx61_probe()
1411 iio_trigger_unregister(data->motion_trig); in kmx61_probe()
1436 iio_trigger_unregister(data->motion_trig); in kmx61_remove()