Lines Matching refs:drdy_trig
76 struct iio_trigger *drdy_trig; member
334 iio_trigger_poll(data->drdy_trig); in ccs811_data_rdy_trigger_poll()
404 data->drdy_trig = devm_iio_trigger_alloc(&client->dev, in ccs811_probe()
408 if (!data->drdy_trig) { in ccs811_probe()
413 data->drdy_trig->dev.parent = &client->dev; in ccs811_probe()
414 data->drdy_trig->ops = &ccs811_trigger_ops; in ccs811_probe()
415 iio_trigger_set_drvdata(data->drdy_trig, indio_dev); in ccs811_probe()
416 indio_dev->trig = data->drdy_trig; in ccs811_probe()
418 ret = iio_trigger_register(data->drdy_trig); in ccs811_probe()
441 if (data->drdy_trig) in ccs811_probe()
442 iio_trigger_unregister(data->drdy_trig); in ccs811_probe()
456 if (data->drdy_trig) in ccs811_remove()
457 iio_trigger_unregister(data->drdy_trig); in ccs811_remove()