Lines Matching refs:rtc_diff
95 s64 rtc_diff; member
196 s64 rtc_diff; member
202 .length = sizeof(saved_params.rtc_diff),
203 .value = &saved_params.rtc_diff,
330 pr_debug("%s:%d: p.rtc_diff %lld\n", func, line, p->rtc_diff); in _dump_params()
518 static int __init db_get_rtc_diff(const struct os_area_db *db, int64_t *rtc_diff) in db_get_rtc_diff() argument
520 return db_get_64(db, &os_area_db_id_rtc_diff, (uint64_t*)rtc_diff); in db_get_rtc_diff()
648 db_set_64(db, &os_area_db_id_rtc_diff, saved_params.rtc_diff); in update_flash_db()
752 result = db_verify(db) || db_get_rtc_diff(db, &saved_params.rtc_diff); in ps3_os_area_save_params()
754 saved_params.rtc_diff = params->rtc_diff ? params->rtc_diff in ps3_os_area_save_params()
782 if(!saved_params.rtc_diff) in ps3_os_area_init()
783 saved_params.rtc_diff = SECONDS_FROM_1970_TO_2000; in ps3_os_area_init()
802 return saved_params.rtc_diff; in ps3_os_area_get_rtc_diff()
813 void ps3_os_area_set_rtc_diff(u64 rtc_diff) in ps3_os_area_set_rtc_diff() argument
815 if (saved_params.rtc_diff != rtc_diff) { in ps3_os_area_set_rtc_diff()
816 saved_params.rtc_diff = rtc_diff; in ps3_os_area_set_rtc_diff()