Home
last modified time | relevance | path

Searched refs:DEV_TYPE (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/rtc/
Ds35392a.c65 #define DEV_TYPE struct udevice macro
72 #define DEV_TYPE struct ludevice macro
81 static int s35392a_rtc_reset(DEV_TYPE *dev);
83 static int s35392a_rtc_read(DEV_TYPE *dev, u8 reg, u8 *buf, int len) in s35392a_rtc_read()
98 static int s35392a_rtc_write(DEV_TYPE *dev, u8 reg, u8 *buf, int len) in s35392a_rtc_write()
113 static int s35392a_rtc_read8(DEV_TYPE *dev, unsigned int reg) in s35392a_rtc_read8()
122 static int s35392a_rtc_write8(DEV_TYPE *dev, unsigned int reg, int val) in s35392a_rtc_write8()
157 void s35392a_rtc_init(DEV_TYPE *dev) in s35392a_rtc_init()
193 static int s35392a_rtc_get(DEV_TYPE *dev, struct rtc_time *tm) in s35392a_rtc_get()
229 static int s35392a_rtc_set(DEV_TYPE *dev, const struct rtc_time *tm) in s35392a_rtc_set()
[all …]
Drx8010sj.c80 #define DEV_TYPE struct udevice macro
89 #define DEV_TYPE struct ludevice macro
93 static int rx8010sj_rtc_read8(DEV_TYPE *dev, unsigned int reg) in rx8010sj_rtc_read8()
107 static int rx8010sj_rtc_write8(DEV_TYPE *dev, unsigned int reg, int val) in rx8010sj_rtc_write8()
147 void rx8010sj_rtc_init(DEV_TYPE *dev) in rx8010sj_rtc_init()
205 static int rx8010sj_rtc_get(DEV_TYPE *dev, struct rtc_time *tmp) in rx8010sj_rtc_get()
249 static int rx8010sj_rtc_set(DEV_TYPE *dev, const struct rtc_time *tm) in rx8010sj_rtc_set()
304 static int rx8010sj_rtc_reset(DEV_TYPE *dev) in rx8010sj_rtc_reset()