Lines Matching refs:motion_trig
247 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()
1611 if (data->motion_trig) in kxcjk1013_probe()
1612 iio_trigger_unregister(data->motion_trig); in kxcjk1013_probe()
1632 iio_trigger_unregister(data->motion_trig); in kxcjk1013_remove()