Searched refs:local_devices (Results 1 – 1 of 1) sorted by relevance
3051 static void drmFoldDuplicatedDevices(drmDevicePtr local_devices[], int count) in drmFoldDuplicatedDevices() argument3057 if (drmCompareBusInfo(local_devices[i], local_devices[j]) == 0) { in drmFoldDuplicatedDevices()3058 local_devices[i]->available_nodes |= local_devices[j]->available_nodes; in drmFoldDuplicatedDevices()3059 node_type = log2(local_devices[j]->available_nodes); in drmFoldDuplicatedDevices()3060 memcpy(local_devices[i]->nodes[node_type], in drmFoldDuplicatedDevices()3061 local_devices[j]->nodes[node_type], drmGetMaxNodeName()); in drmFoldDuplicatedDevices()3062 drmFreeDevice(&local_devices[j]); in drmFoldDuplicatedDevices()3079 drmDevicePtr *local_devices; in drmGetDevice() local3104 local_devices = calloc(max_count, sizeof(drmDevicePtr)); in drmGetDevice()3105 if (local_devices == NULL) in drmGetDevice()[all …]