/openbmc/linux/drivers/rtc/ |
H A D | rtc-m48t86.c | 44 struct rtc_device *rtc; member 253 info->rtc = devm_rtc_allocate_device(&pdev->dev); in m48t86_rtc_probe() 254 if (IS_ERR(info->rtc)) in m48t86_rtc_probe() 255 return PTR_ERR(info->rtc); in m48t86_rtc_probe() 257 info->rtc->ops = &m48t86_rtc_ops; in m48t86_rtc_probe() 259 err = devm_rtc_register_device(info->rtc); in m48t86_rtc_probe() 263 devm_rtc_nvmem_register(info->rtc, &m48t86_nvmem_cfg); in m48t86_rtc_probe()
|
H A D | rtc-m41t80.c | 149 struct rtc_device *rtc; member 164 rtc_lock(m41t80->rtc); in m41t80_handle_irq() 168 rtc_unlock(m41t80->rtc); in m41t80_handle_irq() 174 rtc_unlock(m41t80->rtc); in m41t80_handle_irq() 185 rtc_update_irq(m41t80->rtc, 1, events); in m41t80_handle_irq() 191 rtc_unlock(m41t80->rtc); in m41t80_handle_irq() 909 if (IS_ERR(m41t80_data->rtc)) in m41t80_probe() 910 return PTR_ERR(m41t80_data->rtc); in m41t80_probe() 937 m41t80_data->rtc->ops = &m41t80_rtc_ops; in m41t80_probe() 939 m41t80_data->rtc->range_max = RTC_TIMESTAMP_END_2099; in m41t80_probe() [all …]
|
H A D | rtc-rv3029c2.c | 118 struct rtc_device *rtc; member 273 rtc_lock(rv3029->rtc); in rv3029_handle_irq() 278 rtc_unlock(rv3029->rtc); in rv3029_handle_irq() 285 rtc_unlock(rv3029->rtc); in rv3029_handle_irq() 296 rtc_update_irq(rv3029->rtc, 1, events); in rv3029_handle_irq() 300 rtc_unlock(rv3029->rtc); in rv3029_handle_irq() 733 rv3029->rtc = devm_rtc_allocate_device(dev); in rv3029_probe() 734 if (IS_ERR(rv3029->rtc)) in rv3029_probe() 735 return PTR_ERR(rv3029->rtc); in rv3029_probe() 755 rv3029->rtc->ops = &rv3029_rtc_ops; in rv3029_probe() [all …]
|
H A D | rtc-m41t93.c | 172 struct rtc_device *rtc; in m41t93_probe() local 184 rtc = devm_rtc_device_register(&spi->dev, m41t93_driver.driver.name, in m41t93_probe() 186 if (IS_ERR(rtc)) in m41t93_probe() 187 return PTR_ERR(rtc); in m41t93_probe() 189 spi_set_drvdata(spi, rtc); in m41t93_probe()
|
H A D | rtc-max6900.c | 202 struct rtc_device *rtc; in max6900_probe() local 207 rtc = devm_rtc_device_register(&client->dev, max6900_driver.driver.name, in max6900_probe() 209 if (IS_ERR(rtc)) in max6900_probe() 210 return PTR_ERR(rtc); in max6900_probe() 212 i2c_set_clientdata(client, rtc); in max6900_probe()
|
H A D | rtc-spear.c | 78 struct rtc_device *rtc; member 163 rtc_update_irq(config->rtc, 1, events); in spear_rtc_irq() 357 config->rtc = devm_rtc_allocate_device(&pdev->dev); in spear_rtc_probe() 358 if (IS_ERR(config->rtc)) in spear_rtc_probe() 359 return PTR_ERR(config->rtc); in spear_rtc_probe() 389 config->rtc->ops = &spear_rtc_ops; in spear_rtc_probe() 390 config->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; in spear_rtc_probe() 391 config->rtc->range_max = RTC_TIMESTAMP_END_9999; in spear_rtc_probe() 393 status = devm_rtc_register_device(config->rtc); in spear_rtc_probe()
|
H A D | rtc-ds1286.c | 20 struct rtc_device *rtc; member 325 struct rtc_device *rtc; in ds1286_probe() local 338 rtc = devm_rtc_device_register(&pdev->dev, "ds1286", &ds1286_ops, in ds1286_probe() 340 if (IS_ERR(rtc)) in ds1286_probe() 341 return PTR_ERR(rtc); in ds1286_probe() 342 priv->rtc = rtc; in ds1286_probe()
|
H A D | rtc-ds1511.c | 85 struct rtc_device *rtc; member 357 rtc_update_irq(pdata->rtc, 1, events); in ds1511_interrupt() 457 pdata->rtc = devm_rtc_allocate_device(&pdev->dev); in ds1511_rtc_probe() 458 if (IS_ERR(pdata->rtc)) in ds1511_rtc_probe() 459 return PTR_ERR(pdata->rtc); in ds1511_rtc_probe() 461 pdata->rtc->ops = &ds1511_rtc_ops; in ds1511_rtc_probe() 463 ret = devm_rtc_register_device(pdata->rtc); in ds1511_rtc_probe() 467 devm_rtc_nvmem_register(pdata->rtc, &ds1511_nvmem_cfg); in ds1511_rtc_probe()
|
H A D | rtc-r7301.c | 321 struct rtc_device *rtc = dev_id; in rtc7301_irq_handler() local 322 struct rtc7301_priv *priv = dev_get_drvdata(rtc->dev.parent); in rtc7301_irq_handler() 334 rtc_update_irq(rtc, 1, RTC_IRQF | RTC_AF); in rtc7301_irq_handler() 358 struct rtc_device *rtc; in rtc7301_rtc_probe() local 383 rtc = devm_rtc_device_register(&dev->dev, DRV_NAME, &rtc7301_rtc_ops, in rtc7301_rtc_probe() 385 if (IS_ERR(rtc)) in rtc7301_rtc_probe() 386 return PTR_ERR(rtc); in rtc7301_rtc_probe() 391 dev_name(&dev->dev), rtc); in rtc7301_rtc_probe()
|
H A D | rtc-stk17ta8.c | 60 struct rtc_device *rtc; member 204 rtc_update_irq(pdata->rtc, 1, events); in stk17ta8_rtc_interrupt() 309 pdata->rtc = devm_rtc_allocate_device(&pdev->dev); in stk17ta8_rtc_probe() 310 if (IS_ERR(pdata->rtc)) in stk17ta8_rtc_probe() 311 return PTR_ERR(pdata->rtc); in stk17ta8_rtc_probe() 313 pdata->rtc->ops = &stk17ta8_rtc_ops; in stk17ta8_rtc_probe() 316 ret = devm_rtc_nvmem_register(pdata->rtc, &nvmem_cfg); in stk17ta8_rtc_probe() 320 return devm_rtc_register_device(pdata->rtc); in stk17ta8_rtc_probe()
|
H A D | rtc-pxa.c | 77 struct rtc_device *rtc; member 156 rtc_update_irq(pxa_rtc->rtc, 1, events); in pxa_rtc_irq() 330 sa1100_rtc->rtc = devm_rtc_allocate_device(&pdev->dev); in pxa_rtc_probe() 331 if (IS_ERR(sa1100_rtc->rtc)) in pxa_rtc_probe() 332 return PTR_ERR(sa1100_rtc->rtc); in pxa_rtc_probe() 355 pxa_rtc->rtc = devm_rtc_device_register(&pdev->dev, "pxa-rtc", in pxa_rtc_probe() 357 if (IS_ERR(pxa_rtc->rtc)) { in pxa_rtc_probe() 358 ret = PTR_ERR(pxa_rtc->rtc); in pxa_rtc_probe()
|
H A D | rtc-rx4581.c | 256 struct rtc_device *rtc; in rx4581_probe() local 264 rtc = devm_rtc_device_register(&spi->dev, "rx4581", in rx4581_probe() 266 if (IS_ERR(rtc)) in rx4581_probe() 267 return PTR_ERR(rtc); in rx4581_probe() 269 spi_set_drvdata(spi, rtc); in rx4581_probe()
|
H A D | rtc-as3722.c | 26 struct rtc_device *rtc; member 155 rtc_update_irq(as3722_rtc->rtc, 1, RTC_IRQF | RTC_AF); in as3722_alarm_irq() 192 as3722_rtc->rtc = devm_rtc_device_register(&pdev->dev, "as3722-rtc", in as3722_rtc_probe() 194 if (IS_ERR(as3722_rtc->rtc)) { in as3722_rtc_probe() 195 ret = PTR_ERR(as3722_rtc->rtc); in as3722_rtc_probe()
|
H A D | rtc-pm8xxx.c | 61 struct rtc_device *rtc; member 384 rtc_update_irq(rtc_dd->rtc, 1, RTC_IRQF | RTC_AF); in pm8xxx_alarm_trigger() 508 rtc_dd->rtc = devm_rtc_allocate_device(&pdev->dev); in pm8xxx_rtc_probe() 509 if (IS_ERR(rtc_dd->rtc)) in pm8xxx_rtc_probe() 510 return PTR_ERR(rtc_dd->rtc); in pm8xxx_rtc_probe() 512 rtc_dd->rtc->ops = &pm8xxx_rtc_ops; in pm8xxx_rtc_probe() 513 rtc_dd->rtc->range_max = U32_MAX; in pm8xxx_rtc_probe() 522 rc = devm_rtc_register_device(rtc_dd->rtc); in pm8xxx_rtc_probe()
|
/openbmc/qemu/hw/rtc/ |
H A D | meson.build | 8 system_ss.add(when: 'CONFIG_XLNX_ZYNQMP', if_true: files('xlnx-zynqmp-rtc.c')) 11 system_ss.add(when: 'CONFIG_SUN4V_RTC', if_true: files('sun4v-rtc.c')) 15 system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-rtc.c'))
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-6281.dtsi | 68 rtc: rtc@10300 { label 69 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
|
H A D | pxa168.dtsi | 145 rtc: rtc@d4010000 { label 146 compatible = "mrvl,mmp-rtc"; 149 interrupt-names = "rtc 1Hz", "rtc alarm";
|
H A D | pxa910.dtsi | 155 rtc: rtc@d4010000 { label 156 compatible = "mrvl,mmp-rtc"; 159 interrupt-names = "rtc 1Hz", "rtc alarm";
|
/openbmc/qemu/hw/timer/ |
H A D | stellaris-gptm.c | 83 s->rtc++; in gptm_tick() 85 if (s->rtc > match) in gptm_tick() 86 s->rtc = 0; in gptm_tick() 87 if (s->rtc == 0) { in gptm_tick() 141 return s->rtc; in gptm_read() 264 VMSTATE_UINT32(rtc, gptm_state),
|
/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | intersil,isl12022.yaml | 4 $id: http://devicetree.org/schemas/rtc/intersil,isl12022.yaml# 38 - $ref: rtc.yaml# 56 rtc@6f {
|
H A D | st,m41t80.yaml | 4 $id: http://devicetree.org/schemas/rtc/st,m41t80.yaml# 48 - $ref: rtc.yaml 61 rtc@68 {
|
H A D | rtc-palmas.txt | 5 - "ti,palmas-rtc" for palma series of the RTC controller 24 palmas_rtc: rtc { 25 compatible = "ti,palmas-rtc";
|
/openbmc/openbmc/poky/meta/recipes-core/udev/udev-extraconf/ |
H A D | localextra.rules | 16 # The first rtc device is symlinked to /dev/rtc 17 KERNEL=="rtc0", SYMLINK+="rtc"
|
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | microchip,wilc1000.yaml | 27 description: phandle to the clock connected on rtc clock line. 31 const: rtc 71 clock-names = "rtc"; 93 clock-names = "rtc";
|
/openbmc/linux/include/soc/arc/ |
H A D | timers.h | 29 unsigned int pad2:15, rtsc:1, pad1:5, rtc:1, t1:1, t0:1, ver:8; member 31 unsigned int ver:8, t0:1, t1:1, rtc:1, pad1:5, rtsc:1, pad2:15;
|