Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/pressure/
Drohm-bm1390.c797 struct iio_trigger *itrig; in bm1390_setup_trigger() local
801 itrig = devm_iio_trigger_alloc(data->dev, "%sdata-rdy-dev%d", idev->name, in bm1390_setup_trigger()
803 if (!itrig) in bm1390_setup_trigger()
806 data->trig = itrig; in bm1390_setup_trigger()
808 itrig->ops = &bm1390_trigger_ops; in bm1390_setup_trigger()
809 iio_trigger_set_drvdata(itrig, data); in bm1390_setup_trigger()
823 ret = devm_iio_trigger_register(data->dev, itrig); in bm1390_setup_trigger()
/linux-6.12.1/drivers/iio/light/
Drohm-bu27008.c1491 struct iio_trigger *itrig; in bu27008_setup_trigger() local
1503 itrig = devm_iio_trigger_alloc(data->dev, "%sdata-rdy-dev%d", in bu27008_setup_trigger()
1505 if (!itrig) in bu27008_setup_trigger()
1508 data->trig = itrig; in bu27008_setup_trigger()
1510 itrig->ops = &bu27008_trigger_ops; in bu27008_setup_trigger()
1511 iio_trigger_set_drvdata(itrig, data); in bu27008_setup_trigger()
1518 0, name, itrig); in bu27008_setup_trigger()
1522 ret = devm_iio_trigger_register(data->dev, itrig); in bu27008_setup_trigger()
1528 idev->trig = iio_trigger_get(itrig); in bu27008_setup_trigger()