Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/gyro/
H A 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()
1133 if (!data->motion_trig) in bmg160_core_probe()
1142 data->motion_trig->ops = &bmg160_trigger_ops; 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()
1186 if (data->motion_trig) in bmg160_core_probe()
1187 iio_trigger_unregister(data->motion_trig); in bmg160_core_probe()
[all …]
/openbmc/linux/drivers/iio/accel/
H A 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()
1533 if (!data->motion_trig) { in kxcjk1013_probe()
1546 data->motion_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe()
1548 ret = iio_trigger_register(data->motion_trig); in kxcjk1013_probe()
1550 data->motion_trig = NULL; in kxcjk1013_probe()
1589 if (data->motion_trig) in kxcjk1013_probe()
1590 iio_trigger_unregister(data->motion_trig); in kxcjk1013_probe()
[all …]
/openbmc/linux/drivers/iio/imu/
H A 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()