Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/misc/ocxl/
Dlink.c52 struct spa { struct
95 struct spa *spa; argument
108 static void read_irq(struct spa *spa, u64 *dsisr, u64 *dar, u64 *pe) in read_irq() argument
112 *dsisr = in_be64(spa->reg_dsisr); in read_irq()
113 *dar = in_be64(spa->reg_dar); in read_irq()
114 reg = in_be64(spa->reg_pe_handle); in read_irq()
118 static void ack_irq(struct spa *spa, enum xsl_response r) in ack_irq() argument
131 trace_ocxl_fault_ack(spa->spa_mem, spa->xsl_fault.pe, in ack_irq()
132 spa->xsl_fault.dsisr, spa->xsl_fault.dar, reg); in ack_irq()
133 out_be64(spa->reg_tfc, reg); in ack_irq()
[all …]
Dtrace.h76 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
77 TP_ARGS(pid, spa, pasid, pidr, tidr),
81 __field(void*, spa)
89 __entry->spa = spa;
97 __entry->spa,
105 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
106 TP_ARGS(pid, spa, pasid, pidr, tidr)
110 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
111 TP_ARGS(pid, spa, pasid, pidr, tidr)
135 TP_PROTO(void *spa, u64 pe, u64 dsisr, u64 dar, u64 tfc),
[all …]
/Linux-v6.6/drivers/acpi/nfit/
Dmce.c41 struct acpi_nfit_system_address *spa = nfit_spa->spa; in nfit_handle_mce() local
43 if (nfit_spa_type(spa) != NFIT_SPA_PM) in nfit_handle_mce()
46 if (spa->address > mce->addr) in nfit_handle_mce()
48 if ((spa->address + spa->length - 1) < mce->addr) in nfit_handle_mce()
52 spa->range_index, spa->address, spa->length); in nfit_handle_mce()
Dcore.c679 int nfit_spa_type(struct acpi_nfit_system_address *spa) in nfit_spa_type() argument
684 import_guid(&guid, spa->range_guid); in nfit_spa_type()
691 static size_t sizeof_spa(struct acpi_nfit_system_address *spa) in sizeof_spa() argument
693 if (spa->flags & ACPI_NFIT_LOCATION_COOKIE_VALID) in sizeof_spa()
694 return sizeof(*spa); in sizeof_spa()
695 return sizeof(*spa) - 8; in sizeof_spa()
700 struct acpi_nfit_system_address *spa) in add_spa() argument
705 if (spa->header.length != sizeof_spa(spa)) in add_spa()
709 if (memcmp(nfit_spa->spa, spa, sizeof_spa(spa)) == 0) { in add_spa()
715 nfit_spa = devm_kzalloc(dev, sizeof(*nfit_spa) + sizeof_spa(spa), in add_spa()
[all …]
Dnfit.h169 struct acpi_nfit_system_address spa[]; member
298 struct acpi_nfit_system_address *spa; member
324 int nfit_spa_type(struct acpi_nfit_system_address *spa);
/Linux-v6.6/tools/testing/nvdimm/test/
Dnfit.c663 struct nd_cmd_translate_spa *spa) in nfit_test_search_spa() argument
670 .addr = spa->spa, in nfit_test_search_spa()
691 spa->devices[0].nfit_device_handle = handle[nvdimm->id]; in nfit_test_search_spa()
692 spa->num_nvdimms = 1; in nfit_test_search_spa()
693 spa->devices[0].dpa = dpa; in nfit_test_search_spa()
699 struct nd_cmd_translate_spa *spa, unsigned int buf_len) in nfit_test_cmd_translate_spa() argument
701 if (buf_len < spa->translate_length) in nfit_test_cmd_translate_spa()
704 if (nfit_test_search_spa(bus, spa) < 0 || !spa->num_nvdimms) in nfit_test_cmd_translate_spa()
705 spa->status = 2; in nfit_test_cmd_translate_spa()
1872 static size_t sizeof_spa(struct acpi_nfit_system_address *spa) in sizeof_spa() argument
[all …]
Dnfit_test.h44 __u64 spa; member
/Linux-v6.6/drivers/misc/cxl/
Dnative.c245 if (!(afu->native->spa = (struct cxl_process_element *) in cxl_alloc_spa()
260 afu->native->sw_command_status = (__be64 *)((char *)afu->native->spa + in attach_spa()
263 spap = virt_to_phys(afu->native->spa) & CXL_PSL_SPAP_Addr; in attach_spa()
267 afu->native->spa, afu->native->spa_max_procs, in attach_spa()
274 if (afu->native->spa) { in cxl_release_spa()
275 free_pages((unsigned long) afu->native->spa, in cxl_release_spa()
277 afu->native->spa = NULL; in cxl_release_spa()
555 if (afu->native->spa == NULL) { in activate_afu_directed()
837 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.h458 struct cxl_process_element *spa; member
/Linux-v6.6/arch/parisc/include/uapi/asm/
Dpdc.h388 unsigned int spa; /* SPA base address */ member
547 unsigned char spa; member
/Linux-v6.6/mm/
Dmemblock.c1322 phys_addr_t spa, epa; in __next_mem_pfn_range_in_zone() local
1326 &spa, &epa, NULL); in __next_mem_pfn_range_in_zone()
1330 unsigned long spfn = PFN_UP(spa); in __next_mem_pfn_range_in_zone()
1353 &spa, &epa, NULL); in __next_mem_pfn_range_in_zone()
/Linux-v6.6/arch/parisc/kernel/
Dfirmware.c1386 PAGE0->mem_cons.spa, __pa(PAGE0->mem_cons.dp.layers), in pdc_iodc_print()
1414 PAGE0->mem_kbd.spa, __pa(PAGE0->mem_kbd.dp.layers), in pdc_iodc_getc()
Ddrivers.c1050 DO(spa); in qemu_print_iodc_data()
/Linux-v6.6/drivers/iommu/amd/
Diommu.c476 u64 spa; in amd_iommu_report_rmp_hw_error() local
481 spa = ((u64)event[3] << 32) | (event[2] & 0xFFFFFFF8); in amd_iommu_report_rmp_hw_error()
491 vmg_tag, spa, flags); in amd_iommu_report_rmp_hw_error()
496 vmg_tag, spa, flags); in amd_iommu_report_rmp_hw_error()
/Linux-v6.6/drivers/parisc/
Dsba_iommu.c1565 PAGE0->mem_boot.spa, PAGE0->mem_boot.pad, PAGE0->mem_boot.cl_class); in sba_hw_init()