Home
last modified time | relevance | path

Searched refs:spa (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dlink.c46 struct spa { struct
87 struct spa *spa; member
100 static void read_irq(struct spa *spa, u64 *dsisr, u64 *dar, u64 *pe) in read_irq() argument
104 *dsisr = in_be64(spa->reg_dsisr); in read_irq()
105 *dar = in_be64(spa->reg_dar); in read_irq()
106 reg = in_be64(spa->reg_pe_handle); in read_irq()
110 static void ack_irq(struct spa *spa, enum xsl_response r) in ack_irq() argument
123 trace_ocxl_fault_ack(spa->spa_mem, spa->xsl_fault.pe, in ack_irq()
124 spa->xsl_fault.dsisr, spa->xsl_fault.dar, reg); in ack_irq()
125 out_be64(spa->reg_tfc, reg); in ack_irq()
[all …]
Dtrace.h12 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
13 TP_ARGS(pid, spa, pasid, pidr, tidr),
17 __field(void*, spa)
25 __entry->spa = spa;
33 __entry->spa,
41 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
42 TP_ARGS(pid, spa, pasid, pidr, tidr)
46 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
47 TP_ARGS(pid, spa, pasid, pidr, tidr)
71 TP_PROTO(void *spa, u64 pe, u64 dsisr, u64 dar, u64 tfc),
[all …]
/kernel/linux/linux-5.10/drivers/acpi/nfit/
Dmce.c40 struct acpi_nfit_system_address *spa = nfit_spa->spa; in nfit_handle_mce() local
42 if (nfit_spa_type(spa) != NFIT_SPA_PM) in nfit_handle_mce()
45 if (spa->address > mce->addr) in nfit_handle_mce()
47 if ((spa->address + spa->length - 1) < mce->addr) in nfit_handle_mce()
51 spa->range_index, spa->address, spa->length); in nfit_handle_mce()
Dcore.c678 int nfit_spa_type(struct acpi_nfit_system_address *spa) in nfit_spa_type() argument
683 if (guid_equal(to_nfit_uuid(i), (guid_t *)&spa->range_guid)) in nfit_spa_type()
690 struct acpi_nfit_system_address *spa) in add_spa() argument
695 if (spa->header.length != sizeof(*spa)) in add_spa()
699 if (memcmp(nfit_spa->spa, spa, sizeof(*spa)) == 0) { in add_spa()
705 nfit_spa = devm_kzalloc(dev, sizeof(*nfit_spa) + sizeof(*spa), in add_spa()
710 memcpy(nfit_spa->spa, spa, sizeof(*spa)); in add_spa()
713 spa->range_index, in add_spa()
714 spa_type_name(nfit_spa_type(spa))); in add_spa()
1000 u16 range_index = nfit_spa->spa->range_index; in nfit_mem_find_spa_bdw()
[all …]
Dnfit.h169 struct acpi_nfit_system_address spa[]; member
304 struct acpi_nfit_system_address *spa; member
330 int nfit_spa_type(struct acpi_nfit_system_address *spa);
/kernel/linux/linux-5.10/tools/testing/nvdimm/test/
Dnfit.c666 struct nd_cmd_translate_spa *spa) in nfit_test_search_spa() argument
673 .addr = spa->spa, in nfit_test_search_spa()
694 spa->devices[0].nfit_device_handle = handle[nvdimm->id]; in nfit_test_search_spa()
695 spa->num_nvdimms = 1; in nfit_test_search_spa()
696 spa->devices[0].dpa = dpa; in nfit_test_search_spa()
702 struct nd_cmd_translate_spa *spa, unsigned int buf_len) in nfit_test_cmd_translate_spa() argument
704 if (buf_len < spa->translate_length) in nfit_test_cmd_translate_spa()
707 if (nfit_test_search_spa(bus, spa) < 0 || !spa->num_nvdimms) in nfit_test_cmd_translate_spa()
708 spa->status = 2; in nfit_test_cmd_translate_spa()
1989 struct acpi_nfit_system_address *spa; in nfit_test0_setup() local
[all …]
Dnfit_test.h44 __u64 spa; member
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/
DIt_posix_pthread.h93 #define CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, res) \ argument
95 { 0 }, det, expl, scp, spa, sco, sta, gua, ssi, desc, NULL, res, \
100 #define CASE_POS(det, expl, scp, spa, sco, sta, gua, ssi, desc) CASE(det, expl, scp, spa, sco, sta,… argument
101 #define CASE_NEG(det, expl, scp, spa, sco, sta, gua, ssi, desc) CASE(det, expl, scp, spa, sco, sta,… argument
102 #define CASE_UNK(det, expl, scp, spa, sco, sta, gua, ssi, desc) CASE(det, expl, scp, spa, sco, sta,… argument
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/
DIt_posix_pthread.h100 #define CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, res) \ argument
102 { 0 }, det, expl, scp, spa, sco, sta, gua, ssi, desc, NULL, res, \
107 #define CASE_POS(det, expl, scp, spa, sco, sta, gua, ssi, desc) CASE(det, expl, scp, spa, sco, sta,… argument
108 #define CASE_NEG(det, expl, scp, spa, sco, sta, gua, ssi, desc) CASE(det, expl, scp, spa, sco, sta,… argument
109 #define CASE_UNK(det, expl, scp, spa, sco, sta, gua, ssi, desc) CASE(det, expl, scp, spa, sco, sta,… argument
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dnative.c244 if (!(afu->native->spa = (struct cxl_process_element *) in cxl_alloc_spa()
259 afu->native->sw_command_status = (__be64 *)((char *)afu->native->spa + in attach_spa()
262 spap = virt_to_phys(afu->native->spa) & CXL_PSL_SPAP_Addr; in attach_spa()
266 afu->native->spa, afu->native->spa_max_procs, in attach_spa()
278 if (afu->native->spa) { in cxl_release_spa()
279 free_pages((unsigned long) afu->native->spa, in cxl_release_spa()
281 afu->native->spa = NULL; in cxl_release_spa()
559 if (afu->native->spa == NULL) { in activate_afu_directed()
841 if (afu->native->spa == NULL) { in cxl_activate_dedicated_process_psl9()
Dcontext.c103 ctx->elem = &ctx->afu->native->spa[i]; in cxl_context_init()
Dcxl.h456 struct cxl_process_element *spa; member
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dpdc.h383 unsigned int spa; /* SPA base address */ member
540 unsigned char spa; member
/kernel/linux/linux-5.10/mm/
Dmemblock.c1254 phys_addr_t spa, epa; in __next_mem_pfn_range_in_zone() local
1259 &spa, &epa, &nid); in __next_mem_pfn_range_in_zone()
1263 unsigned long spfn = PFN_UP(spa); in __next_mem_pfn_range_in_zone()
1286 &spa, &epa, &nid); in __next_mem_pfn_range_in_zone()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dfirmware.c1254 PAGE0->mem_cons.spa, __pa(PAGE0->mem_cons.dp.layers), in pdc_iodc_print()
1282 PAGE0->mem_kbd.spa, __pa(PAGE0->mem_kbd.dp.layers), in pdc_iodc_getc()
Ddrivers.c1050 DO(spa); in qemu_print_iodc_data()
/kernel/linux/linux-5.10/drivers/iommu/amd/
Diommu.c493 u64 spa; in amd_iommu_report_rmp_hw_error() local
498 spa = ((u64)event[3] << 32) | (event[2] & 0xFFFFFFF8); in amd_iommu_report_rmp_hw_error()
507 vmg_tag, spa, flags); in amd_iommu_report_rmp_hw_error()
511 vmg_tag, spa, flags); in amd_iommu_report_rmp_hw_error()
/kernel/linux/linux-5.10/drivers/parisc/
Dsba_iommu.c1555 PAGE0->mem_boot.spa, PAGE0->mem_boot.pad, PAGE0->mem_boot.cl_class); in sba_hw_init()