Searched refs:pcf8563 (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-pcf8563.c59 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 DMakefile106 obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
H A Drtc-rx4581.c29 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC)
H A Drtc-rx8581.c11 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC)
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dsetup.c130 {I2C_BOARD_INFO("pcf8563", 0x51)},
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-cpuimx35.c70 I2C_BOARD_INFO("pcf8563", 0x51),
H A Dmach-pca100.c182 I2C_BOARD_INFO("pcf8563", 0x51),
H A Dmach-pcm043.c124 I2C_BOARD_INFO("pcf8563", 0x51),
H A Dmach-pcm037.c325 I2C_BOARD_INFO("pcf8563", 0x51),
/linux-4.1.27/arch/avr32/boards/merisc/
H A Dsetup.c168 I2C_BOARD_INFO("pcf8563", 0x51)
/linux-4.1.27/arch/arm/mach-orion5x/
H A Dmv2120-setup.c135 I2C_BOARD_INFO("pcf8563", 0x51),
/linux-4.1.27/arch/arm/mach-ks8695/
H A Dboard-acs5k.c87 I2C_BOARD_INFO("pcf8563", 0x51),
/linux-4.1.27/arch/arm/mach-ixp4xx/
H A Ddsmg600-setup.c87 I2C_BOARD_INFO("pcf8563", 0x51),
H A Dnas100d-setup.c70 I2C_BOARD_INFO("pcf8563", 0x51),
/linux-4.1.27/arch/sh/boards/mach-ap325rxa/
H A Dsetup.c494 I2C_BOARD_INFO("pcf8563", 0x51),

Completed in 425 milliseconds