Home | History | Annotate | Download | only in libdrm

Lines Matching defs:BusID

207  * Compare two busid strings
469 * \param busid bus ID.
479 static int drmOpenByBusid(const char *busid)
486 drmMsg("drmOpenByBusid: Searching for BusID %s\n", busid);
511 if (buf && drmMatchBusID(buf, busid, pci_domain_ok)) {
547 * already in use. If it's in use it will have a busid assigned already.
591 if (*pt) { /* Found busid */
593 } else { /* No busid */
614 * \param busid bus ID. Zero if not known.
619 * It calls drmOpenByBusid() if \p busid is specified or drmOpenByName()
622 int drmOpen(const char *name, const char *busid)
632 if (busid) {
633 int fd = drmOpenByBusid(busid);
794 * modified drmOpen to handle both busid and name
827 * \param busid bus ID information string as given by drmGetBusid().
830 * This function is just frees the memory pointed by \p busid.
832 void drmFreeBusid(const char *busid)
834 drmFree((void *)busid);
872 * \param busid bus ID string.
880 int drmSetBusid(int fd, const char *busid)
884 u.unique = (char *)busid;
885 u.unique_len = strlen(busid);
2449 char *BusID;
2457 const char *BusID,
2464 if (strcmp(BusID, connection[i].BusID) == 0) {
2470 fd = drmOpen(unused, BusID);
2474 connection[nr_fds].BusID = strdup(BusID);
2481 nr_fds, connection[nr_fds].BusID,
2482 strcmp(BusID, connection[nr_fds].BusID));
2497 free(connection[i].BusID);