Home
last modified time | relevance | path

Searched refs:s35390a (Results 1 – 3 of 3) sorted by relevance

/drivers/rtc/
Drtc-s35390a.c61 struct s35390a { struct
67 static int s35390a_set_reg(struct s35390a *s35390a, int reg, char *buf, int len) in s35390a_set_reg() argument
69 struct i2c_client *client = s35390a->client[reg]; in s35390a_set_reg()
84 static int s35390a_get_reg(struct s35390a *s35390a, int reg, char *buf, int len) in s35390a_get_reg() argument
86 struct i2c_client *client = s35390a->client[reg]; in s35390a_get_reg()
107 static int s35390a_reset(struct s35390a *s35390a, char *status1) in s35390a_reset() argument
113 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, status1, 1); in s35390a_reset()
140 ret = s35390a_set_reg(s35390a, S35390A_CMD_STATUS1, &buf, 1); in s35390a_reset()
145 ret = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, &buf, 1); in s35390a_reset()
161 static int s35390a_disable_test_mode(struct s35390a *s35390a) in s35390a_disable_test_mode() argument
[all …]
DMakefile123 obj-$(CONFIG_RTC_DRV_S35390A) += rtc-s35390a.o
DKconfig512 will be called rtc-s35390a.