Lines Matching refs:motion_trig
97 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()
1186 if (data->motion_trig) in bmg160_core_probe()
1187 iio_trigger_unregister(data->motion_trig); in bmg160_core_probe()
1208 iio_trigger_unregister(data->motion_trig); in bmg160_core_remove()