• Home
  • Raw
  • Download

Lines Matching refs:gtdt_frame

196 	struct acpi_gtdt_timer_entry *gtdt_frame;  in gtdt_parse_timer_block()  local
217 gtdt_frame = (void *)block + block->timer_offset; in gtdt_parse_timer_block()
218 if (gtdt_frame + block->timer_count != (void *)block + block->header.length) in gtdt_parse_timer_block()
224 for (i = 0; i < block->timer_count; i++, gtdt_frame++) { in gtdt_parse_timer_block()
225 if (gtdt_frame->common_flags & ACPI_GTDT_GT_IS_SECURE_TIMER) in gtdt_parse_timer_block()
227 if (gtdt_frame->frame_number >= ARCH_TIMER_MEM_MAX_FRAMES || in gtdt_parse_timer_block()
228 !gtdt_frame->base_address || !gtdt_frame->timer_interrupt) in gtdt_parse_timer_block()
231 frame = &timer_mem->frame[gtdt_frame->frame_number]; in gtdt_parse_timer_block()
237 frame->phys_irq = map_gt_gsi(gtdt_frame->timer_interrupt, in gtdt_parse_timer_block()
238 gtdt_frame->timer_flags); in gtdt_parse_timer_block()
241 gtdt_frame->frame_number); in gtdt_parse_timer_block()
245 if (gtdt_frame->virtual_timer_interrupt) { in gtdt_parse_timer_block()
247 map_gt_gsi(gtdt_frame->virtual_timer_interrupt, in gtdt_parse_timer_block()
248 gtdt_frame->virtual_timer_flags); in gtdt_parse_timer_block()
251 gtdt_frame->frame_number); in gtdt_parse_timer_block()
256 gtdt_frame->frame_number); in gtdt_parse_timer_block()
259 frame->cntbase = gtdt_frame->base_address; in gtdt_parse_timer_block()
273 if (gtdt_frame->common_flags & ACPI_GTDT_GT_IS_SECURE_TIMER || in gtdt_parse_timer_block()
274 gtdt_frame->frame_number >= ARCH_TIMER_MEM_MAX_FRAMES) in gtdt_parse_timer_block()
277 frame = &timer_mem->frame[gtdt_frame->frame_number]; in gtdt_parse_timer_block()
280 acpi_unregister_gsi(gtdt_frame->timer_interrupt); in gtdt_parse_timer_block()
284 acpi_unregister_gsi(gtdt_frame->virtual_timer_interrupt); in gtdt_parse_timer_block()
286 } while (i-- >= 0 && gtdt_frame--); in gtdt_parse_timer_block()