Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
/linux-6.12.1/drivers/iio/accel/
Dkxcjk-1013.c247 struct iio_trigger *motion_trig; member
1277 if (data->motion_trig == trig) in kxcjk1013_data_rdy_trigger_set_state()
1286 if (data->motion_trig == trig) in kxcjk1013_data_rdy_trigger_set_state()
1412 iio_trigger_poll(data->motion_trig); in kxcjk1013_data_rdy_trig_poll()
1551 data->motion_trig = devm_iio_trigger_alloc(&client->dev, in kxcjk1013_probe()
1555 if (!data->motion_trig) { in kxcjk1013_probe()
1568 data->motion_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe()
1569 iio_trigger_set_drvdata(data->motion_trig, indio_dev); in kxcjk1013_probe()
1570 ret = iio_trigger_register(data->motion_trig); in kxcjk1013_probe()
1572 data->motion_trig = NULL; in kxcjk1013_probe()
[all …]
/linux-6.12.1/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()
1347 data->motion_trig = in kmx61_probe()
1350 if (IS_ERR(data->motion_trig)) { in kmx61_probe()
1351 ret = PTR_ERR(data->motion_trig); in kmx61_probe()
1410 iio_trigger_unregister(data->motion_trig); in kmx61_probe()
1435 iio_trigger_unregister(data->motion_trig); in kmx61_remove()