Home
last modified time | relevance | path

Searched refs:sRealTimeData (Results 1 – 7 of 7) sorted by relevance

/haiku/src/system/libroot/os/arch/m68k/
H A Dtime.c13 static struct arch_real_time_data *sRealTimeData; variable
18 sRealTimeData = &data->arch_data; in __arch_init_time()
21 sRealTimeData->data[0].system_time_offset = 0; in __arch_init_time()
22 sRealTimeData->system_time_conversion_factor = 1000000000LL; in __arch_init_time()
23 sRealTimeData->version = 0; in __arch_init_time()
26 __m68k_setup_system_time(&sRealTimeData->system_time_conversion_factor); in __arch_init_time()
36 version = sRealTimeData->version; in __arch_get_system_time_offset()
37 offset = sRealTimeData->data[version % 2].system_time_offset; in __arch_get_system_time_offset()
38 } while (version != sRealTimeData->version); in __arch_get_system_time_offset()
/haiku/src/system/libroot/os/arch/ppc/
H A Dtime.c13 static struct arch_real_time_data *sRealTimeData; variable
18 sRealTimeData = &data->arch_data; in __arch_init_time()
21 sRealTimeData->data[0].system_time_offset = 0; in __arch_init_time()
22 sRealTimeData->system_time_conversion_factor = 1000000000LL; in __arch_init_time()
23 sRealTimeData->version = 0; in __arch_init_time()
26 __ppc_setup_system_time(&sRealTimeData->system_time_conversion_factor); in __arch_init_time()
36 version = sRealTimeData->version; in __arch_get_system_time_offset()
37 offset = sRealTimeData->data[version % 2].system_time_offset; in __arch_get_system_time_offset()
38 } while (version != sRealTimeData->version); in __arch_get_system_time_offset()
/haiku/src/system/libroot/os/arch/arm/
H A Dtime.c13 static struct arch_real_time_data *sRealTimeData; variable
18 sRealTimeData = &data->arch_data; in __arch_init_time()
21 sRealTimeData->data[0].system_time_offset = 0; in __arch_init_time()
22 sRealTimeData->system_time_conversion_factor = 1000000000LL; in __arch_init_time()
23 sRealTimeData->version = 0; in __arch_init_time()
26 __arm_setup_system_time(&sRealTimeData->system_time_conversion_factor); in __arch_init_time()
36 version = sRealTimeData->version; in __arch_get_system_time_offset()
37 offset = sRealTimeData->data[version % 2].system_time_offset; in __arch_get_system_time_offset()
38 } while (version != sRealTimeData->version); in __arch_get_system_time_offset()
/haiku/src/system/kernel/
H A Dreal_time_clock.cpp35 static struct real_time_data *sRealTimeData; variable
58 seconds = (arch_rtc_get_system_time_offset(sRealTimeData) + system_time() in rtc_system_to_hw()
79 return arch_rtc_get_system_time_offset(sRealTimeData); in rtc_boot_time()
90 = arch_rtc_get_system_time_offset(sRealTimeData); in rtc_debug()
108 sRealTimeData = (struct real_time_data*)allocate_commpage_entry( in rtc_init()
110 arch_rtc_init(args, sRealTimeData); in rtc_init()
132 arch_rtc_set_system_time_offset(sRealTimeData, currentTime in set_real_time_clock_usecs()
153 return (arch_rtc_get_system_time_offset(sRealTimeData) + system_time()) in real_time_clock()
161 return arch_rtc_get_system_time_offset(sRealTimeData) + system_time(); in real_time_clock_usecs()
262 arch_rtc_get_system_time_offset(sRealTimeData), sTimezoneOffset, in _user_set_timezone()
[all …]
/haiku/src/system/libroot/os/
H A Dtime.cpp23 static struct real_time_data* sRealTimeData; variable
29 sRealTimeData = (struct real_time_data*) in __init_time()
33 __arch_init_time(sRealTimeData, false); in __init_time()
40 return __arch_get_system_time_offset(sRealTimeData); in __get_system_time_offset()
50 return (__arch_get_system_time_offset(sRealTimeData) + system_time()) in real_time_clock()
58 return __arch_get_system_time_offset(sRealTimeData) + system_time(); in real_time_clock_usecs()
/haiku/src/system/libroot/os/arch/riscv64/
H A Dtime.cpp13 static struct arch_real_time_data *sRealTimeData; variable
19 sRealTimeData = &data->arch_data; in __arch_init_time()
22 sRealTimeData->system_time_conversion_factor = 1000000000LL; in __arch_init_time()
24 __riscv64_setup_system_time(sRealTimeData->system_time_conversion_factor); in __arch_init_time()
/haiku/src/system/libroot/os/arch/sparc/
H A Dtime.c13 static struct arch_real_time_data *sRealTimeData; variable
18 sRealTimeData = &data->arch_data; in __arch_init_time()
21 sRealTimeData->system_time_conversion_factor = 1000000000LL; in __arch_init_time()