/linux-master/drivers/rtc/ |
H A D | rtc-ab-b5ze-s3.c | 3 * rtc-ab-b5ze-s3 - Driver for Abracon AB-RTCMC-32.768Khz-B5ZE-S3 12 * This work is based on ISL12057 driver (drivers/rtc/rtc-isl12057.c). 17 #include <linux/rtc.h> 24 #define DRV_NAME "rtc-ab-b5ze-s3" 120 struct rtc_device *rtc; member in struct:abb5zes3_rtc_data 375 * The alarm section does not store year/month. We use the ones in rtc 749 struct rtc_device *rtc = rtc_data->rtc; local 778 rtc_update_irq(rtc, [all...] |
H A D | rtc-abx80x.c | 19 #include <linux/rtc.h> 127 struct rtc_device *rtc; member in struct:abx80x_priv 263 struct rtc_device *rtc = priv->rtc; local 271 rtc_update_irq(rtc, 1, RTC_AF | RTC_IRQF); 747 return devm_rtc_nvmem_register(priv->rtc, &config); 901 priv->rtc = devm_rtc_allocate_device(&client->dev); 902 if (IS_ERR(priv->rtc)) 903 return PTR_ERR(priv->rtc); 905 priv->rtc [all...] |
H A D | rtc-x1205.c | 19 #include <linux/rtc.h> 203 /* year, since the rtc epoch*/ 621 struct rtc_device *rtc; local 631 rtc = devm_rtc_device_register(&client->dev, x1205_driver.driver.name, 634 if (IS_ERR(rtc)) 635 return PTR_ERR(rtc); 637 i2c_set_clientdata(client, rtc); 679 .name = "rtc-x1205",
|
H A D | lib.c | 3 * rtc and date/time utility functions 14 #include <linux/rtc.h>
|
H A D | rtc-fm3130.c | 3 * rtc-fm3130.c - RTC driver for Ramtron FM3130 I2C chip. 11 #include <linux/rtc.h> 51 struct rtc_device *rtc; member in struct:fm3130 503 fm3130->rtc = devm_rtc_device_register(&client->dev, client->name, 505 if (IS_ERR(fm3130->rtc)) { 506 err = PTR_ERR(fm3130->rtc); 518 .name = "rtc-fm3130",
|
H A D | rtc-rs5c372.c | 11 #include <linux/rtc.h> 124 struct rtc_device *rtc; member in struct:rs5c372 226 dev_warn(&client->dev, "rtc oscillator interruption detected. Please reset the rtc clock.\n"); 232 dev_warn(&client->dev, "rtc oscillator interruption detected. Please reset the rtc clock.\n"); 291 /* clear rtc warning bits */ 894 rs5c372->rtc = devm_rtc_device_register(&client->dev, 898 if (IS_ERR(rs5c372->rtc)) { 899 err = PTR_ERR(rs5c372->rtc); [all...] |
/linux-master/drivers/mfd/ |
H A D | max8997.c | 31 { .name = "max8997-rtc", }, 124 * device tree. Other sub-modules of max8997 such as pmic, rtc and others have 176 max8997->rtc = i2c_new_dummy_device(i2c->adapter, I2C_ADDR_RTC); 177 if (IS_ERR(max8997->rtc)) { 179 return PTR_ERR(max8997->rtc); 181 i2c_set_clientdata(max8997->rtc, max8997); 212 * TODO: enable others (flash, muic, rtc, battery, ...) and 227 i2c_unregister_device(max8997->rtc);
|
H A D | 88pm800.c | 125 DEFINE_RES_IRQ_NAMED(PM800_IRQ_RTC, "88pm80x-rtc"), 130 .name = "88pm80x-rtc", 327 rtc_devs[0].platform_data = pdata->rtc; 329 pdata->rtc ? sizeof(struct pm80x_rtc_pdata) : 0; 334 dev_err(chip->dev, "Failed to add rtc subdev\n"); 486 if (pdata && pdata->rtc) 487 pdata->rtc->rtc_wakeup = 1; 512 dev_err(chip->dev, "Failed to add rtc subdev\n");
|
H A D | menelaus.c | 28 #include <linux/rtc.h> 158 struct rtc_device *rtc; member in struct:menelaus_chip 881 dev_err(&the_menelaus->client->dev, "rtc write reg %02x, err %d\n", 927 dev_err(&the_menelaus->client->dev, "rtc write reg %02x " 935 dev_err(&the_menelaus->client->dev, "rtc commit time, err %d\n", 1012 rtc_update_irq(m->rtc, 1, RTC_IRQF | RTC_UF); 1074 rtc_update_irq(m->rtc, 1, RTC_IRQF | RTC_AF); 1092 m->rtc = devm_rtc_allocate_device(&m->client->dev); 1093 if (IS_ERR(m->rtc)) 1096 m->rtc [all...] |
H A D | max8925-core.c | 73 .name = "max8925-rtc", 82 .name = "max8925-rtc", 485 i2c = chip->rtc; 514 i2c = chip->rtc; 604 max8925_reg_write(chip->rtc, MAX8925_RTC_IRQ_MASK, irq_rtc); 666 max8925_reg_read(chip->rtc, MAX8925_RTC_IRQ); 669 max8925_reg_write(chip->rtc, MAX8925_ALARM0_CNTL, 0); 670 max8925_reg_write(chip->rtc, MAX8925_ALARM1_CNTL, 0); 675 max8925_reg_write(chip->rtc, MAX8925_RTC_IRQ_MASK, 0xff); 847 max8925_set_bits(chip->rtc, MAX8925_MPL_CNT [all...] |
/linux-master/arch/m68k/sun3x/ |
H A D | time.c | 14 #include <linux/rtc.h>
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_coredump.h | 15 #include <linux/rtc.h>
|
/linux-master/arch/m68k/kernel/ |
H A D | time.c | 23 #include <linux/rtc.h> 144 pdev = platform_device_register_data(NULL, "rtc-generic", -1,
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | Makefile | 12 obj-y += idle.o opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
|
/linux-master/arch/powerpc/platforms/8xx/ |
H A D | m8xx_setup.c | 18 #include <linux/rtc.h>
|
/linux-master/arch/mips/sgi-ip32/ |
H A D | ip32-reset.c | 20 #include <linux/rtc/ds1685.h> 55 request_module("rtc-ds1685");
|
/linux-master/arch/x86/include/asm/ |
H A D | x86_init.h | 236 * @rtc: this device has a CMOS real-time clock present 245 int rtc; member in struct:x86_legacy_features
|
/linux-master/arch/x86/kernel/ |
H A D | rtc.c | 149 if (!x86_platform.legacy.rtc)
|
/linux-master/arch/sh/boards/ |
H A D | of-generic.c | 16 #include <asm/rtc.h>
|
/linux-master/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 244 * event on the rtc device. */ 245 struct device *rtc = bus_find_device_by_name( local 247 if (rtc) { 248 pm_wakeup_event(rtc, 0); 249 put_device(rtc);
|
/linux-master/drivers/clk/mxs/ |
H A D | clk-imx23.c | 84 emi_xtal, etm_div, saif_div, clk32k_div, rtc, adc, spdif_div, enumerator in enum:imx23_clk 137 clks[rtc] = mxs_clk_fixed_factor("rtc", "ref_xtal", 1, 768);
|
/linux-master/drivers/soc/ti/ |
H A D | pm33xx.c | 23 #include <linux/rtc.h> 24 #include <linux/rtc/rtc-omap.h> 183 * Note that the RTC module clock must be re-enabled only for rtc+ddr suspend. 185 * by the interconnect code just fine for both rtc+ddr suspend and retention 443 np = of_find_node_by_name(NULL, "rtc"); 453 pr_warn("PM: could not iomap rtc"); 471 pr_warn("PM: bootloader does not support rtc-only!\n"); 480 pr_warn("PM: no-rtc available, rtc [all...] |
/linux-master/include/linux/mfd/wm8350/ |
H A D | rtc.h | 3 * rtc.h -- RTC driver for Wolfson WM8350 PMIC 260 struct rtc_device *rtc; member in struct:wm8350_rtc
|
/linux-master/include/linux/mfd/ |
H A D | max8925.h | 196 struct i2c_client *rtc; member in struct:max8925_chip
|
/linux-master/arch/um/drivers/ |
H A D | rtc_kern.c | 10 #include <linux/rtc.h> 14 #include "rtc.h" 125 uml_rtc_interrupt, 0, "rtc", NULL); 182 .name = "uml-rtc", 195 pdev = platform_device_alloc("uml-rtc", 0);
|