Lines Matching refs:motion_trig
138 struct iio_trigger *motion_trig; member
1143 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()
1402 data->motion_trig = NULL; in kxcjk1013_probe()
1439 if (data->motion_trig) in kxcjk1013_probe()
1440 iio_trigger_unregister(data->motion_trig); in kxcjk1013_probe()
1461 iio_trigger_unregister(data->motion_trig); in kxcjk1013_remove()