rtc_dev 303 arch/arm/mach-davinci/board-dm644x-evm.c static struct platform_device rtc_dev = { rtc_dev 797 arch/arm/mach-davinci/board-dm644x-evm.c &rtc_dev, rtc_dev 161 arch/m68k/bvme6000/rtc.c static struct miscdevice rtc_dev = { rtc_dev 173 arch/m68k/bvme6000/rtc.c return misc_register(&rtc_dev); rtc_dev 150 arch/m68k/mvme16x/rtc.c static struct miscdevice rtc_dev= rtc_dev 163 arch/m68k/mvme16x/rtc.c return misc_register(&rtc_dev); rtc_dev 444 arch/mips/txx9/generic/setup_tx4939.c static struct platform_device rtc_dev = { rtc_dev 451 arch/mips/txx9/generic/setup_tx4939.c platform_device_register(&rtc_dev); rtc_dev 812 drivers/char/rtc.c static struct miscdevice rtc_dev = { rtc_dev 947 drivers/char/rtc.c if (misc_register(&rtc_dev)) { rtc_dev 1032 drivers/char/rtc.c misc_deregister(&rtc_dev); rtc_dev 41 drivers/rtc/rtc-88pm80x.c struct rtc_device *rtc_dev; rtc_dev 55 drivers/rtc/rtc-88pm80x.c rtc_update_irq(info->rtc_dev, 1, RTC_AF); rtc_dev 282 drivers/rtc/rtc-88pm80x.c info->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 283 drivers/rtc/rtc-88pm80x.c if (IS_ERR(info->rtc_dev)) rtc_dev 284 drivers/rtc/rtc-88pm80x.c return PTR_ERR(info->rtc_dev); rtc_dev 294 drivers/rtc/rtc-88pm80x.c info->rtc_dev->ops = &pm80x_rtc_ops; rtc_dev 295 drivers/rtc/rtc-88pm80x.c info->rtc_dev->range_max = U32_MAX; rtc_dev 297 drivers/rtc/rtc-88pm80x.c ret = rtc_register_device(info->rtc_dev); rtc_dev 309 drivers/rtc/rtc-88pm80x.c info->rtc_dev->dev.platform_data = &pdata->rtc_wakeup; rtc_dev 25 drivers/rtc/rtc-88pm860x.c struct rtc_device *rtc_dev; rtc_dev 64 drivers/rtc/rtc-88pm860x.c rtc_update_irq(info->rtc_dev, 1, RTC_AF); rtc_dev 339 drivers/rtc/rtc-88pm860x.c info->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 340 drivers/rtc/rtc-88pm860x.c if (IS_ERR(info->rtc_dev)) rtc_dev 341 drivers/rtc/rtc-88pm860x.c return PTR_ERR(info->rtc_dev); rtc_dev 384 drivers/rtc/rtc-88pm860x.c info->rtc_dev->ops = &pm860x_rtc_ops; rtc_dev 386 drivers/rtc/rtc-88pm860x.c ret = rtc_register_device(info->rtc_dev); rtc_dev 70 drivers/rtc/rtc-armada38x.c struct rtc_device *rtc_dev; rtc_dev 331 drivers/rtc/rtc-armada38x.c dev_dbg(&rtc->rtc_dev->dev, "%s:irq(%d)\n", __func__, irq); rtc_dev 351 drivers/rtc/rtc-armada38x.c rtc_update_irq(rtc->rtc_dev, 1, event); rtc_dev 535 drivers/rtc/rtc-armada38x.c rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 536 drivers/rtc/rtc-armada38x.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 537 drivers/rtc/rtc-armada38x.c return PTR_ERR(rtc->rtc_dev); rtc_dev 548 drivers/rtc/rtc-armada38x.c rtc->rtc_dev->ops = &armada38x_rtc_ops; rtc_dev 554 drivers/rtc/rtc-armada38x.c rtc->rtc_dev->ops = &armada38x_rtc_ops_noirq; rtc_dev 561 drivers/rtc/rtc-armada38x.c rtc->rtc_dev->range_max = U32_MAX; rtc_dev 563 drivers/rtc/rtc-armada38x.c return rtc_register_device(rtc->rtc_dev); rtc_dev 11 drivers/rtc/rtc-aspeed.c struct rtc_device *rtc_dev; rtc_dev 99 drivers/rtc/rtc-aspeed.c rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 100 drivers/rtc/rtc-aspeed.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 101 drivers/rtc/rtc-aspeed.c return PTR_ERR(rtc->rtc_dev); rtc_dev 105 drivers/rtc/rtc-aspeed.c rtc->rtc_dev->ops = &aspeed_rtc_ops; rtc_dev 106 drivers/rtc/rtc-aspeed.c rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_1900; rtc_dev 107 drivers/rtc/rtc-aspeed.c rtc->rtc_dev->range_max = 38814989399LL; /* 3199-12-31 23:59:59 */ rtc_dev 109 drivers/rtc/rtc-aspeed.c return rtc_register_device(rtc->rtc_dev); rtc_dev 80 drivers/rtc/rtc-cadence.c struct rtc_device *rtc_dev; rtc_dev 108 drivers/rtc/rtc-cadence.c rtc_update_irq(crtc->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 291 drivers/rtc/rtc-cadence.c crtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 292 drivers/rtc/rtc-cadence.c if (IS_ERR(crtc->rtc_dev)) rtc_dev 293 drivers/rtc/rtc-cadence.c return PTR_ERR(crtc->rtc_dev); rtc_dev 331 drivers/rtc/rtc-cadence.c crtc->rtc_dev->range_min = mktime64(1900, 1, 1, 0, 0, 0); rtc_dev 332 drivers/rtc/rtc-cadence.c crtc->rtc_dev->range_max = mktime64(2999, 12, 31, 23, 59, 59); rtc_dev 334 drivers/rtc/rtc-cadence.c crtc->rtc_dev->ops = &cdns_rtc_ops; rtc_dev 341 drivers/rtc/rtc-cadence.c ret = rtc_register_device(crtc->rtc_dev); rtc_dev 43 drivers/rtc/rtc-cpcap.c struct rtc_device *rtc_dev; rtc_dev 232 drivers/rtc/rtc-cpcap.c rtc_update_irq(rtc->rtc_dev, 1, RTC_AF | RTC_IRQF); rtc_dev 240 drivers/rtc/rtc-cpcap.c rtc_update_irq(rtc->rtc_dev, 1, RTC_UF | RTC_IRQF); rtc_dev 259 drivers/rtc/rtc-cpcap.c rtc->rtc_dev = devm_rtc_device_register(dev, "cpcap_rtc", rtc_dev 262 drivers/rtc/rtc-cpcap.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 263 drivers/rtc/rtc-cpcap.c return PTR_ERR(rtc->rtc_dev); rtc_dev 66 drivers/rtc/rtc-da9063.c struct rtc_device *rtc_dev; rtc_dev 362 drivers/rtc/rtc-da9063.c rtc_update_irq(rtc->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 467 drivers/rtc/rtc-da9063.c rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 468 drivers/rtc/rtc-da9063.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 469 drivers/rtc/rtc-da9063.c return PTR_ERR(rtc->rtc_dev); rtc_dev 471 drivers/rtc/rtc-da9063.c rtc->rtc_dev->ops = &da9063_rtc_ops; rtc_dev 472 drivers/rtc/rtc-da9063.c rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_2000; rtc_dev 473 drivers/rtc/rtc-da9063.c rtc->rtc_dev->range_max = RTC_TIMESTAMP_END_2063; rtc_dev 483 drivers/rtc/rtc-da9063.c rtc->rtc_dev->uie_unsupported = 1; rtc_dev 494 drivers/rtc/rtc-da9063.c return rtc_register_device(rtc->rtc_dev); rtc_dev 37 drivers/rtc/rtc-digicolor.c struct rtc_device *rtc_dev; rtc_dev 171 drivers/rtc/rtc-digicolor.c rtc_update_irq(rtc->rtc_dev, 1, RTC_AF | RTC_IRQF); rtc_dev 191 drivers/rtc/rtc-digicolor.c rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 192 drivers/rtc/rtc-digicolor.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 193 drivers/rtc/rtc-digicolor.c return PTR_ERR(rtc->rtc_dev); rtc_dev 204 drivers/rtc/rtc-digicolor.c rtc->rtc_dev->ops = &dc_rtc_ops; rtc_dev 205 drivers/rtc/rtc-digicolor.c rtc->rtc_dev->range_max = U32_MAX; rtc_dev 207 drivers/rtc/rtc-digicolor.c return rtc_register_device(rtc->rtc_dev); rtc_dev 1042 drivers/rtc/rtc-ds1685.c struct rtc_device *rtc_dev; rtc_dev 1258 drivers/rtc/rtc-ds1685.c rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 1259 drivers/rtc/rtc-ds1685.c if (IS_ERR(rtc_dev)) rtc_dev 1260 drivers/rtc/rtc-ds1685.c return PTR_ERR(rtc_dev); rtc_dev 1262 drivers/rtc/rtc-ds1685.c rtc_dev->ops = &ds1685_rtc_ops; rtc_dev 1265 drivers/rtc/rtc-ds1685.c rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_2000; rtc_dev 1266 drivers/rtc/rtc-ds1685.c rtc_dev->range_max = RTC_TIMESTAMP_END_2099; rtc_dev 1269 drivers/rtc/rtc-ds1685.c rtc_dev->max_user_freq = RTC_MAX_USER_FREQ; rtc_dev 1273 drivers/rtc/rtc-ds1685.c rtc_dev->uie_unsupported = 1; rtc_dev 1276 drivers/rtc/rtc-ds1685.c rtc->dev = rtc_dev; rtc_dev 1311 drivers/rtc/rtc-ds1685.c ret = rtc_add_group(rtc_dev, &ds1685_rtc_sysfs_misc_grp); rtc_dev 1315 drivers/rtc/rtc-ds1685.c rtc_dev->nvram_old_abi = true; rtc_dev 1317 drivers/rtc/rtc-ds1685.c ret = rtc_nvmem_register(rtc_dev, &nvmem_cfg); rtc_dev 1321 drivers/rtc/rtc-ds1685.c return rtc_register_device(rtc_dev); rtc_dev 40 drivers/rtc/rtc-fsl-ftm-alarm.c struct rtc_device *rtc_dev; rtc_dev 264 drivers/rtc/rtc-fsl-ftm-alarm.c rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 265 drivers/rtc/rtc-fsl-ftm-alarm.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 266 drivers/rtc/rtc-fsl-ftm-alarm.c return PTR_ERR(rtc->rtc_dev); rtc_dev 295 drivers/rtc/rtc-fsl-ftm-alarm.c rtc->rtc_dev->ops = &ftm_rtc_ops; rtc_dev 299 drivers/rtc/rtc-fsl-ftm-alarm.c ret = rtc_register_device(rtc->rtc_dev); rtc_dev 31 drivers/rtc/rtc-ftrtc010.c struct rtc_device *rtc_dev; rtc_dev 159 drivers/rtc/rtc-ftrtc010.c rtc->rtc_dev = devm_rtc_allocate_device(dev); rtc_dev 160 drivers/rtc/rtc-ftrtc010.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 161 drivers/rtc/rtc-ftrtc010.c return PTR_ERR(rtc->rtc_dev); rtc_dev 163 drivers/rtc/rtc-ftrtc010.c rtc->rtc_dev->ops = &ftrtc010_rtc_ops; rtc_dev 170 drivers/rtc/rtc-ftrtc010.c rtc->rtc_dev->range_min = (u64)days * 86400 + hour * 3600 + rtc_dev 172 drivers/rtc/rtc-ftrtc010.c rtc->rtc_dev->range_max = U32_MAX + rtc->rtc_dev->range_min; rtc_dev 179 drivers/rtc/rtc-ftrtc010.c return rtc_register_device(rtc->rtc_dev); rtc_dev 86 drivers/rtc/rtc-max77686.c struct rtc_device *rtc_dev; rtc_dev 625 drivers/rtc/rtc-max77686.c rtc_update_irq(info->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 751 drivers/rtc/rtc-max77686.c info->rtc_dev = devm_rtc_device_register(&pdev->dev, id->name, rtc_dev 754 drivers/rtc/rtc-max77686.c if (IS_ERR(info->rtc_dev)) { rtc_dev 755 drivers/rtc/rtc-max77686.c ret = PTR_ERR(info->rtc_dev); rtc_dev 43 drivers/rtc/rtc-max8907.c struct rtc_device *rtc_dev; rtc_dev 53 drivers/rtc/rtc-max8907.c rtc_update_irq(rtc->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 189 drivers/rtc/rtc-max8907.c rtc->rtc_dev = devm_rtc_device_register(&pdev->dev, "max8907-rtc", rtc_dev 191 drivers/rtc/rtc-max8907.c if (IS_ERR(rtc->rtc_dev)) { rtc_dev 192 drivers/rtc/rtc-max8907.c ret = PTR_ERR(rtc->rtc_dev); rtc_dev 65 drivers/rtc/rtc-max8925.c struct rtc_device *rtc_dev; rtc_dev 78 drivers/rtc/rtc-max8925.c rtc_update_irq(info->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 275 drivers/rtc/rtc-max8925.c info->rtc_dev = devm_rtc_device_register(&pdev->dev, "max8925-rtc", rtc_dev 277 drivers/rtc/rtc-max8925.c ret = PTR_ERR(info->rtc_dev); rtc_dev 278 drivers/rtc/rtc-max8925.c if (IS_ERR(info->rtc_dev)) { rtc_dev 68 drivers/rtc/rtc-max8997.c struct rtc_device *rtc_dev; rtc_dev 353 drivers/rtc/rtc-max8997.c rtc_update_irq(info->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 478 drivers/rtc/rtc-max8997.c info->rtc_dev = devm_rtc_device_register(&pdev->dev, "max8997-rtc", rtc_dev 481 drivers/rtc/rtc-max8997.c if (IS_ERR(info->rtc_dev)) { rtc_dev 482 drivers/rtc/rtc-max8997.c ret = PTR_ERR(info->rtc_dev); rtc_dev 70 drivers/rtc/rtc-max8998.c struct rtc_device *rtc_dev; rtc_dev 234 drivers/rtc/rtc-max8998.c rtc_update_irq(info->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 265 drivers/rtc/rtc-max8998.c info->rtc_dev = devm_rtc_device_register(&pdev->dev, "max8998-rtc", rtc_dev 268 drivers/rtc/rtc-max8998.c if (IS_ERR(info->rtc_dev)) { rtc_dev 269 drivers/rtc/rtc-max8998.c ret = PTR_ERR(info->rtc_dev); rtc_dev 68 drivers/rtc/rtc-mt6397.c struct rtc_device *rtc_dev; rtc_dev 110 drivers/rtc/rtc-mt6397.c rtc_update_irq(rtc->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 346 drivers/rtc/rtc-mt6397.c rtc->rtc_dev = devm_rtc_allocate_device(rtc->dev); rtc_dev 347 drivers/rtc/rtc-mt6397.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 348 drivers/rtc/rtc-mt6397.c return PTR_ERR(rtc->rtc_dev); rtc_dev 362 drivers/rtc/rtc-mt6397.c rtc->rtc_dev->ops = &mtk_rtc_ops; rtc_dev 364 drivers/rtc/rtc-mt6397.c ret = rtc_register_device(rtc->rtc_dev); rtc_dev 59 drivers/rtc/rtc-pcf50633.c struct rtc_device *rtc_dev; rtc_dev 238 drivers/rtc/rtc-pcf50633.c rtc_update_irq(rtc->rtc_dev, 1, RTC_AF | RTC_IRQF); rtc_dev 252 drivers/rtc/rtc-pcf50633.c rtc->rtc_dev = devm_rtc_device_register(&pdev->dev, "pcf50633-rtc", rtc_dev 255 drivers/rtc/rtc-pcf50633.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 256 drivers/rtc/rtc-pcf50633.c return PTR_ERR(rtc->rtc_dev); rtc_dev 62 drivers/rtc/rtc-pm8xxx.c struct device *rtc_dev; rtc_dev 359 drivers/rtc/rtc-pm8xxx.c dev_err(rtc_dd->rtc_dev, rtc_dev 369 drivers/rtc/rtc-pm8xxx.c dev_err(rtc_dd->rtc_dev, rtc_dev 377 drivers/rtc/rtc-pm8xxx.c dev_err(rtc_dd->rtc_dev, rtc_dev 478 drivers/rtc/rtc-pm8xxx.c rtc_dd->rtc_dev = &pdev->dev; rtc_dev 152 drivers/rtc/rtc-s5m.c struct rtc_device *rtc_dev; rtc_dev 647 drivers/rtc/rtc-s5m.c rtc_update_irq(info->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 797 drivers/rtc/rtc-s5m.c info->rtc_dev = devm_rtc_device_register(&pdev->dev, "s5m-rtc", rtc_dev 800 drivers/rtc/rtc-s5m.c if (IS_ERR(info->rtc_dev)) { rtc_dev 801 drivers/rtc/rtc-s5m.c ret = PTR_ERR(info->rtc_dev); rtc_dev 104 drivers/rtc/rtc-sh.c struct rtc_device *rtc_dev; rtc_dev 121 drivers/rtc/rtc-sh.c rtc_update_irq(rtc->rtc_dev, 1, RTC_UF | RTC_IRQF); rtc_dev 136 drivers/rtc/rtc-sh.c rtc_update_irq(rtc->rtc_dev, 1, RTC_AF | RTC_IRQF); rtc_dev 159 drivers/rtc/rtc-sh.c rtc_update_irq(rtc->rtc_dev, 1, RTC_PF | RTC_IRQF); rtc_dev 533 drivers/rtc/rtc-sh.c rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 534 drivers/rtc/rtc-sh.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 535 drivers/rtc/rtc-sh.c return PTR_ERR(rtc->rtc_dev); rtc_dev 600 drivers/rtc/rtc-sh.c rtc->rtc_dev->ops = &sh_rtc_ops; rtc_dev 601 drivers/rtc/rtc-sh.c rtc->rtc_dev->max_user_freq = 256; rtc_dev 604 drivers/rtc/rtc-sh.c rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_1900; rtc_dev 605 drivers/rtc/rtc-sh.c rtc->rtc_dev->range_max = RTC_TIMESTAMP_END_9999; rtc_dev 607 drivers/rtc/rtc-sh.c rtc->rtc_dev->range_min = mktime64(1999, 1, 1, 0, 0, 0); rtc_dev 608 drivers/rtc/rtc-sh.c rtc->rtc_dev->range_max = mktime64(2098, 12, 31, 23, 59, 59); rtc_dev 611 drivers/rtc/rtc-sh.c ret = rtc_register_device(rtc->rtc_dev); rtc_dev 42 drivers/rtc/rtc-st-lpc.c struct rtc_device *rtc_dev; rtc_dev 75 drivers/rtc/rtc-st-lpc.c rtc_update_irq(rtc->rtc_dev, 1, RTC_AF); rtc_dev 207 drivers/rtc/rtc-st-lpc.c rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); rtc_dev 208 drivers/rtc/rtc-st-lpc.c if (IS_ERR(rtc->rtc_dev)) rtc_dev 209 drivers/rtc/rtc-st-lpc.c return PTR_ERR(rtc->rtc_dev); rtc_dev 252 drivers/rtc/rtc-st-lpc.c rtc->rtc_dev->ops = &st_rtc_ops; rtc_dev 253 drivers/rtc/rtc-st-lpc.c rtc->rtc_dev->range_max = U64_MAX; rtc_dev 254 drivers/rtc/rtc-st-lpc.c do_div(rtc->rtc_dev->range_max, rtc->clkrate); rtc_dev 256 drivers/rtc/rtc-st-lpc.c ret = rtc_register_device(rtc->rtc_dev); rtc_dev 284 drivers/rtc/rtc-st-lpc.c rtc_alarm_irq_enable(rtc->rtc_dev, 0); rtc_dev 121 drivers/rtc/rtc-stm32.c struct rtc_device *rtc_dev; rtc_dev 212 drivers/rtc/rtc-stm32.c mutex_lock(&rtc->rtc_dev->ops_lock); rtc_dev 220 drivers/rtc/rtc-stm32.c dev_dbg(&rtc->rtc_dev->dev, "Alarm occurred\n"); rtc_dev 223 drivers/rtc/rtc-stm32.c rtc_update_irq(rtc->rtc_dev, 1, RTC_IRQF | RTC_AF); rtc_dev 229 drivers/rtc/rtc-stm32.c mutex_unlock(&rtc->rtc_dev->ops_lock); rtc_dev 800 drivers/rtc/rtc-stm32.c rtc->rtc_dev = devm_rtc_device_register(&pdev->dev, pdev->name, rtc_dev 802 drivers/rtc/rtc-stm32.c if (IS_ERR(rtc->rtc_dev)) { rtc_dev 803 drivers/rtc/rtc-stm32.c ret = PTR_ERR(rtc->rtc_dev);