Lines Matching refs:fixmap_idx
160 static void __iomem *ghes_map(u64 pfn, enum fixed_addresses fixmap_idx) in ghes_map() argument
167 __set_fixmap(fixmap_idx, paddr, prot); in ghes_map()
169 return (void __iomem *) __fix_to_virt(fixmap_idx); in ghes_map()
172 static void ghes_unmap(void __iomem *vaddr, enum fixed_addresses fixmap_idx) in ghes_unmap() argument
176 WARN_ON_ONCE(fixmap_idx != _idx); in ghes_unmap()
177 clear_fixmap(fixmap_idx); in ghes_unmap()
310 enum fixed_addresses fixmap_idx) in ghes_copy_tofrom_phys() argument
318 vaddr = ghes_map(PHYS_PFN(paddr), fixmap_idx); in ghes_copy_tofrom_phys()
328 ghes_unmap(vaddr, fixmap_idx); in ghes_copy_tofrom_phys()
359 u64 *buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_peek_estatus() argument
376 fixmap_idx); in __ghes_peek_estatus()
386 u64 buf_paddr, enum fixed_addresses fixmap_idx, in __ghes_read_estatus() argument
389 ghes_copy_tofrom_phys(estatus, buf_paddr, buf_len, 1, fixmap_idx); in __ghes_read_estatus()
401 u64 *buf_paddr, enum fixed_addresses fixmap_idx) in ghes_read_estatus() argument
405 rc = __ghes_peek_estatus(ghes, estatus, buf_paddr, fixmap_idx); in ghes_read_estatus()
413 return __ghes_read_estatus(estatus, *buf_paddr, fixmap_idx, in ghes_read_estatus()
419 u64 buf_paddr, enum fixed_addresses fixmap_idx) in ghes_clear_estatus() argument
428 fixmap_idx); in ghes_clear_estatus()
859 u64 buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_panic() argument
863 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in __ghes_panic()
1046 enum fixed_addresses fixmap_idx) in ghes_in_nmi_queue_one_entry() argument
1057 rc = __ghes_peek_estatus(ghes, &tmp_header, &buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1059 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1065 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1080 if (__ghes_read_estatus(estatus, buf_paddr, fixmap_idx, len)) { in ghes_in_nmi_queue_one_entry()
1081 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1089 __ghes_panic(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1092 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1110 enum fixed_addresses fixmap_idx) in ghes_in_nmi_spool_from_list() argument
1117 if (!ghes_in_nmi_queue_one_entry(ghes, fixmap_idx)) in ghes_in_nmi_spool_from_list()
1225 enum fixed_addresses fixmap_idx) in __ghes_sdei_callback() argument
1227 if (!ghes_in_nmi_queue_one_entry(ghes, fixmap_idx)) { in __ghes_sdei_callback()