Home | History | Annotate | Download | only in rtc

Lines Matching refs:emul

120 static int sandbox_i2c_rtc_prepare_read(struct udevice *emul)
122 struct sandbox_i2c_rtc_plat_data *plat = dev_get_platdata(emul);
126 ret = sandbox_i2c_rtc_get(emul, &time);
141 static int sandbox_i2c_rtc_complete_write(struct udevice *emul)
143 struct sandbox_i2c_rtc_plat_data *plat = dev_get_platdata(emul);
155 ret = sandbox_i2c_rtc_set(emul, &time);
162 static int sandbox_i2c_rtc_xfer(struct udevice *emul, struct i2c_msg *msg,
165 struct sandbox_i2c_rtc_plat_data *plat = dev_get_platdata(emul);
170 ret = sandbox_i2c_rtc_prepare_read(emul);
198 reset_time(emul);
201 ret = sandbox_i2c_rtc_complete_write(emul);