Lines Matching refs:ptr
605 struct iio_trigger **ptr, *trig;
608 ptr = devres_alloc(devm_iio_trigger_release, sizeof(*ptr),
610 if (!ptr)
618 *ptr = trig;
619 devres_add(dev, ptr);
621 devres_free(ptr);
651 struct iio_trigger **ptr;
654 ptr = devres_alloc(devm_iio_trigger_unreg, sizeof(*ptr), GFP_KERNEL);
655 if (!ptr)
658 *ptr = trig_info;
661 devres_add(dev, ptr);
663 devres_free(ptr);