Home
last modified time | relevance | path

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

/drivers/iio/gyro/
Dbmg160_core.c97 struct iio_trigger *motion_trig; member
944 if (data->motion_trig == trig) in bmg160_data_rdy_trigger_set_state()
953 if (data->motion_trig == trig) in bmg160_data_rdy_trigger_set_state()
1030 iio_trigger_poll(data->motion_trig); in bmg160_data_rdy_trig_poll()
1129 data->motion_trig = devm_iio_trigger_alloc(dev, in bmg160_core_probe()
1133 if (!data->motion_trig) in bmg160_core_probe()
1142 data->motion_trig->ops = &bmg160_trigger_ops; in bmg160_core_probe()
1143 iio_trigger_set_drvdata(data->motion_trig, indio_dev); in bmg160_core_probe()
1144 ret = iio_trigger_register(data->motion_trig); in bmg160_core_probe()
1146 data->motion_trig = NULL; in bmg160_core_probe()
[all …]
/drivers/iio/accel/
Dkxcjk-1013.c246 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()
1529 data->motion_trig = devm_iio_trigger_alloc(&client->dev, in kxcjk1013_probe()
1533 if (!data->motion_trig) { in kxcjk1013_probe()
1546 data->motion_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe()
1547 iio_trigger_set_drvdata(data->motion_trig, indio_dev); in kxcjk1013_probe()
1548 ret = iio_trigger_register(data->motion_trig); in kxcjk1013_probe()
1550 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()