Searched refs:motion_trig (Results 1 – 3 of 3) sorted by relevance
96 struct iio_trigger *motion_trig; member943 if (data->motion_trig == trig) in bmg160_data_rdy_trigger_set_state()952 if (data->motion_trig == trig) in bmg160_data_rdy_trigger_set_state()1029 iio_trigger_poll(data->motion_trig); in bmg160_data_rdy_trig_poll()1123 data->motion_trig = devm_iio_trigger_alloc(dev, in bmg160_core_probe()1127 if (!data->motion_trig) in bmg160_core_probe()1137 data->motion_trig->dev.parent = dev; in bmg160_core_probe()1138 data->motion_trig->ops = &bmg160_trigger_ops; in bmg160_core_probe()1139 iio_trigger_set_drvdata(data->motion_trig, indio_dev); in bmg160_core_probe()1140 ret = iio_trigger_register(data->motion_trig); in bmg160_core_probe()[all …]
138 struct iio_trigger *motion_trig; member1143 if (data->motion_trig == trig) in kxcjk1013_data_rdy_trigger_set_state()1152 if (data->motion_trig == trig) in kxcjk1013_data_rdy_trigger_set_state()1279 iio_trigger_poll(data->motion_trig); in kxcjk1013_data_rdy_trig_poll()1379 data->motion_trig = devm_iio_trigger_alloc(&client->dev, in kxcjk1013_probe()1383 if (!data->motion_trig) { in kxcjk1013_probe()1397 data->motion_trig->dev.parent = &client->dev; in kxcjk1013_probe()1398 data->motion_trig->ops = &kxcjk1013_trigger_ops; in kxcjk1013_probe()1399 iio_trigger_set_drvdata(data->motion_trig, indio_dev); in kxcjk1013_probe()1400 ret = iio_trigger_register(data->motion_trig); in kxcjk1013_probe()[all …]
138 struct iio_trigger *motion_trig; member984 if (data->acc_dready_trig != trig && data->motion_trig != trig) in kmx61_acc_validate_trigger()1036 if (data->acc_dready_trig == trig || data->motion_trig == trig) in kmx61_data_rdy_trigger_set_state()1187 iio_trigger_poll(data->motion_trig); in kmx61_data_rdy_trig_poll()1355 data->motion_trig = in kmx61_probe()1358 if (IS_ERR(data->motion_trig)) { in kmx61_probe()1359 ret = PTR_ERR(data->motion_trig); in kmx61_probe()1415 iio_trigger_unregister(data->motion_trig); in kmx61_probe()1441 iio_trigger_unregister(data->motion_trig); in kmx61_remove()