Lines Matching refs:dready_trig
148 struct iio_trigger *dready_trig; member
882 data->dready_trig = devm_iio_trigger_alloc(dev, in bmc150_magn_probe()
886 if (!data->dready_trig) { in bmc150_magn_probe()
892 data->dready_trig->dev.parent = dev; in bmc150_magn_probe()
893 data->dready_trig->ops = &bmc150_magn_trigger_ops; in bmc150_magn_probe()
894 iio_trigger_set_drvdata(data->dready_trig, indio_dev); in bmc150_magn_probe()
895 ret = iio_trigger_register(data->dready_trig); in bmc150_magn_probe()
906 data->dready_trig); in bmc150_magn_probe()
944 free_irq(irq, data->dready_trig); in bmc150_magn_probe()
946 if (data->dready_trig) in bmc150_magn_probe()
947 iio_trigger_unregister(data->dready_trig); in bmc150_magn_probe()
968 free_irq(data->irq, data->dready_trig); in bmc150_magn_remove()
970 if (data->dready_trig) in bmc150_magn_remove()
971 iio_trigger_unregister(data->dready_trig); in bmc150_magn_remove()