| /linux/drivers/nvdimm/ |
| H A D | pmem.c | 34 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 D | Makefile | 10 nd_pmem-y := pmem.o
|
| H A D | Kconfig | 109 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 D | pmem-dax.c | 8 #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 D | Kbuild | 44 nd_pmem-y := $(NVDIMM_SRC)/pmem.o 45 nd_pmem-y += pmem-dax.o 64 dax_pmem-y := $(DAX_SRC)/pmem.o
|
| H A D | pmem_test.c | 8 nfit_test_watermark(pmem);
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | iommu_api.c | 58 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 D | stratix10-svc.c | 319 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 D | cvmx-pemx-defs.h | 442 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 D | Kbuild | 36 cxl_pmem-y := $(CXL_SRC)/pmem.o 57 cxl_core-y += $(CXL_CORE_SRC)/pmem.o
|
| /linux/drivers/cxl/ |
| H A D | Makefile | 19 cxl_pmem-y := pmem.o security.o
|
| /linux/arch/powerpc/include/asm/ |
| H A D | mmu_context.h | 27 struct mm_iommu_table_group_mem_t **pmem); 30 struct mm_iommu_table_group_mem_t **pmem);
|
| /linux/Documentation/ABI/removed/ |
| H A D | sysfs-bus-nfit | 10 Scrub) operation across every pmem range. Part of that process
|
| /linux/Documentation/driver-api/cxl/ |
| H A D | theory-of-operation.rst | 374 .. 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 D | softing_fw.c | 94 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 D | bpf-filter.l | 143 pmem { return constant(PERF_MEM_LVLNUM_PMEM); }
|
| /linux/drivers/message/fusion/ |
| H A D | mptctl.c | 1368 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 D | sysfs-bus-papr-pmem | 7 papr-pmem NVDIMM device. Each flag maps to a one or
|
| H A D | sysfs-bus-cxl | 66 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 D | maintainer-entry-profile.rst | 31 https://github.com/pmem/ndctl
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | stm32_fmc2_nand.c | 298 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 D | firmware-activate.rst | 86 [1]: https://docs.pmem.io/persistent-memory/
|
| H A D | security.rst | 141 [1]: https://pmem.io/documents/NVDIMM_DSM_Interface-V1.8.pdf
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | writecache.rst | 36 autocommit_blocks n (default: 64 for pmem, 65536 for ssd)
|
| /linux/drivers/vfio/ |
| H A D | vfio_iommu_spapr_tce.c | 391 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()
|