Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/nvdimm/
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 …]
Dpmem.h32 long __pmem_direct_access(struct pmem_device *pmem, pgoff_t pgoff,
DMakefile9 nd_pmem-y := pmem.o
/linux-6.1.9/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.1.9/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);
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_io.h93 void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
94 void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
100 u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
101 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
103 u32 (*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem);
168 extern void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
169 extern void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
179 extern u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
181 extern void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem);
199 extern void async_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
[all …]
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_io.h220 void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
221 void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
226 void _rtw_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
227 u32 rtw_read_port(struct adapter *adapter, u8 *pmem);
235 void _rtw_write_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
236 u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
239 void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem);
262 void async_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
263 void async_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
278 void async_write_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem);
[all …]
/linux-6.1.9/drivers/char/
Dapplicom.c700 void __iomem *pmem; in ac_ioctl() local
727 pmem = apbs[IndexCard].RamIO; in ac_ioctl()
729 ((unsigned char *)adgl)[i]=readb(pmem++); in ac_ioctl()
734 pmem = apbs[IndexCard].RamIO + CONF_END_TEST; in ac_ioctl()
736 adgl->conf_end_test[i] = readb(pmem++); in ac_ioctl()
738 adgl->error_code[i] = readb(pmem++); in ac_ioctl()
740 adgl->parameter_error[i] = readb(pmem++); in ac_ioctl()
741 pmem = apbs[IndexCard].RamIO + VERS; in ac_ioctl()
742 adgl->vers = readb(pmem); in ac_ioctl()
743 pmem = apbs[IndexCard].RamIO + TYPE_CARD; in ac_ioctl()
[all …]
/linux-6.1.9/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.1.9/drivers/firmware/
Dstratix10-svc.c183 struct stratix10_svc_data_mem *pmem; in svc_pa_to_va() local
186 list_for_each_entry(pmem, &svc_data_mem, node) in svc_pa_to_va()
187 if (pmem->paddr == addr) in svc_pa_to_va()
188 return pmem->vaddr; in svc_pa_to_va()
1050 struct stratix10_svc_data_mem *pmem; in stratix10_svc_allocate_memory() local
1056 pmem = devm_kzalloc(chan->ctrl->dev, sizeof(*pmem), GFP_KERNEL); in stratix10_svc_allocate_memory()
1057 if (!pmem) in stratix10_svc_allocate_memory()
1067 pmem->vaddr = (void *)va; in stratix10_svc_allocate_memory()
1068 pmem->paddr = pa; in stratix10_svc_allocate_memory()
1069 pmem->size = s; in stratix10_svc_allocate_memory()
[all …]
/linux-6.1.9/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.1.9/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.1.9/drivers/staging/rtl8723bs/core/
Drtw_io.c110 u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in rtw_write_port() argument
112 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); in rtw_write_port()
118 return _write_port(pintfhdl, addr, cnt, pmem); in rtw_write_port()
/linux-6.1.9/tools/testing/cxl/
DKbuild28 cxl_pmem-y := $(CXL_SRC)/pmem.o
44 cxl_core-y += $(CXL_CORE_SRC)/pmem.o
/linux-6.1.9/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.1.9/drivers/dax/pmem/
DMakefile5 dax_pmem-y := pmem.o
/linux-6.1.9/drivers/dax/
DMakefile10 dax_pmem-y := pmem.o
/linux-6.1.9/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Disp_local.h52 bool pmem; member
/linux-6.1.9/drivers/cxl/core/
DMakefile7 cxl_core-y += pmem.o
/linux-6.1.9/drivers/cxl/
DMakefile12 cxl_pmem-y := pmem.o
/linux-6.1.9/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.1.9/Documentation/ABI/removed/
Dsysfs-bus-nfit10 Scrub) operation across every pmem range. Part of that process

123