18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _INTEL_MID_VRTC_H
38c2ecf20Sopenharmony_ci#define _INTEL_MID_VRTC_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciextern unsigned char vrtc_cmos_read(unsigned char reg);
68c2ecf20Sopenharmony_ciextern void vrtc_cmos_write(unsigned char val, unsigned char reg);
78c2ecf20Sopenharmony_ciextern void vrtc_get_time(struct timespec64 *now);
88c2ecf20Sopenharmony_ciextern int vrtc_set_mmss(const struct timespec64 *now);
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#endif
11