Lines Matching refs:master_fd
295 if (device->master_fd >= 0)
296 close(device->master_fd);
552 if (pdevice->display_fd == - 1 && pdevice->master_fd >= 0)
553 pdevice->display_fd = dup(pdevice->master_fd);
585 pdevice->master_fd >= 0) {
586 pdevice->display_fd = dup(pdevice->master_fd);
721 int32_t master_fd = -1;
791 master_fd = open(primary_path, O_RDWR | O_CLOEXEC);
796 master_fd = open(primary_path, O_RDWR | O_CLOEXEC);
806 device->master_fd = master_fd; /* Master vc4 primary node */
929 if (master_fd >= 0)
930 close(master_fd);