Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/nvdimm/
Dpmem.c35 static struct device *to_dev(struct pmem_device *pmem) in to_dev() argument
41 return pmem->bb.dev; in to_dev()
44 static struct nd_region *to_region(struct pmem_device *pmem) in to_region() argument
46 return to_nd_region(to_dev(pmem)->parent); in to_region()
49 static phys_addr_t pmem_to_phys(struct pmem_device *pmem, phys_addr_t offset) in pmem_to_phys() argument
51 return pmem->phys_addr + offset; in pmem_to_phys()
54 static sector_t to_sect(struct pmem_device *pmem, phys_addr_t offset) in to_sect() argument
56 return (offset - pmem->data_offset) >> SECTOR_SHIFT; in to_sect()
59 static phys_addr_t to_offset(struct pmem_device *pmem, sector_t sector) in to_offset() argument
61 return (sector << SECTOR_SHIFT) + pmem->data_offset; in to_offset()
[all …]
Dpmem.h32 long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff,
DMakefile9 nd_pmem-y := pmem.o
/linux-6.12.1/tools/testing/nvdimm/
Dpmem-dax.c11 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_to_pfn_t(pmem->phys_addr + offset, pmem->pfn_flags); in __pmem_direct_access()
48 if (unlikely(pmem->bb.count)) in __pmem_direct_access()
[all …]
DKbuild44 nd_pmem-y := $(NVDIMM_SRC)/pmem.o
45 nd_pmem-y += pmem-dax.o
64 dax_pmem-y := $(DAX_SRC)/pmem.o
Dpmem_test.c8 nfit_test_watermark(pmem);
/linux-6.12.1/drivers/staging/rtl8712/
Drtl8712_io.c67 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_mem() argument
74 hdl->io_ops._read_mem(hdl, addr, cnt, pmem); in r8712_read_mem()
77 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_mem() argument
81 hdl->io_ops._write_mem(hdl, addr, cnt, pmem); in r8712_write_mem()
84 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_port() argument
91 hdl->io_ops._read_port(hdl, addr, cnt, pmem); in r8712_read_port()
94 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_port() argument
98 hdl->io_ops._write_port(hdl, addr, cnt, pmem); in r8712_write_port()
Drtl871x_io.h91 u8 *pmem);
93 u8 *pmem);
96 u8 *pmem);
98 u8 *pmem);
225 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
226 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
230 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
231 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
Drtl8712_xmit.c27 static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz);
390 static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz) in update_txdesc() argument
398 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc()
439 if ((u8 *)pmem != (u8 *)pxmitframe->pxmitbuf->pbuf) { in update_txdesc()
/linux-6.12.1/drivers/staging/rtl8723bs/include/
Drtw_io.h36 void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
37 void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
43 u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
44 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
46 u32 (*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem);
111 extern void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
112 extern void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
122 extern u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
124 extern void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem);
142 extern void async_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
[all …]
/linux-6.12.1/drivers/char/
Dapplicom.c702 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-6.12.1/tools/perf/scripts/python/
Dmem-phys-addr.py22 pmem = [] variable
39 pmem.append(int(m[0], 16))
40 pmem.append(int(m[1], 16))
70 position = bisect.bisect(pmem, phys_addr)
/linux-6.12.1/drivers/firmware/
Dstratix10-svc.c184 struct stratix10_svc_data_mem *pmem; in svc_pa_to_va() local
187 list_for_each_entry(pmem, &svc_data_mem, node) in svc_pa_to_va()
188 if (pmem->paddr == addr) in svc_pa_to_va()
189 return pmem->vaddr; in svc_pa_to_va()
1068 struct stratix10_svc_data_mem *pmem; in stratix10_svc_allocate_memory() local
1074 pmem = devm_kzalloc(chan->ctrl->dev, sizeof(*pmem), GFP_KERNEL); in stratix10_svc_allocate_memory()
1075 if (!pmem) in stratix10_svc_allocate_memory()
1085 pmem->vaddr = (void *)va; in stratix10_svc_allocate_memory()
1086 pmem->paddr = pa; in stratix10_svc_allocate_memory()
1087 pmem->size = s; in stratix10_svc_allocate_memory()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/pmem/
Dpmem-region.txt19 - compatible = "pmem-region"
50 pmem@5000 {
51 compatible = "pmem-region";
59 pmem@6000 {
60 compatible = "pmem-region";
/linux-6.12.1/arch/powerpc/mm/book3s64/
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-6.12.1/drivers/staging/rtl8723bs/core/
Drtw_io.c109 u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in rtw_write_port() argument
111 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); in rtw_write_port()
117 return _write_port(pintfhdl, addr, cnt, pmem); in rtw_write_port()
/linux-6.12.1/arch/mips/include/asm/octeon/
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-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dr535.c130 struct nvkm_memory **pmem, struct nvkm_vma **pvma, in r535_gr_promote_ctx() argument
159 gr->ctxbuf[i].init, &pmem[i]); in r535_gr_promote_ctx()
171 pmem[i] = nvkm_memory_ref(gr->ctxbuf_mem[i]); in r535_gr_promote_ctx()
182 nvkm_memory_size(pmem[i]), &pvma[i]); in r535_gr_promote_ctx()
187 ret = nvkm_memory_map(pmem[i], 0, vmm, pvma[i], &args, sizeof(args)); in r535_gr_promote_ctx()
195 entry->gpuPhysAddr = nvkm_memory_addr(pmem[i]); in r535_gr_promote_ctx()
/linux-6.12.1/tools/testing/cxl/
DKbuild35 cxl_pmem-y := $(CXL_SRC)/pmem.o
56 cxl_core-y += $(CXL_CORE_SRC)/pmem.o
/linux-6.12.1/drivers/dax/pmem/
DMakefile5 dax_pmem-y := pmem.o
/linux-6.12.1/drivers/dax/
DMakefile11 dax_pmem-y := pmem.o
/linux-6.12.1/drivers/cxl/
DMakefile19 cxl_pmem-y := pmem.o security.o
/linux-6.12.1/drivers/cxl/core/
DMakefile9 cxl_core-y += pmem.o
/linux-6.12.1/arch/powerpc/include/asm/
Dmmu_context.h27 struct mm_iommu_table_group_mem_t **pmem);
30 struct mm_iommu_table_group_mem_t **pmem);
/linux-6.12.1/arch/riscv/mm/
DMakefile19 obj-y += pmem.o

123