Home
last modified time | relevance | path

Searched refs:xf86_num_platform_devices (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/
H A Dlnx_platform.c66 delayed_index = xf86_num_platform_devices - 1; in get_drm_info()
151 for (i = 0; i < xf86_num_platform_devices; i++) { in xf86PlatformDeviceProbe()
158 if (i != xf86_num_platform_devices) in xf86PlatformDeviceProbe()
182 int old_num = xf86_num_platform_devices; in NewGPUDeviceRequest()
186 if (old_num == xf86_num_platform_devices) in NewGPUDeviceRequest()
189 if (xf86_get_platform_device_unowned(xf86_num_platform_devices - 1) == TRUE) in NewGPUDeviceRequest()
192 ret = xf86platformAddDevice(xf86_num_platform_devices-1); in NewGPUDeviceRequest()
194 xf86_remove_platform_device(xf86_num_platform_devices-1); in NewGPUDeviceRequest()
196 ErrorF("xf86: found device %d\n", xf86_num_platform_devices); in NewGPUDeviceRequest()
208 for (index = 0; index < xf86_num_platform_devices; index++) { in DeleteGPUDeviceRequest()
[all …]
H A Dsystemd-logind.c248 for (i = 0; i < xf86_num_platform_devices; i++) { in systemd_logind_vtenter()
252 if (i != xf86_num_platform_devices) in systemd_logind_vtenter()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86platformBus.c56 int xf86_num_platform_devices; variable
64 xf86_num_platform_devices + 1, in xf86_add_platform_device()
67 xf86_platform_devices[xf86_num_platform_devices].attribs = attribs; in xf86_add_platform_device()
68 xf86_platform_devices[xf86_num_platform_devices].pdev = NULL; in xf86_add_platform_device()
69 xf86_platform_devices[xf86_num_platform_devices].flags = in xf86_add_platform_device()
72 xf86_num_platform_devices++; in xf86_add_platform_device()
83 for (j = dev_index; j < xf86_num_platform_devices - 1; j++) in xf86_remove_platform_device()
85 xf86_num_platform_devices--; in xf86_remove_platform_device()
101 for (i = 0; i < xf86_num_platform_devices; i++) { in xf86_find_platform_device_by_devnum()
252 for (i = 0; i < xf86_num_platform_devices; i++) { in xf86PlatformMatchDriver()
[all …]
H A Dxf86platformBus.h48 extern int xf86_num_platform_devices;
H A Dxf86Bus.c227 if (ServerIsNotSeat0() && xf86_num_platform_devices > 0) in xf86BusProbe()