Searched refs:spi_w8r8 (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/rtc/ |
A D | m41t94.c | 83 ret = spi_w8r8(slave, M41T94_REG_HT); in rtc_get() 93 ret = spi_w8r8(slave, M41T94_REG_SECONDS); in rtc_get() 102 tm->tm_sec = bcd2bin(spi_w8r8(slave, M41T94_REG_SECONDS)); in rtc_get() 103 tm->tm_min = bcd2bin(spi_w8r8(slave, M41T94_REG_MINUTES)); in rtc_get() 104 hour = spi_w8r8(slave, M41T94_REG_HOURS); in rtc_get() 106 tm->tm_wday = bcd2bin(spi_w8r8(slave, M41T94_REG_WDAY)) - 1; in rtc_get() 107 tm->tm_mday = bcd2bin(spi_w8r8(slave, M41T94_REG_DAY)); in rtc_get() 108 tm->tm_mon = bcd2bin(spi_w8r8(slave, M41T94_REG_MONTH)) - 1; in rtc_get() 109 tm->tm_year = bcd2bin(spi_w8r8(slave, M41T94_REG_YEAR)); in rtc_get()
|
A D | ds1306.c | 421 ret = spi_w8r8(slave, reg); in rtc_read()
|
/u-boot/include/ |
A D | spi.h | 367 static inline int spi_w8r8(struct spi_slave *slave, unsigned char byte) in spi_w8r8() function
|
Completed in 4 milliseconds