Searched refs:v3020 (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-v3020.c1 /* drivers/rtc/rtc-v3020.c
28 #include <linux/rtc-v3020.h>
37 struct v3020;
40 int (*map_io)(struct v3020 *chip, struct platform_device *pdev,
42 void (*unmap_io)(struct v3020 *chip);
43 unsigned char (*read_bit)(struct v3020 *chip);
44 void (*write_bit)(struct v3020 *chip, unsigned char bit);
57 struct v3020 { struct
71 static int v3020_mmio_map(struct v3020 *chip, struct platform_device *pdev, v3020_mmio_map()
88 static void v3020_mmio_unmap(struct v3020 *chip) v3020_mmio_unmap()
93 static void v3020_mmio_write_bit(struct v3020 *chip, unsigned char bit) v3020_mmio_write_bit()
98 static unsigned char v3020_mmio_read_bit(struct v3020 *chip) v3020_mmio_read_bit()
117 static int v3020_gpio_map(struct v3020 *chip, struct platform_device *pdev, v3020_gpio_map()
146 static void v3020_gpio_unmap(struct v3020 *chip) v3020_gpio_unmap()
154 static void v3020_gpio_write_bit(struct v3020 *chip, unsigned char bit) v3020_gpio_write_bit()
164 static unsigned char v3020_gpio_read_bit(struct v3020 *chip) v3020_gpio_read_bit()
187 static void v3020_set_reg(struct v3020 *chip, unsigned char address, v3020_set_reg()
210 static unsigned char v3020_get_reg(struct v3020 *chip, unsigned char address) v3020_get_reg()
233 struct v3020 *chip = dev_get_drvdata(dev); v3020_read_time()
270 struct v3020 *chip = dev_get_drvdata(dev); v3020_set_time()
307 struct v3020 *chip; rtc_probe()
325 /* Make sure the v3020 expects a communication cycle rtc_probe()
356 chip->rtc = devm_rtc_device_register(&pdev->dev, "v3020", rtc_probe()
373 struct v3020 *chip = platform_get_drvdata(dev); rtc_remove()
384 .name = "v3020",
393 MODULE_ALIAS("platform:v3020");
H A DMakefile149 obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
/linux-4.1.27/include/linux/
H A Drtc-v3020.h2 * v3020.h - Registers definition and platform data structure for the v3020 RTC.
13 /* The v3020 has only one data pin but which one
/linux-4.1.27/arch/arm/mach-pxa/
H A Dcm-x270.c17 #include <linux/rtc-v3020.h>
142 .name = "v3020",
H A Dcm-x300.c28 #include <linux/rtc-v3020.h>
653 .name = "v3020",
H A Dem-x270.c17 #include <linux/rtc-v3020.h>
257 .name = "v3020",

Completed in 385 milliseconds