Searched refs:s35390a_set_reg (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/rtc/ |
D | rtc-s35390a.c | 71 static int s35390a_set_reg(struct s35390a *s35390a, int reg, char *buf, int len) in s35390a_set_reg() function 122 ret = s35390a_set_reg(s35390a, S35390A_CMD_STATUS1, &buf, 1); in s35390a_init() 182 return s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, buf, sizeof(buf)); in s35390a_disable_test_mode() 237 err = s35390a_set_reg(s35390a, S35390A_CMD_TIME1, buf, sizeof(buf)); in s35390a_rtc_set_time() 289 err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_set_alarm() 304 err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_set_alarm() 323 err = s35390a_set_reg(s35390a, S35390A_CMD_INT2_REG1, buf, in s35390a_rtc_set_alarm() 472 err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &buf, 1); in s35390a_probe()
|