Home
last modified time | relevance | path

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

12

/linux/drivers/nvdimm/
H A Dpmem.c29 #include "pmem.h"
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_ argument
63 pmem_mkpage_present(struct pmem_device * pmem,phys_addr_t offset,unsigned int len) pmem_mkpage_present() argument
88 pmem_clear_bb(struct pmem_device * pmem,sector_t sector,long blks) pmem_clear_bb() argument
97 __pmem_clear_poison(struct pmem_device * pmem,phys_addr_t offset,unsigned int len) __pmem_clear_poison() argument
110 pmem_clear_poison(struct pmem_device * pmem,phys_addr_t offset,unsigned int len) pmem_clear_poison() argument
164 pmem_do_read(struct pmem_device * pmem,struct page * page,unsigned int page_off,sector_t sector,unsigned int len) pmem_do_read() argument
180 pmem_do_write(struct pmem_device * pmem,struct page * page,unsigned int page_off,sector_t sector,unsigned int len) pmem_do_write() argument
208 struct pmem_device *pmem = bio->bi_bdev->bd_disk->private_data; pmem_submit_bio() local
257 __pmem_direct_access(struct pmem_device * pmem,pgoff_t pgoff,long nr_pages,enum dax_access_mode mode,void ** kaddr,unsigned long * pfn) __pmem_direct_access() argument
311 struct pmem_device *pmem = dax_get_private(dax_dev); pmem_dax_zero_page_range() local
322 struct pmem_device *pmem = dax_get_private(dax_dev); pmem_dax_direct_access() local
343 struct pmem_device *pmem = dax_get_private(dax_dev); pmem_recovery_write() local
391 struct pmem_device *pmem = dev_to_disk(dev)->private_data; write_cache_show() local
399 struct pmem_device *pmem = dev_to_disk(dev)->private_data; write_cache_store() local
438 struct pmem_device *pmem = __pmem; pmem_release_disk() local
451 struct pmem_device *pmem = pmem_pagemap_memory_failure() local
481 struct pmem_device *pmem; pmem_attach_disk() local
665 struct pmem_device *pmem = dev_get_drvdata(dev); nd_pmem_remove() local
704 struct pmem_device *pmem = dev_get_drvdata(dev); pmem_revalidate_poison() local
734 struct pmem_device *pmem; pmem_revalidate_region() local
[all...]
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
H A DMakefile10 nd_pmem-y := pmem.o
/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/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 DKbuild40 cxl_pmem-y := $(CXL_SRC)/pmem.o
61 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/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/tools/perf/util/
H A Dbpf-filter.l144 pmem { return constant(PERF_MEM_LVLNUM_PMEM); }
/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/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/nvdimm/
H A Dmaintainer-entry-profile.rst31 https://github.com/pmem/ndctl
/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()
/linux/drivers/staging/rtl8723bs/include/
H A Drtl8723b_xmit.h

12