Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/backlight/
H A Dmainwindow.cpp15 fd_edp = ::open("/sys/class/backlight/edp-backlight/brightness",O_RDWR|O_NONBLOCK); in MainWindow()
16 fd_lvds = ::open("/sys/class/backlight/lvds-backlight/brightness",O_RDWR|O_NONBLOCK); in MainWindow()
17 fd_dsi = ::open("/sys/class/backlight/dsi1-backlight/brightness",O_RDWR|O_NONBLOCK); in MainWindow()
18 fd_rgb = ::open("/sys/class/backlight/rgb-backlight/brightness",O_RDWR|O_NONBLOCK); in MainWindow()
/OK3568_Linux_fs/external/rkupdate/
H A DRKComm.cpp28 m_hLbaDev = open(emmc_point, O_RDWR | O_SYNC, 0); in CRKUsbComm()
55 m_hDev = open(EMMC_DRIVER_DEV_VENDOR, O_RDWR, 0); in CRKUsbComm()
64 m_hDev = open(EMMC_DRIVER_DEV, O_RDWR, 0); in CRKUsbComm()
89 m_hLbaDev = open(emmc_point, O_RDWR | O_SYNC, 0); in CRKUsbComm()
111 m_hDev = open(NAND_DRIVER_DEV_VENDOR, O_RDWR, 0); in CRKUsbComm()
119 m_hDev = open(NAND_DRIVER_DEV, O_RDWR, 0); in CRKUsbComm()
170 m_hLbaDev = open(NAND_DRIVER_DEV_LBA, O_RDWR | O_SYNC, 0); in RKU_ReopenLBAHandle()
282 m_hLbaDev = open(NAND_DRIVER_DEV_LBA, O_RDWR | O_SYNC, 0); in RKU_ReadFlashInfo()
353 m_hLbaDev = open(NAND_DRIVER_DEV_LBA, O_RDWR | O_SYNC, 0); in RKU_ReadLBA()
466 m_hLbaDev = open(NAND_DRIVER_DEV_LBA, O_RDWR | O_SYNC, 0); in RKU_WriteLBA()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dopenat2_test.c165 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
167 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
178 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
198 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags()
207 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
210 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
221 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
/OK3568_Linux_fs/app/forlinx/forlinx_qt/backlight/
H A Dmainwindow.cpp15 fd_edp = ::open("/sys/class/backlight/edp-backlight/brightness",O_RDWR|O_NONBLOCK); in MainWindow()
16 fd_lvds = ::open("/sys/class/backlight/lvds-backlight/brightness",O_RDWR|O_NONBLOCK); in MainWindow()
17 fd_dsi = ::open("/sys/class/backlight/dsi1-backlight/brightness",O_RDWR|O_NONBLOCK); in MainWindow()
/OK3568_Linux_fs/kernel/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c49 fd = open(name, O_RDWR); in open_vgem()
99 fd = open(buf, O_RDWR); in dmabuf_heap_open()
129 return dmabuf_heap_alloc_fdflags(fd, len, O_RDWR | O_CLOEXEC, flags, in dmabuf_heap_alloc()
234 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_older()
266 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_newer()
346 ~(O_RDWR | O_CLOEXEC), 0, &dmabuf_fd); in test_alloc_errors()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/
H A Darm_video.c99 if ((fd = open(DEV_MEM, O_RDWR)) >= 0) { in checkDevMem()
142 if ((IoFd = open("/dev/io", O_RDWR)) == -1) { in xf86EnableIO()
174 if ((fd = open("/dev/ttyC0", O_RDWR)) >= 0) { in xf86EnableIO()
H A Di386_video.c82 if ((fd = open(DEV_MEM, O_RDWR)) >= 0) { in checkDevMem()
112 if ((fd = open(DEV_APERTURE, O_RDWR)) >= 0) { in checkDevMem()
258 if ((IoFd = open("/dev/io", O_RDWR)) == -1) { in xf86EnableIO()
H A Dbsd_init.c57 #define PCCONS_CONSOLE_MODE O_RDWR|O_NDELAY
64 #define SYSCONS_CONSOLE_MODE O_RDWR|O_NDELAY
74 #define PCVT_CONSOLE_MODE O_RDWR|O_NDELAY
180 if ((i = open("/dev/tty", O_RDWR)) >= 0) { in xf86OpenConsole()
H A Dalpha_video.c112 if ((fd = open(DEV_APERTURE, O_RDWR)) >= 0) { in checkDevMem()
132 if ((fd = open(DEV_MEM, O_RDWR)) >= 0) { in checkDevMem()
/OK3568_Linux_fs/external/linux-rga/samples/utils/allocator/
H A Ddma_alloc.cpp103 dma_heap_fd = open(path, O_RDWR); in dma_buf_alloc()
113 buf_data.fd_flags = O_CLOEXEC | O_RDWR; in dma_buf_alloc()
121 if (fcntl(buf_data.fd, F_GETFL) & O_RDWR) in dma_buf_alloc()
/OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/sources/
H A Ddma_alloc.cpp107 cma_heap_fd = open(CMA_HEAP_PATH, O_RDWR); in dma_buf_alloc()
118 buf_data.fd_flags = O_CLOEXEC | O_RDWR; in dma_buf_alloc()
126 if (fcntl(buf_data.fd, F_GETFL) & O_RDWR) in dma_buf_alloc()
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/shadow/files/
H A Dcommonio.c-fix-unexpected-open-failure-in-chroot-env.patch32 - (db->readonly ? O_RDONLY : O_RDWR)
37 + (true ? O_RDONLY : O_RDWR)
42 + (false ? O_RDONLY : O_RDWR)
/OK3568_Linux_fs/app/lvgl_demo/hal/
H A Devdev.c122 evdev_fd = open(tp_event, O_RDWR | O_NOCTTY); in evdev_init()
124 evdev_fd = open(tp_event, O_RDWR | O_NOCTTY | O_NDELAY); in evdev_init()
154 evdev_fd = open(dev_name, O_RDWR | O_NOCTTY); in evdev_set_file()
156 evdev_fd = open(dev_name, O_RDWR | O_NOCTTY | O_NDELAY); in evdev_set_file()
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_uboot_glue.c287 O_CREAT | O_RDWR | O_TRUNC, in make_a_file()
316 h = yaffs_open(fn, O_RDWR, 0); in read_a_file()
370 h = yaffs_open(fn, O_RDWR, 0); in cmd_yaffs_mread_file()
387 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in cmd_yaffs_mwrite_file()
H A Dyportenv.h105 #ifndef O_RDWR
106 #define O_RDWR 02 macro
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/byacc/byacc/
H A Dbyacc-open.patch21 - fd = open(name, O_CREAT | O_EXCL | O_RDWR);
22 + fd = open(name, O_CREAT | O_EXCL | O_RDWR, 0666);
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/solaris/
H A Dsun_init.c102 if ((fd = open("/dev/vt/0", O_RDWR, 0)) == -1) { in xf86OpenConsole()
180 if (((xf86Info.consoleFd = open(consoleDev, O_RDWR | O_NDELAY, 0)) < 0)) in xf86OpenConsole()
280 if ((fd = open(xf86SolarisFbDev, O_RDWR, 0)) < 0) { in xf86CloseConsole()
H A Dsun_apm.c202 if ((fd = open(APM_DEVICE, O_RDWR)) == -1) { in xf86OSPMOpen()
203 if ((fd = open(APM_DEVICE1, O_RDWR)) == -1) { in xf86OSPMOpen()
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dgup_benchmark.c97 filed = open(file, O_RDWR|O_CREAT); in main()
107 fd = open("/sys/kernel/debug/gup_benchmark", O_RDWR); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kcmp/
H A Dkcmp_test.c42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
91 fd2 = open(kpath, O_RDWR, 0644); in main()
/OK3568_Linux_fs/external/mpp/osal/allocator/
H A Dallocator_dma_heap.c96 .fd_flags = O_RDWR | O_CLOEXEC, in dma_heap_alloc()
102 data.fd_flags = O_RDWR | O_CLOEXEC; in dma_heap_alloc()
308 if (fcntl(data->fd, F_GETFL) & O_RDWR) in os_allocator_dma_heap_mmap()
/OK3568_Linux_fs/kernel/fs/ecryptfs/
H A Dkthread.c63 (O_RDWR | O_LARGEFILE), current_cred()); in ecryptfs_threadfn()
133 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR; in ecryptfs_privileged_open()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A Dca-fopen.rst39 - - ``O_RDWR``
59 Only one user can open the CA Device in ``O_RDWR`` mode. All other
/OK3568_Linux_fs/external/mpp/mpp/legacy/
H A Dvpu.c161 fd = open(path, O_RDWR | O_CLOEXEC); in VPUClientInit()
338 fd = open("/dev/vpu_service", O_RDWR | O_CLOEXEC); in VPUCheckSupportWidth()
340 fd = open("/dev/vpu-service", O_RDWR | O_CLOEXEC); in VPUCheckSupportWidth()
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_mem.c56 fd = open(DRM_CARD_PATH, O_RDWR); in crypto_init_drm()
169 fd = open(DMA_HEAP_PATH, O_RDWR); in crypto_init_dma_heap()
189 .fd_flags = O_CLOEXEC | O_RDWR, in crypto_alloc_node_dma_heap()

12345678910>>...21