Home
last modified time | relevance | path

Searched refs:drdy_trig (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/iio/chemical/
Dccs811.c76 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()
[all …]
/Linux-v5.4/drivers/iio/magnetometer/
Drm3100-core.c80 struct iio_trigger *drdy_trig; member
146 iio_trigger_poll(data->drdy_trig); in rm3100_irq_handler()
578 data->drdy_trig = devm_iio_trigger_alloc(dev, "%s-drdy%d", in rm3100_common_probe()
581 if (!data->drdy_trig) in rm3100_common_probe()
584 data->drdy_trig->dev.parent = dev; in rm3100_common_probe()
585 ret = devm_iio_trigger_register(dev, data->drdy_trig); in rm3100_common_probe()