Lines Matching refs:fixmap_idx

176 static void __iomem *ghes_map(u64 pfn, enum fixed_addresses fixmap_idx)  in ghes_map()  argument
183 __set_fixmap(fixmap_idx, paddr, prot); in ghes_map()
185 return (void __iomem *) __fix_to_virt(fixmap_idx); in ghes_map()
188 static void ghes_unmap(void __iomem *vaddr, enum fixed_addresses fixmap_idx) in ghes_unmap() argument
192 WARN_ON_ONCE(fixmap_idx != _idx); in ghes_unmap()
193 clear_fixmap(fixmap_idx); in ghes_unmap()
339 enum fixed_addresses fixmap_idx) in ghes_copy_tofrom_phys() argument
347 vaddr = ghes_map(PHYS_PFN(paddr), fixmap_idx); in ghes_copy_tofrom_phys()
357 ghes_unmap(vaddr, fixmap_idx); in ghes_copy_tofrom_phys()
388 u64 *buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_peek_estatus() argument
405 fixmap_idx); in __ghes_peek_estatus()
415 u64 buf_paddr, enum fixed_addresses fixmap_idx, in __ghes_read_estatus() argument
418 ghes_copy_tofrom_phys(estatus, buf_paddr, buf_len, 1, fixmap_idx); in __ghes_read_estatus()
430 u64 *buf_paddr, enum fixed_addresses fixmap_idx) in ghes_read_estatus() argument
434 rc = __ghes_peek_estatus(ghes, estatus, buf_paddr, fixmap_idx); in ghes_read_estatus()
442 return __ghes_read_estatus(estatus, *buf_paddr, fixmap_idx, in ghes_read_estatus()
448 u64 buf_paddr, enum fixed_addresses fixmap_idx) in ghes_clear_estatus() argument
457 fixmap_idx); in ghes_clear_estatus()
1119 u64 buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_panic() argument
1127 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in __ghes_panic()
1299 enum fixed_addresses fixmap_idx) in ghes_in_nmi_queue_one_entry() argument
1310 rc = __ghes_peek_estatus(ghes, &tmp_header, &buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1312 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1318 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1332 if (__ghes_read_estatus(estatus, buf_paddr, fixmap_idx, len)) { in ghes_in_nmi_queue_one_entry()
1333 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1341 __ghes_panic(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1344 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1362 enum fixed_addresses fixmap_idx) in ghes_in_nmi_spool_from_list() argument
1369 if (!ghes_in_nmi_queue_one_entry(ghes, fixmap_idx)) in ghes_in_nmi_spool_from_list()
1477 enum fixed_addresses fixmap_idx) in __ghes_sdei_callback() argument
1479 if (!ghes_in_nmi_queue_one_entry(ghes, fixmap_idx)) { in __ghes_sdei_callback()