rv3029 127 drivers/rtc/rtc-rv3029c2.c struct rv3029_data *rv3029 = dev_get_drvdata(dev); rv3029 133 drivers/rtc/rtc-rv3029c2.c return regmap_bulk_read(rv3029->regmap, reg, buf, len); rv3029 139 drivers/rtc/rtc-rv3029c2.c struct rv3029_data *rv3029 = dev_get_drvdata(dev); rv3029 145 drivers/rtc/rtc-rv3029c2.c return regmap_bulk_write(rv3029->regmap, reg, buf, len); rv3029 331 drivers/rtc/rtc-rv3029c2.c struct rv3029_data *rv3029 = dev_get_drvdata(dev); rv3029 332 drivers/rtc/rtc-rv3029c2.c struct mutex *lock = &rv3029->rtc->ops_lock; rv3029 360 drivers/rtc/rtc-rv3029c2.c rtc_update_irq(rv3029->rtc, 1, events); rv3029 766 drivers/rtc/rtc-rv3029c2.c struct rv3029_data *rv3029 = dev_get_drvdata(dev); rv3029 769 drivers/rtc/rtc-rv3029c2.c hwmon_dev = devm_hwmon_device_register_with_groups(dev, name, rv3029, rv3029 793 drivers/rtc/rtc-rv3029c2.c struct rv3029_data *rv3029; rv3029 797 drivers/rtc/rtc-rv3029c2.c rv3029 = devm_kzalloc(dev, sizeof(*rv3029), GFP_KERNEL); rv3029 798 drivers/rtc/rtc-rv3029c2.c if (!rv3029) rv3029 801 drivers/rtc/rtc-rv3029c2.c rv3029->regmap = regmap; rv3029 802 drivers/rtc/rtc-rv3029c2.c rv3029->irq = irq; rv3029 803 drivers/rtc/rtc-rv3029c2.c rv3029->dev = dev; rv3029 804 drivers/rtc/rtc-rv3029c2.c dev_set_drvdata(dev, rv3029); rv3029 815 drivers/rtc/rtc-rv3029c2.c rv3029->rtc = devm_rtc_device_register(dev, name, &rv3029_rtc_ops, rv3029 817 drivers/rtc/rtc-rv3029c2.c if (IS_ERR(rv3029->rtc)) { rv3029 819 drivers/rtc/rtc-rv3029c2.c return PTR_ERR(rv3029->rtc); rv3029 822 drivers/rtc/rtc-rv3029c2.c if (rv3029->irq > 0) { rv3029 823 drivers/rtc/rtc-rv3029c2.c rc = devm_request_threaded_irq(dev, rv3029->irq, rv3029 829 drivers/rtc/rtc-rv3029c2.c rv3029->irq = 0;