Lines Matching refs:buf_paddr
345 u64 *buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_peek_estatus() argument
350 rc = apei_read(buf_paddr, &g->error_status_address); in __ghes_peek_estatus()
352 *buf_paddr = 0; in __ghes_peek_estatus()
358 if (!*buf_paddr) in __ghes_peek_estatus()
361 ghes_copy_tofrom_phys(estatus, *buf_paddr, sizeof(*estatus), 1, in __ghes_peek_estatus()
364 *buf_paddr = 0; 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
409 if (!buf_paddr) in ghes_clear_estatus()
412 ghes_copy_tofrom_phys(estatus, buf_paddr, in ghes_clear_estatus()
795 u64 buf_paddr, enum fixed_addresses fixmap_idx) in __ghes_panic() argument
799 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in __ghes_panic()
810 u64 buf_paddr; in ghes_proc() local
813 rc = ghes_read_estatus(ghes, estatus, &buf_paddr, FIX_APEI_GHES_IRQ); in ghes_proc()
818 __ghes_panic(ghes, estatus, buf_paddr, FIX_APEI_GHES_IRQ); in ghes_proc()
827 ghes_clear_estatus(ghes, estatus, buf_paddr, FIX_APEI_GHES_IRQ); in ghes_proc()
987 u64 buf_paddr; in ghes_in_nmi_queue_one_entry() local
993 rc = __ghes_peek_estatus(ghes, &tmp_header, &buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
995 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1001 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1016 if (__ghes_read_estatus(estatus, buf_paddr, fixmap_idx, len)) { in ghes_in_nmi_queue_one_entry()
1017 ghes_clear_estatus(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1025 __ghes_panic(ghes, estatus, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()
1028 ghes_clear_estatus(ghes, &tmp_header, buf_paddr, fixmap_idx); in ghes_in_nmi_queue_one_entry()