Lines Matching refs:fixmap_idx
146 static void __iomem *ghes_map(u64 pfn, enum fixed_addresses fixmap_idx) in ghes_map() argument
153 __set_fixmap(fixmap_idx, paddr, prot); in ghes_map()
155 return (void __iomem *) __fix_to_virt(fixmap_idx); in ghes_map()
158 static void ghes_unmap(void __iomem *vaddr, enum fixed_addresses fixmap_idx) in ghes_unmap() argument
162 WARN_ON_ONCE(fixmap_idx != _idx); in ghes_unmap()
163 clear_fixmap(fixmap_idx); in ghes_unmap()
296 enum fixed_addresses fixmap_idx) in ghes_copy_tofrom_phys() argument
304 vaddr = ghes_map(PHYS_PFN(paddr), fixmap_idx); in ghes_copy_tofrom_phys()
314 ghes_unmap(vaddr, fixmap_idx); in ghes_copy_tofrom_phys()
345 u64 *buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_peek_estatus() argument
362 fixmap_idx); in __ghes_peek_estatus()
372 u64 buf_paddr, enum fixed_addresses fixmap_idx, in __ghes_read_estatus() argument
375 ghes_copy_tofrom_phys(estatus, buf_paddr, buf_len, 1, fixmap_idx); in __ghes_read_estatus()
387 u64 *buf_paddr, enum fixed_addresses fixmap_idx) in ghes_read_estatus() argument
391 rc = __ghes_peek_estatus(ghes, estatus, buf_paddr, fixmap_idx); in ghes_read_estatus()
399 return __ghes_read_estatus(estatus, *buf_paddr, fixmap_idx, in ghes_read_estatus()
405 u64 buf_paddr, enum fixed_addresses fixmap_idx) in ghes_clear_estatus() argument
414 fixmap_idx); in ghes_clear_estatus()
842 u64 buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_panic() argument
846 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in __ghes_panic()
1029 enum fixed_addresses fixmap_idx) in ghes_in_nmi_queue_one_entry() argument
1040 rc = __ghes_peek_estatus(ghes, &tmp_header, &buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1042 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1048 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1063 if (__ghes_read_estatus(estatus, buf_paddr, fixmap_idx, len)) { in ghes_in_nmi_queue_one_entry()
1064 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1072 __ghes_panic(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1075 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1093 enum fixed_addresses fixmap_idx) in ghes_in_nmi_spool_from_list() argument
1100 if (!ghes_in_nmi_queue_one_entry(ghes, fixmap_idx)) in ghes_in_nmi_spool_from_list()
1208 enum fixed_addresses fixmap_idx) in __ghes_sdei_callback() argument
1210 if (!ghes_in_nmi_queue_one_entry(ghes, fixmap_idx)) { in __ghes_sdei_callback()