Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/rtc/
Drtc-fm3130.c48 struct fm3130 { struct
70 struct fm3130 *fm3130 = dev_get_drvdata(dev); in fm3130_rtc_mode() local
72 fm3130->regs[FM3130_RTC_CONTROL] = in fm3130_rtc_mode()
73 i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL); in fm3130_rtc_mode()
76 fm3130->regs[FM3130_RTC_CONTROL] &= in fm3130_rtc_mode()
81 fm3130->regs[FM3130_RTC_CONTROL] |= FM3130_RTC_CONTROL_BIT_WRITE; in fm3130_rtc_mode()
84 fm3130->regs[FM3130_RTC_CONTROL] |= FM3130_RTC_CONTROL_BIT_READ; in fm3130_rtc_mode()
91 i2c_smbus_write_byte_data(fm3130->client, in fm3130_rtc_mode()
92 FM3130_RTC_CONTROL, fm3130->regs[FM3130_RTC_CONTROL]); in fm3130_rtc_mode()
97 struct fm3130 *fm3130 = dev_get_drvdata(dev); in fm3130_get_time() local
[all …]
DMakefile71 obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o
DKconfig591 will be called rtc-fm3130.