Lines Matching refs:pmem_fd
57 int pmem_fd = open("/dev/pmem_adsp", O_RDWR|O_SYNC);
59 if (pmem_fd <= 0) {
69 pmem_fd,
73 close(pmem_fd);
76 CDBG("do_mmap: pmem mmap fd %d ptr %p len %u\n", pmem_fd, ret, size);
77 *pmemFd = pmem_fd;
86 int mm_camera_do_munmap(int pmem_fd, void *addr, size_t size)
90 if (pmem_fd <= 0) {
91 CDBG("%s:invalid fd=%d\n", __func__, pmem_fd);
98 close(pmem_fd);
99 CDBG("do_mmap: pmem munmap fd %d ptr %p len %u rc %d\n", pmem_fd, addr,