Searched refs:rs5c313_write_reg (Results 1 – 1 of 1) sorted by relevance
/drivers/rtc/ |
D | rtc-rs5c313.c | 190 static void rs5c313_write_reg(unsigned char addr, unsigned char data) in rs5c313_write_reg() function 205 rs5c313_write_reg(RS5C313_ADDR_CNTREG, data); in rs5c313_write_cntreg() 210 rs5c313_write_reg(RS5C313_ADDR_INTINTVREG, data); in rs5c313_write_intintvreg() 299 rs5c313_write_reg(RS5C313_ADDR_SEC, data); in rs5c313_rtc_set_time() 300 rs5c313_write_reg(RS5C313_ADDR_SEC10, (data >> 4)); in rs5c313_rtc_set_time() 303 rs5c313_write_reg(RS5C313_ADDR_MIN, data); in rs5c313_rtc_set_time() 304 rs5c313_write_reg(RS5C313_ADDR_MIN10, (data >> 4)); in rs5c313_rtc_set_time() 307 rs5c313_write_reg(RS5C313_ADDR_HOUR, data); in rs5c313_rtc_set_time() 308 rs5c313_write_reg(RS5C313_ADDR_HOUR10, (data >> 4)); in rs5c313_rtc_set_time() 311 rs5c313_write_reg(RS5C313_ADDR_DAY, data); in rs5c313_rtc_set_time() [all …]
|