Lines Matching refs:rtc_diff
97 s64 rtc_diff; member
198 s64 rtc_diff; member
204 .length = sizeof(saved_params.rtc_diff),
205 .value = &saved_params.rtc_diff,
332 pr_debug("%s:%d: p.rtc_diff %lld\n", func, line, p->rtc_diff); in _dump_params()
520 static int db_get_rtc_diff(const struct os_area_db *db, int64_t *rtc_diff) in db_get_rtc_diff() argument
522 return db_get_64(db, &os_area_db_id_rtc_diff, (uint64_t*)rtc_diff); in db_get_rtc_diff()
650 db_set_64(db, &os_area_db_id_rtc_diff, saved_params.rtc_diff); in update_flash_db()
754 result = db_verify(db) || db_get_rtc_diff(db, &saved_params.rtc_diff); in ps3_os_area_save_params()
756 saved_params.rtc_diff = params->rtc_diff ? params->rtc_diff in ps3_os_area_save_params()
784 if(!saved_params.rtc_diff) in ps3_os_area_init()
785 saved_params.rtc_diff = SECONDS_FROM_1970_TO_2000; in ps3_os_area_init()
804 return saved_params.rtc_diff; in ps3_os_area_get_rtc_diff()
815 void ps3_os_area_set_rtc_diff(u64 rtc_diff) in ps3_os_area_set_rtc_diff() argument
817 if (saved_params.rtc_diff != rtc_diff) { in ps3_os_area_set_rtc_diff()
818 saved_params.rtc_diff = rtc_diff; in ps3_os_area_set_rtc_diff()