Lines Matching refs:rs5c313_write_reg
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()
312 rs5c313_write_reg(RS5C313_ADDR_DAY10, (data >> 4)); in rs5c313_rtc_set_time()
315 rs5c313_write_reg(RS5C313_ADDR_MON, data); in rs5c313_rtc_set_time()
316 rs5c313_write_reg(RS5C313_ADDR_MON10, (data >> 4)); in rs5c313_rtc_set_time()
319 rs5c313_write_reg(RS5C313_ADDR_YEAR, data); in rs5c313_rtc_set_time()
320 rs5c313_write_reg(RS5C313_ADDR_YEAR10, (data >> 4)); in rs5c313_rtc_set_time()
323 rs5c313_write_reg(RS5C313_ADDR_WEEK, data); in rs5c313_rtc_set_time()