Searched refs:BusID (Results 1 – 2 of 2) sorted by relevance
/third_party/libdrm/ |
D | xf86drm.c | 3126 char *BusID; member 3134 drm_public int drmOpenOnce(void *unused, const char *BusID, int *newlyopened) in drmOpenOnce() argument 3136 return drmOpenOnceWithType(BusID, newlyopened, DRM_NODE_PRIMARY); in drmOpenOnce() 3139 drm_public int drmOpenOnceWithType(const char *BusID, int *newlyopened, in drmOpenOnceWithType() argument 3146 if ((strcmp(BusID, connection[i].BusID) == 0) && in drmOpenOnceWithType() 3153 fd = drmOpenWithType(NULL, BusID, type); in drmOpenOnceWithType() 3157 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnceWithType() 3165 nr_fds, connection[nr_fds].BusID, in drmOpenOnceWithType() 3166 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnceWithType() 3181 free(connection[i].BusID); in drmCloseOnce()
|
D | xf86drm.h | 764 extern int drmOpenOnce(void *unused, const char *BusID, int *newlyopened); 765 extern int drmOpenOnceWithType(const char *BusID, int *newlyopened, int type);
|