Home
last modified time | relevance | path

Searched refs:pmem (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/nvdimm/
H A Dpmem.c34 static struct device *to_dev(struct pmem_device *pmem) in to_dev() argument
40 return pmem->bb.dev; in to_dev()
43 static struct nd_region *to_region(struct pmem_device *pmem) in to_region() argument
45 return to_nd_region(to_dev(pmem)->parent); in to_region()
48 static phys_addr_t pmem_to_phys(struct pmem_device *pmem, phys_addr_t offset) in pmem_to_phys() argument
50 return pmem->phys_addr + offset; in pmem_to_phys()
53 static sector_t to_sect(struct pmem_device *pmem, phys_addr_t offset) in to_sect() argument
55 return (offset - pmem->data_offset) >> SECTOR_SHIFT; in to_sect()
58 static phys_addr_t to_offset(struct pmem_device *pmem, sector_t sector) in to_offset() argument
60 return (sector << SECTOR_SHIFT) + pmem->data_offset; in to_offset()
[all …]
H A DMakefile10 nd_pmem-y := pmem.o
H A DKconfig109 pmem-region device tree nodes would be managed by this driver as DIMM
114 The driver should be force bound to e820_pmem or pmem-region platform
137 (with the page array stored pmem) created with this build of
/linux/tools/testing/nvdimm/
H A Dpmem-dax.c8 #include <pmem.h>
11 long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff, in __pmem_direct_access() argument
15 resource_size_t offset = PFN_PHYS(pgoff) + pmem->data_offset; in __pmem_direct_access()
17 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, in __pmem_direct_access()
25 if (get_nfit_res(pmem->phys_addr + offset)) { in __pmem_direct_access()
29 *kaddr = pmem->virt_addr + offset; in __pmem_direct_access()
30 page = vmalloc_to_page(pmem->virt_addr + offset); in __pmem_direct_access()
33 pr_debug_ratelimited("%s: pmem: %p pgoff: %#lx pfn: %#lx\n", in __pmem_direct_access()
34 __func__, pmem, pgoff, page_to_pfn(page)); in __pmem_direct_access()
40 *kaddr = pmem in __pmem_direct_access()
[all...]
H A DKbuild44 nd_pmem-y := $(NVDIMM_SRC)/pmem.o
45 nd_pmem-y += pmem-dax.o
64 dax_pmem-y := $(DAX_SRC)/pmem.o
H A Dpmem_test.c8 nfit_test_watermark(pmem);
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c58 struct mm_iommu_table_group_mem_t **pmem) in mm_iommu_do_alloc() argument
169 *pmem = mem; in mm_iommu_do_alloc()
187 struct mm_iommu_table_group_mem_t **pmem) in mm_iommu_new() argument
190 pmem); in mm_iommu_new()
196 struct mm_iommu_table_group_mem_t **pmem) in mm_iommu_newdev() argument
198 return mm_iommu_do_alloc(mm, ua, entries, dev_hpa, pmem); in mm_iommu_newdev()
/linux/drivers/firmware/
H A Dstratix10-svc.c319 struct stratix10_svc_data_mem *pmem; in svc_pa_to_va() local
323 list_for_each_entry(pmem, &svc_data_mem, node) in svc_pa_to_va()
324 if (pmem->paddr == addr) in svc_pa_to_va()
325 return pmem->vaddr; in svc_pa_to_va()
1855 struct stratix10_svc_data_mem *pmem; in stratix10_svc_allocate_memory() local
1861 pmem = kzalloc_obj(*pmem); in stratix10_svc_allocate_memory()
1862 if (!pmem) in stratix10_svc_allocate_memory()
1868 kfree(pmem); in stratix10_svc_allocate_memory()
1875 pmem->vaddr = (void *)va; in stratix10_svc_allocate_memory()
1876 pmem->paddr = pa; in stratix10_svc_allocate_memory()
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pemx-defs.h442 uint64_t pmem:1; member
450 uint64_t pmem:1;
481 uint64_t pmem:1; member
489 uint64_t pmem:1;
520 uint64_t pmem:1; member
528 uint64_t pmem:1;
/linux/tools/testing/cxl/
H A DKbuild36 cxl_pmem-y := $(CXL_SRC)/pmem.o
57 cxl_core-y += $(CXL_CORE_SRC)/pmem.o
/linux/drivers/cxl/
H A DMakefile19 cxl_pmem-y := pmem.o security.o
/linux/arch/powerpc/include/asm/
H A Dmmu_context.h27 struct mm_iommu_table_group_mem_t **pmem);
30 struct mm_iommu_table_group_mem_t **pmem);
/linux/Documentation/ABI/removed/
H A Dsysfs-bus-nfit10 Scrub) operation across every pmem range. Part of that process
/linux/Documentation/driver-api/cxl/
H A Dtheory-of-operation.rst374 .. kernel-doc:: drivers/cxl/core/pmem.c
375 :doc: cxl pmem
377 .. kernel-doc:: drivers/cxl/core/pmem.c
/linux/drivers/net/can/softing/
H A Dsofting_fw.c94 static int fw_parse(const u8 **pmem, const u8 *limit, u16 *ptype, in fw_parse() argument
116 mem = *pmem; in fw_parse()
136 *pmem += 10 + *plen; in fw_parse()
/linux/tools/perf/util/
H A Dbpf-filter.l143 pmem { return constant(PERF_MEM_LVLNUM_PMEM); }
/linux/drivers/message/fusion/
H A Dmptctl.c1368 char *pmem; in mptctl_gettargetinfo() local
1408 pmem = kzalloc(numBytes, GFP_KERNEL); in mptctl_gettargetinfo()
1409 if (!pmem) { in mptctl_gettargetinfo()
1414 pdata = (int *) pmem; in mptctl_gettargetinfo()
1445 kfree(pmem); in mptctl_gettargetinfo()
1451 if (copy_to_user(uarg->targetInfo, pmem, numBytes)) { in mptctl_gettargetinfo()
1455 kfree(pmem); in mptctl_gettargetinfo()
1459 kfree(pmem); in mptctl_gettargetinfo()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-papr-pmem7 papr-pmem NVDIMM device. Each flag maps to a one or
H A Dsysfs-bus-cxl66 What: /sys/bus/cxl/devices/memX/pmem/size
76 What: /sys/bus/cxl/devices/memX/pmem/qos_class
349 split into a 'ram' (volatile memory) range and 'pmem'
351 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is
356 state, with either 'ram' or 'pmem' to set the boundaries for the
421 KernelVersion: v6.0 (pmem), v6.3 (ram)
/linux/Documentation/nvdimm/
H A Dmaintainer-entry-profile.rst31 https://github.com/pmem/ndctl
/linux/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c298 u32 pmem, patt; in stm32_fmc2_nfc_timings_init() local
307 pmem = FIELD_PREP(FMC2_PMEM_MEMSET, timings->tset_mem); in stm32_fmc2_nfc_timings_init()
308 pmem |= FIELD_PREP(FMC2_PMEM_MEMWAIT, timings->twait); in stm32_fmc2_nfc_timings_init()
309 pmem |= FIELD_PREP(FMC2_PMEM_MEMHOLD, timings->thold_mem); in stm32_fmc2_nfc_timings_init()
310 pmem |= FIELD_PREP(FMC2_PMEM_MEMHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init()
311 regmap_write(nfc->regmap, FMC2_PMEM, pmem); in stm32_fmc2_nfc_timings_init()
/linux/Documentation/driver-api/nvdimm/
H A Dfirmware-activate.rst86 [1]: https://docs.pmem.io/persistent-memory/
H A Dsecurity.rst141 [1]: https://pmem.io/documents/NVDIMM_DSM_Interface-V1.8.pdf
/linux/Documentation/admin-guide/device-mapper/
H A Dwritecache.rst36 autocommit_blocks n (default: 64 for pmem, 65536 for ssd)
/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c391 unsigned long *phpa, struct mm_iommu_table_group_mem_t **pmem) in tce_iommu_prereg_ua_to_hpa() argument
404 *pmem = mem; in tce_iommu_prereg_ua_to_hpa()

12