| /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 | pmem.h | 30 long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff,
|
| 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
|
| H A D | Makefile | 10 nd_pmem-y := pmem.o
|
| /linux/tools/testing/nvdimm/ |
| H A D | pmem-dax.c | 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() 34 __func__, pmem, pgoff, page_to_pfn(page)); in __pmem_direct_access() 40 *kaddr = pmem->virt_addr + offset; in __pmem_direct_access() 42 *pfn = PHYS_PFN(pmem->phys_addr + offset); in __pmem_direct_access() 48 if (unlikely(pmem->bb.count)) 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/drivers/staging/rtl8723bs/include/ |
| H A D | rtw_io.h | 27 void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 28 void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 32 u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 33 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 35 u32 (*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem); 70 extern u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
|
| /linux/drivers/char/ |
| H A D | applicom.c | 702 void __iomem *pmem; in ac_ioctl() local 729 pmem = apbs[IndexCard].RamIO; in ac_ioctl() 731 ((unsigned char *)adgl)[i]=readb(pmem++); in ac_ioctl() 736 pmem = apbs[IndexCard].RamIO + CONF_END_TEST; in ac_ioctl() 738 adgl->conf_end_test[i] = readb(pmem++); in ac_ioctl() 740 adgl->error_code[i] = readb(pmem++); in ac_ioctl() 742 adgl->parameter_error[i] = readb(pmem++); in ac_ioctl() 743 pmem = apbs[IndexCard].RamIO + VERS; in ac_ioctl() 744 adgl->vers = readb(pmem); in ac_ioctl() 745 pmem = apbs[IndexCard].RamIO + TYPE_CARD; in ac_ioctl() [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-pcache.rst | 10 byte-addressable *DAX* (persistent-memory, “pmem”) region act as a 18 * *16 MiB segments* allocated on the pmem device. 58 The first time a pmem device is used, dm-pcache formats it automatically 81 ``seg_total`` Number of physical *pmem* segments. 126 * The pmem space is divided into *16 MiB segments*. 129 inside pmem (segment + offset + generation). 130 * 128 keys form a *key-set* (kset); ksets are written sequentially in pmem 159 * *pmem media errors* – all metadata copies are read with
|
| /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 | 317 struct stratix10_svc_data_mem *pmem; in svc_pa_to_va() local 321 list_for_each_entry(pmem, &svc_data_mem, node) in svc_pa_to_va() 322 if (pmem->paddr == addr) in svc_pa_to_va() 323 return pmem->vaddr; in svc_pa_to_va() 1833 struct stratix10_svc_data_mem *pmem; in stratix10_svc_allocate_memory() local 1839 pmem = devm_kzalloc(chan->ctrl->dev, sizeof(*pmem), GFP_KERNEL); in stratix10_svc_allocate_memory() 1840 if (!pmem) in stratix10_svc_allocate_memory() 1851 pmem->vaddr = (void *)va; in stratix10_svc_allocate_memory() 1852 pmem->paddr = pa; in stratix10_svc_allocate_memory() 1853 pmem->size = s; in stratix10_svc_allocate_memory() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| H A D | gr.c | 61 struct nvkm_memory **pmem, struct nvkm_vma **pvma, in r535_gr_promote_ctx() argument 90 gr->ctxbuf[i].init, &pmem[i]); in r535_gr_promote_ctx() 102 pmem[i] = nvkm_memory_ref(gr->ctxbuf_mem[i]); in r535_gr_promote_ctx() 113 nvkm_memory_size(pmem[i]), &pvma[i]); in r535_gr_promote_ctx() 118 ret = nvkm_memory_map(pmem[i], 0, vmm, pvma[i], &args, sizeof(args)); in r535_gr_promote_ctx() 126 entry->gpuPhysAddr = nvkm_memory_addr(pmem[i]); in r535_gr_promote_ctx()
|
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_io.c | 106 u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in rtw_write_port() argument 108 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); in rtw_write_port() 114 return _write_port(pintfhdl, addr, cnt, pmem); in rtw_write_port()
|
| /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 | 32 cxl_pmem-y := $(CXL_SRC)/pmem.o 53 cxl_core-y += $(CXL_CORE_SRC)/pmem.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/drivers/dax/ |
| H A D | Makefile | 11 dax_pmem-y := pmem.o
|
| /linux/drivers/cxl/ |
| H A D | Makefile | 19 cxl_pmem-y := pmem.o security.o
|
| /linux/drivers/cxl/core/ |
| H A D | Makefile | 9 cxl_core-y += pmem.o
|
| /linux/Documentation/driver-api/nvdimm/ |
| H A D | nvdimm.rst | 109 https://pmem.io/documents/NVDIMM_Namespace_Spec.pdf 111 https://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf 113 https://pmem.io/documents/NVDIMM_Driver_Writers_Guide.pdf 121 https://github.com/pmem/ndctl.git 489 |-- driver -> ../../../../../../bus/nd/drivers/pmem 544 /* unlike pmem namespaces, blk namespaces have a sector size */ 567 A BTT (design document: https://pmem.io/2014/09/23/btt.html) is a
|
| /linux/arch/riscv/mm/ |
| H A D | Makefile | 19 obj-y += pmem.o
|
| /linux/Documentation/ABI/removed/ |
| H A D | sysfs-bus-nfit | 10 Scrub) operation across every pmem range. Part of that process
|
| /linux/Documentation/ABI/testing/ |
| 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 300 What: /sys/bus/cxl/devices/decoderX.Y/cap_{pmem,ram,type2,type3} 344 split into a 'ram' (volatile memory) range and 'pmem' 346 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is 351 state, with either 'ram' or 'pmem' to set the boundaries for the 413 What: /sys/bus/cxl/devices/decoderX.Y/create_{pmem,ram}_region 415 KernelVersion: v6.0 (pmem), v6.3 (ram)
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | Makefile | 18 obj-$(CONFIG_MEMORY_HOTPLUG) += hotplug-memory.o pmem.o
|