Home
last modified time | relevance | path

Searched refs:busid (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/targets/xorg-nouveau/
Dnouveau_xorg.c130 char *busid; in nouveau_xorg_pci_probe() local
140 busid = DRICreatePCIBusID(device); in nouveau_xorg_pci_probe()
142 ret = nouveau_device_open(busid, &dev); in nouveau_xorg_pci_probe()
145 free(busid); in nouveau_xorg_pci_probe()
152 ret = drmCheckModesettingSupported(busid); in nouveau_xorg_pci_probe()
153 free(busid); in nouveau_xorg_pci_probe()
/external/libdrm/tests/
Ddristat.c70 const char *busid = drmGetBusid(fd); in getbusid() local
72 printf(" Busid: %s\n", *busid ? busid : "(not set)"); in getbusid()
73 drmFreeBusid(busid); in getbusid()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_winsys.h47 const OptionInfoRec * xorg_tracker_available_options(int chipid, int busid);
Dxorg_driver.c106 xorg_tracker_available_options(int chipid, int busid) in xorg_tracker_available_options() argument
/external/libdrm/
Dxf86drm.c479 static int drmOpenByBusid(const char *busid) in drmOpenByBusid() argument
486 drmMsg("drmOpenByBusid: Searching for BusID %s\n", busid); in drmOpenByBusid()
511 if (buf && drmMatchBusID(buf, busid, pci_domain_ok)) { in drmOpenByBusid()
622 int drmOpen(const char *name, const char *busid) in drmOpen() argument
632 if (busid) { in drmOpen()
633 int fd = drmOpenByBusid(busid); in drmOpen()
832 void drmFreeBusid(const char *busid) in drmFreeBusid() argument
834 drmFree((void *)busid); in drmFreeBusid()
880 int drmSetBusid(int fd, const char *busid) in drmSetBusid() argument
884 u.unique = (char *)busid; in drmSetBusid()
[all …]
Dxf86drm.h553 extern int drmOpen(const char *name, const char *busid);
582 extern void drmFreeBusid(const char *busid);
583 extern int drmSetBusid(int fd, const char *busid);
Dxf86drmMode.h448 extern int drmCheckModesettingSupported(const char *busid);
Dxf86drmMode.c725 int drmCheckModesettingSupported(const char *busid) in drmCheckModesettingSupported() argument
734 ret = sscanf(busid, "pci:%04x:%02x:%02x.%d", &domain, &bus, &dev, &func); in drmCheckModesettingSupported()
784 ret = sscanf(busid, "pci:%04x:%02x:%02x.%d", &domain, &bus, &dev, in drmCheckModesettingSupported()
/external/libdrm/nouveau/
Dnouveau.h85 int nouveau_device_open(const char *busid, struct nouveau_device **);
Dnouveau.c152 nouveau_device_open(const char *busid, struct nouveau_device **pdev) in nouveau_device_open() argument
154 int ret = -ENODEV, fd = drmOpen("nouveau", busid); in nouveau_device_open()