Lines Matching refs:platform_timer
26 * @platform_timer: The pointer to the start of Platform Timer Structure
34 void *platform_timer;
39 static inline __init void *next_platform_timer(void *platform_timer)
41 struct acpi_gtdt_header *gh = platform_timer;
43 platform_timer += gh->length;
44 if (platform_timer < acpi_gtdt_desc.gtdt_end)
45 return platform_timer;
51 for (_g = acpi_gtdt_desc.platform_timer; _g; \
54 static inline bool is_timer_block(void *platform_timer)
56 struct acpi_gtdt_header *gh = platform_timer;
61 static inline bool is_non_secure_watchdog(void *platform_timer)
63 struct acpi_gtdt_header *gh = platform_timer;
64 struct acpi_gtdt_watchdog *wd = platform_timer;
158 void *platform_timer;
164 acpi_gtdt_desc.platform_timer = NULL;
179 platform_timer = (void *)gtdt + gtdt->platform_timer_offset;
180 if (platform_timer < (void *)table + sizeof(struct acpi_table_gtdt)) {
184 acpi_gtdt_desc.platform_timer = platform_timer;
305 void *platform_timer;
308 for_each_platform_timer(platform_timer) {
309 if (is_timer_block(platform_timer)) {
310 ret = gtdt_parse_timer_block(platform_timer, timer_mem);
378 void *platform_timer;
401 for_each_platform_timer(platform_timer) {
402 if (is_non_secure_watchdog(platform_timer)) {
403 ret = gtdt_import_sbsa_gwdt(platform_timer, gwdt_count);