Searched refs:local_devices (Results 1 – 1 of 1) sorted by relevance
3660 static void drmFoldDuplicatedDevices(drmDevicePtr local_devices[], int count) in drmFoldDuplicatedDevices() argument3666 if (drmCompareBusInfo(local_devices[i], local_devices[j]) == 0) { in drmFoldDuplicatedDevices()3667 local_devices[i]->available_nodes |= local_devices[j]->available_nodes; in drmFoldDuplicatedDevices()3668 node_type = log2(local_devices[j]->available_nodes); in drmFoldDuplicatedDevices()3669 memcpy(local_devices[i]->nodes[node_type], in drmFoldDuplicatedDevices()3670 local_devices[j]->nodes[node_type], drmGetMaxNodeName()); in drmFoldDuplicatedDevices()3671 drmFreeDevice(&local_devices[j]); in drmFoldDuplicatedDevices()3764 drmDevicePtr *local_devices; in drmGetDevice2()3794 local_devices = calloc(max_count, sizeof(drmDevicePtr)); in drmGetDevice2()3795 if (local_devices == NULL) in drmGetDevice2()[all …]