Home
last modified time | relevance | path

Searched refs:BusID (Results 1 – 3 of 3) sorted by relevance

/external/libdrm/
Dxf86drm.c2623 char *BusID; member
2632 const char *BusID, in drmOpenOnce() argument
2635 return drmOpenOnceWithType(BusID, newlyopened, DRM_NODE_PRIMARY); in drmOpenOnce()
2638 int drmOpenOnceWithType(const char *BusID, int *newlyopened, int type) in drmOpenOnceWithType() argument
2644 if ((strcmp(BusID, connection[i].BusID) == 0) && in drmOpenOnceWithType()
2651 fd = drmOpenWithType(NULL, BusID, type); in drmOpenOnceWithType()
2655 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnceWithType()
2663 nr_fds, connection[nr_fds].BusID, in drmOpenOnceWithType()
2664 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnceWithType()
2679 free(connection[i].BusID); in drmCloseOnce()
Dxf86drm.h723 extern int drmOpenOnce(void *unused, const char *BusID, int *newlyopened);
724 extern int drmOpenOnceWithType(const char *BusID, int *newlyopened, int type);
/external/mesa3d/src/glx/
Ddri_glx.c335 char *BusID; in CallCreateNewScreen() local
361 if (!XF86DRIOpenConnection(dpy, scrn, &hSAREA, &BusID)) { in CallCreateNewScreen()
366 fd = drmOpenOnce(NULL, BusID, &newlyopened); in CallCreateNewScreen()
368 free(BusID); /* No longer needed */ in CallCreateNewScreen()