Lines Matching refs:master_fd
223 if (pdevice->master_fd >= 0) { in pvr_physical_device_finish()
225 close(pdevice->master_fd); in pvr_physical_device_finish()
366 pdevice->master_fd = open(primary_path, O_RDWR | O_CLOEXEC); in pvr_physical_device_init()
368 pdevice->master_fd = -1; in pvr_physical_device_init()
371 if (pdevice->master_fd >= 0) { in pvr_physical_device_init()
383 pdevice->ws = pvr_winsys_create(pdevice->master_fd, in pvr_physical_device_init()
456 if (pdevice->master_fd >= 0) in pvr_physical_device_init()
457 close(pdevice->master_fd); in pvr_physical_device_init()
1610 device->master_fd = open(pdevice->master_path, O_RDWR | O_CLOEXEC); in pvr_CreateDevice()
1612 device->master_fd = -1; in pvr_CreateDevice()
1619 device->ws = pvr_winsys_create(device->master_fd, in pvr_CreateDevice()
1694 if (device->master_fd >= 0) in pvr_CreateDevice()
1695 close(device->master_fd); in pvr_CreateDevice()