Lines Matching refs:rtc
14 #include <linux/rtc.h>
38 struct rtc_device *rtc;
300 ret = mutex_lock_interruptible(&priv->rtc->ops_lock);
310 mutex_unlock(&priv->rtc->ops_lock);
341 ret = mutex_lock_interruptible(&priv->rtc->ops_lock);
373 mutex_unlock(&priv->rtc->ops_lock);
460 priv->rtc = devm_rtc_allocate_device(&client->dev);
461 ret = PTR_ERR_OR_ZERO(priv->rtc);
465 priv->rtc->ops = &isl12026_rtc_ops;
467 ret = devm_rtc_nvmem_register(priv->rtc, &nvm_cfg);
471 return devm_rtc_register_device(priv->rtc);
489 .name = "rtc-isl12026",