Home
last modified time | relevance | path

Searched refs:rs5c372 (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-rs5c372.c122 struct rs5c372 { struct
133 static int rs5c_get_regs(struct rs5c372 *rs5c) in rs5c_get_regs()
182 static unsigned rs5c_reg2hr(struct rs5c372 *rs5c, unsigned reg) in rs5c_reg2hr()
197 static unsigned rs5c_hr2reg(struct rs5c372 *rs5c, unsigned hour) in rs5c_hr2reg()
214 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c372_rtc_read_time()
262 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c372_rtc_set_time()
326 struct rs5c372 *rs5c372 = i2c_get_clientdata(client); in rs5c372_get_trim() local
327 u8 tmp = rs5c372->regs[RS5C372_REG_TRIM]; in rs5c372_get_trim()
330 if (rs5c372 in rs5c372_get_trim()
738 rs5c_oscillator_setup(struct rs5c372 *rs5c372) rs5c_oscillator_setup() argument
798 struct rs5c372 *rs5c372; rs5c372_probe() local
[all...]
H A DMakefile144 obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-rs5c372.c120 struct rs5c372 { struct
131 static int rs5c_get_regs(struct rs5c372 *rs5c) in rs5c_get_regs()
180 static unsigned rs5c_reg2hr(struct rs5c372 *rs5c, unsigned reg) in rs5c_reg2hr()
195 static unsigned rs5c_hr2reg(struct rs5c372 *rs5c, unsigned hour) in rs5c_hr2reg()
212 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c372_rtc_read_time()
260 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c372_rtc_set_time()
324 struct rs5c372 *rs5c372 = i2c_get_clientdata(client); in rs5c372_get_trim() local
325 u8 tmp = rs5c372->regs[RS5C372_REG_TRIM]; in rs5c372_get_trim()
354 struct rs5c372 *rs5 in rs5c_rtc_alarm_irq_enable()
559 rs5c_oscillator_setup(struct rs5c372 *rs5c372) rs5c_oscillator_setup() argument
620 struct rs5c372 *rs5c372; rs5c372_probe() local
[all...]
H A DMakefile140 obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o

Completed in 3 milliseconds