Searched refs:pcf8563 (Results 1 - 15 of 15) sorted by relevance
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-pcf8563.c | 59 struct pcf8563 { struct 172 struct pcf8563 *pcf8563 = i2c_get_clientdata(dev_id); pcf8563_irq() local 176 err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending); pcf8563_irq() 181 rtc_update_irq(pcf8563->rtc, 1, RTC_IRQF | RTC_AF); pcf8563_irq() 182 pcf8563_set_alarm_mode(pcf8563->client, 1); pcf8563_irq() 190 * In the routines that deal directly with the pcf8563 hardware, we use 195 struct pcf8563 *pcf8563 = i2c_get_clientdata(client); pcf8563_get_datetime() local 204 pcf8563->voltage_low = 1; pcf8563_get_datetime() 228 pcf8563->c_polarity = (buf[PCF8563_REG_MO] & PCF8563_MO_C) ? pcf8563_get_datetime() 248 struct pcf8563 *pcf8563 = i2c_get_clientdata(client); pcf8563_set_datetime() local 269 if (pcf8563->c_polarity ? (tm->tm_year >= 100) : (tm->tm_year < 100)) pcf8563_set_datetime() 281 struct pcf8563 *pcf8563 = i2c_get_clientdata(to_i2c_client(dev)); pcf8563_rtc_ioctl() local 286 if (pcf8563->voltage_low) pcf8563_rtc_ioctl() 289 if (copy_to_user((void __user *)arg, &pcf8563->voltage_low, pcf8563_rtc_ioctl() 305 pcf8563->voltage_low = 0; pcf8563_rtc_ioctl() 410 struct pcf8563 *pcf8563; pcf8563_probe() local 420 pcf8563 = devm_kzalloc(&client->dev, sizeof(struct pcf8563), pcf8563_probe() 422 if (!pcf8563) pcf8563_probe() 427 i2c_set_clientdata(client, pcf8563); pcf8563_probe() 428 pcf8563->client = client; pcf8563_probe() 447 pcf8563->rtc = devm_rtc_device_register(&client->dev, pcf8563_probe() 451 if (IS_ERR(pcf8563->rtc)) pcf8563_probe() 452 return PTR_ERR(pcf8563->rtc); pcf8563_probe() 458 pcf8563->rtc->name, client); pcf8563_probe() 467 /* the pcf8563 alarm only supports a minute accuracy */ pcf8563_probe() 468 pcf8563->rtc->uie_unsupported = 1; pcf8563_probe() 474 { "pcf8563", 0 }, 482 { .compatible = "nxp,pcf8563" }, 490 .name = "rtc-pcf8563",
|
H A D | Makefile | 106 obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
|
H A D | rtc-rx4581.c | 29 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC)
|
H A D | rtc-rx8581.c | 11 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC)
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
H A D | setup.c | 130 {I2C_BOARD_INFO("pcf8563", 0x51)},
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | mach-cpuimx35.c | 70 I2C_BOARD_INFO("pcf8563", 0x51),
|
H A D | mach-pca100.c | 182 I2C_BOARD_INFO("pcf8563", 0x51),
|
H A D | mach-pcm043.c | 124 I2C_BOARD_INFO("pcf8563", 0x51),
|
H A D | mach-pcm037.c | 325 I2C_BOARD_INFO("pcf8563", 0x51),
|
/linux-4.1.27/arch/avr32/boards/merisc/ |
H A D | setup.c | 168 I2C_BOARD_INFO("pcf8563", 0x51)
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
H A D | mv2120-setup.c | 135 I2C_BOARD_INFO("pcf8563", 0x51),
|
/linux-4.1.27/arch/arm/mach-ks8695/ |
H A D | board-acs5k.c | 87 I2C_BOARD_INFO("pcf8563", 0x51),
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
H A D | dsmg600-setup.c | 87 I2C_BOARD_INFO("pcf8563", 0x51),
|
H A D | nas100d-setup.c | 70 I2C_BOARD_INFO("pcf8563", 0x51),
|
/linux-4.1.27/arch/sh/boards/mach-ap325rxa/ |
H A D | setup.c | 494 I2C_BOARD_INFO("pcf8563", 0x51),
|
Completed in 342 milliseconds