Searched refs:fm3130 (Results 1 – 3 of 3) sorted by relevance
48 struct fm3130 { struct70 struct fm3130 *fm3130 = dev_get_drvdata(dev); in fm3130_rtc_mode() local72 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 …]
71 obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o
591 will be called rtc-fm3130.