Searched refs:s35390a_get_reg (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/rtc/ |
D | rtc-s35390a.c | 91 static int s35390a_get_reg(struct s35390a *s35390a, int reg, char *buf, int len) in s35390a_get_reg() function 130 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, &buf, 1); in s35390a_init() 155 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, status1, 1); in s35390a_read_status() 178 if (s35390a_get_reg(s35390a, S35390A_CMD_STATUS2, buf, sizeof(buf)) < 0) in s35390a_disable_test_mode() 255 err = s35390a_get_reg(s35390a, S35390A_CMD_TIME1, buf, sizeof(buf)); in s35390a_rtc_read_time() 297 err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, &sts, sizeof(sts)); in s35390a_rtc_set_alarm() 342 err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_read_alarm() 357 err = s35390a_get_reg(s35390a, S35390A_CMD_INT2_REG1, buf, sizeof(buf)); in s35390a_rtc_read_alarm()
|