Home
last modified time | relevance | path

Searched refs:physmem (Results 1 – 7 of 7) sorted by relevance

/pciutils/lib/
H A Dphysmem-windows.c147 struct physmem { struct
797 struct physmem *physmem = physmem_open(a, w); in physmem_access() local
798 if (!physmem) in physmem_access()
804 struct physmem *
812 struct physmem *physmem = pci_malloc(a, sizeof(*physmem)); in physmem_open() local
814 memset(physmem, 0, sizeof(*physmem)); in physmem_open()
840 physmem_close(struct physmem *physmem) in physmem_close() argument
848 physmem_get_pagesize(struct physmem *physmem UNUSED) in physmem_get_pagesize()
914 else if (physmem->VxDCall2 || physmem->w32skrnl_dpmi_lcall_ptr) in physmem_map()
952 physmem_unmap(struct physmem *physmem, void *ptr, size_t length) in physmem_unmap() argument
[all …]
H A Dphysmem-posix.c32 struct physmem { struct
50 struct physmem * argument
54 struct physmem *physmem = pci_malloc(a, sizeof(struct physmem)); in physmem_open() local
58 if (physmem->fd < 0) in physmem_open()
64 return physmem; in physmem_open()
68 physmem_close(struct physmem *physmem) in physmem_close() argument
70 close(physmem->fd); in physmem_close()
71 pci_mfree(physmem); in physmem_close()
75 physmem_get_pagesize(struct physmem *physmem UNUSED) in physmem_get_pagesize()
81 physmem_map(struct physmem *physmem, u64 addr, size_t length, int w) in physmem_map() argument
[all …]
H A Decam.c100 struct physmem *physmem; member
186 check_and_parse_rsdp(struct physmem *physmem, long pagesize, u64 addr, u32 *rsdt_address, u64 *xsdt… in check_and_parse_rsdp() argument
229 struct physmem *physmem = eacc->physmem; in find_rsdp_address() local
440 struct physmem *physmem = eacc->physmem; local
798 struct physmem *physmem = eacc->physmem; local
814 struct physmem *physmem = eacc->physmem; local
979 if (!eacc->physmem)
1028 struct physmem *physmem = NULL; local
1043 if (!physmem)
1053 eacc->physmem = physmem;
[all …]
H A Dmmio-ports.c29 struct physmem *physmem; member
38 struct physmem *physmem = macc->physmem; in munmap_regs() local
44 physmem_unmap(physmem, cache->addr_map, pagesize); in munmap_regs()
57 struct physmem *physmem = macc->physmem; in mmap_regs() local
87 physmem_unmap(physmem, addr_map, pagesize); in mmap_regs()
249 struct physmem *physmem; in conf1_init() local
258 physmem = physmem_open(a, 1); in conf1_init()
259 if (!physmem) in conf1_init()
262 pagesize = physmem_get_pagesize(physmem); in conf1_init()
268 macc->physmem = physmem; in conf1_init()
[all …]
H A Dphysmem-djgpp.c239 struct physmem *
358 physmem_close(struct physmem *physmem) in physmem_close() argument
361 if (physmem == PHYSMEM_PHYSADDR_MAPPING) in physmem_close()
370 physmem_get_pagesize(struct physmem *physmem UNUSED) in physmem_get_pagesize()
386 physmem_map(struct physmem *physmem, u64 addr, size_t length, int w) in physmem_map() argument
388 long pagesize = physmem_get_pagesize(physmem); in physmem_map()
412 if (physmem == PHYSMEM_DEVICE_MAPPING) in physmem_map()
641 else if (physmem == PHYSMEM_PHYSADDR_MAPPING) in physmem_map()
755 physmem_unmap(struct physmem *physmem, void *ptr, size_t length) in physmem_unmap() argument
770 if (physmem == PHYSMEM_DEVICE_MAPPING) in physmem_unmap()
[all …]
H A Dphysmem.h11 struct physmem;
15 struct physmem *physmem_open(struct pci_access *a, int w);
16 void physmem_close(struct physmem *physmem);
17 long physmem_get_pagesize(struct physmem *physmem);
29 void *physmem_map(struct physmem *physmem, u64 addr, size_t length, int w);
40 int physmem_unmap(struct physmem *physmem, void *ptr, size_t length);
H A DMakefile86 OBJS += physmem-windows
88 OBJS += physmem-djgpp
90 OBJS += physmem-posix
150 mmio-ports.o: mmio-ports.c $(INCL) physmem.h physmem-access.h
151 ecam.o: ecam.c $(INCL) physmem.h physmem-access.h