HomeSort by: relevance | last modified time | path
    Searched defs:bus (Results 1 - 25 of 30) sorted by relevancy

1 2

  /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
xf86Bus.h 29 * This file contains definitions of the bus-related data structures/types.
53 BusRec bus; member in struct:__anon9917
xf86pciBus.c 29 * This file contains the interfaces to the bus-specific code
46 /* Bus-specific headers */
54 /* Bus-specific globals */
159 info->bus, info->domain, info->dev, info->func,
220 p->bus.type = BUS_PCI;
221 p->bus.id.pci = d;
245 if ((p->bus.type == BUS_PCI) && (p->bus.id.pci == d)) {
249 p->bus.type = BUS_NONE;
256 * Parse a BUS ID string, and return the PCI bus parameters if it wa
584 int bus, device, func; local
    [all...]
  /xsrc/external/mit/xf86-video-geode/dist/src/cim/
cim_init.c 48 unsigned long bus, device, i; local
55 /* SEARCH THROUGH PCI BUS */
56 /* We search the PCI bus for the Geode LX or Geode GX northbridge. */
61 for (bus = 0; bus < 256; bus++) {
63 address = 0x80000000 | (bus << 16) | (device << 11);
71 cpu_bus = bus;
92 if (bus == 256) {
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
xf86Bus.h 29 * This file contains definitions of the bus-related data structures/types.
56 BusRec bus; member in struct:__anon10513
xf86pciBus.c 29 * This file contains the interfaces to the bus-specific code
46 /* Bus-specific headers */
53 /* Bus-specific globals */
172 info->domain, info->bus, info->dev, info->func,
230 p->bus.type = BUS_PCI;
231 p->bus.id.pci = d;
259 if ((p->bus.type == BUS_PCI) && (p->bus.id.pci == d)) {
261 p->bus.type = BUS_NONE;
268 * Parse a BUS ID string, and return the PCI bus parameters if it wa
569 int bus, device, func; local
    [all...]
  /xsrc/external/mit/xf86-video-geode/dist/src/
geode_ddc.c 124 I2CBusPtr bus; local
150 bus = xf86CreateI2CBusRec();
152 if (!bus)
155 bus->BusName = name;
156 bus->scrnIndex = pScrni->scrnIndex;
158 bus->I2CGetBits = geode_ddc_getbits;
159 bus->I2CPutBits = geode_ddc_putbits;
160 bus->DriverPrivate.ptr = (void *) (unsigned long) (ddciobase);
162 if (!xf86I2CBusInit(bus))
165 *ptr = bus;
173 I2CBusPtr bus; local
    [all...]
  /xsrc/external/mit/xf86-video-ati/dist/src/
ati.c 93 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
94 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
97 ati_device_get_from_busid(int bus, int dev, int func)
99 return pci_device_find_by_slot(PCI_DOM_FROM_BUS(bus),
100 PCI_BUS_NO_DOMAIN(bus),
126 ati_device_get_from_busid(int bus, int dev, int func)
138 if ((pVideo->bus == bus) && (pVideo->device == dev) &
193 int bus, dev, func; local
    [all...]
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
ati.c 91 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
92 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
95 ati_device_get_from_busid(int bus, int dev, int func)
97 return pci_device_find_by_slot(PCI_DOM_FROM_BUS(bus),
98 PCI_BUS_NO_DOMAIN(bus),
168 int bus, dev, func; local
170 if (!xf86ParsePciBusString(ati_gdev->busID, &bus, &dev, &func))
173 device = ati_device_get_from_busid(bus, dev, func)
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/src/sna/
sna_video_hwmc.c 206 char bus[64]; local
262 sprintf(bus, "pci:%04x:%02x:%02x.%d",
263 pci->domain, pci->bus, pci->dev, pci->func);
265 xf86XvMCRegisterDRInfo(screen, (char *)SNA_XVMC_LIBNAME, bus,
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
sna_video_hwmc.c 206 char bus[64]; local
262 sprintf(bus, "pci:%04x:%02x:%02x.%d",
263 pci->domain, pci->bus, pci->dev, pci->func);
265 xf86XvMCRegisterDRInfo(screen, (char *)SNA_XVMC_LIBNAME, bus,
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/int10/
xf86int10.c 659 * Return the last bus number in the same domain as dev. Only look at the
678 if (d->bus > i)
679 i = d->bus;
855 const unsigned bus = (bx >> 8) & 0x00FF; local
859 return pci_device_find_by_slot(pInt->dev->domain, bus, dev, func);
865 return ((pvp->bus << 8) & 0x00FF00) | (pvp->dev << 3) | (pvp->func);
877 X86_AX = (pvp->bus << 8) | (pvp->dev << 3) | (pvp->func & 0x7);
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/int10/
xf86int10.c 659 * Return the last bus number in the same domain as dev. Only look at the
676 if (d->bus > i)
677 i = d->bus;
850 const unsigned bus = (bx >> 8) & 0x00FF; local
854 return pci_device_find_by_slot(pInt->dev->domain, bus, dev, func);
860 return ((pvp->bus << 8) & 0x00FF00) | (pvp->dev << 3) | (pvp->func);
872 X86_AX = (pvp->bus << 8) | (pvp->dev << 3) | (pvp->func & 0x7);
  /xsrc/external/mit/xf86-video-nv/dist/src/
g80_output.c 224 xf86DrvMsg(scrnIndex, X_PROBED, " Bus %i -> SOR%i (LVDS)\n", pNv->lvds.i2cPort, pNv->lvds.or);
230 xf86DrvMsg(scrnIndex, X_PROBED, " Bus %i -> DAC%i\n", i, pNv->i2cMap[i].dac);
232 xf86DrvMsg(scrnIndex, X_PROBED, " Bus %i -> SOR%i\n", i, pNv->i2cMap[i].sor);
284 /* Allocate the I2C bus structure */
345 const int bus = i2c->DriverPrivate.val; local
346 const CARD32 addr = i2cAddr(bus);
349 "Probing for EDID on I2C bus %i...\n", bus);
  /xsrc/external/mit/libpciaccess/dist/include/
pciaccess.h 132 struct pci_device *pci_device_find_by_slot(uint32_t domain, uint32_t bus,
229 * Control the search based on the domain, bus, slot, and function of
235 uint32_t bus; member in struct:pci_slot_match
259 * Base physical address of the region within its bus / domain.
322 * \name Device bus identification.
324 * Complete bus identification, including domain, of the device. On
333 uint8_t bus; member in struct:pci_device
  /xsrc/external/mit/libpciaccess/dist/src/
linux_sysfs.c 76 #define SYS_BUS_PCI "/sys/bus/pci/devices"
95 /* If the directory "/sys/bus/pci/devices" exists, then the PCI subsystem
159 dev->bus,
206 unsigned dom, bus, dev, func; local
212 & dom, & bus, & dev, & func);
224 device->base.bus = bus;
312 dev->bus,
373 dev->bus,
454 dev->bus,
    [all...]
openbsd_pci.c 50 pci_read(int domain, int bus, int dev, int func, uint32_t reg, uint32_t *val)
56 io.pi_sel.pc_bus = bus;
72 pci_write(int domain, int bus, int dev, int func, uint32_t reg, uint32_t val)
77 io.pi_sel.pc_bus = bus;
88 pci_readmask(int domain, int bus, int dev, int func, uint32_t reg,
95 io.pi_sel.pc_bus = bus;
122 int pci_rom, domain, bus, dev, func; local
128 bus = device->bus;
151 pci_read(domain, bus, dev, func, PCI_COMMAND_STATUS_REG, &csr)
334 int domain, bus, dev, func, err; local
587 int domain, bus, dev, func, ndevs, nfuncs; local
    [all...]
netbsd_pci.c 66 int num; /* bus number */
74 * NetBSD's userland has a /dev/pci* entry for each bus but userland has no way
75 * to tell if a bus is a subordinate of another one or if it's on a different
77 * bus number 0 but on sparc64 for example the two roots in an Ultra60 have
78 * different bus numbers - one is 0 and the other 128.
83 * - we would have to guess subordinate bus numbers which is a waste of time
84 * since we can ask each /dev/pci* for its bus number so we can scan only the
87 * belong to known devices on that bus only.
92 * bus on any architecture as long as Xorg has a driver, without allowing
94 * about translating bus addresses to physical addresses or the other wa
326 int bus, dev, func, err, domain; local
946 int bus, dev, func, ndevs, nfuncs, domain, pcifd, n; local
    [all...]
solx_devfs.c 58 uint8_t bus; member in struct:i_devnode
119 find_nexus_for_bus( int domain, int bus )
125 (bus >= nexus->first_bus) && (bus <= nexus->last_bus)) {
212 pci_base->bus = PCI_REG_BUS_G(retbuf[0]);
241 pci_base->domain, pci_base->bus, pci_base->dev, pci_base->func);
259 nexus->path, pci_base->domain, pci_base->bus, pci_base->dev, pci_base->func);
341 /* not a root bus node, bail */
344 else if (strcmp(prop_name, "bus-range") == 0) {
380 "bus-range", &ints)
    [all...]
  /xsrc/external/mit/xf86-video-sis/dist/src/
sis_setup.c 369 "DRAM bus width: %d bit\n",
383 const int bus[4] = {32, 64, 128, 32}; local
396 cpubuswidth = bus[config >> 6];
470 "DRAM bus width: %d bit\n",
666 "DRAM bus width: %d bit\n",
908 "DRAM bus width: %d bit\n",
sis_dac.c 1439 int bus = pSiS->BusWidth; local
1460 total = ((mclk * (bus / 8)) * 0.7) / bytesperpixel;
1468 total = ((mclk * (bus / 8)) * 0.7) / bytesperpixel;
1476 total = ((mclk * (bus / 8)) * 0.7) / bytesperpixel;
1498 magic = magicDED[bus/64];
1503 magic = magicINT[bus/64];
1510 magic = magicDED[bus/64];
1514 magic = magicINT[bus/64];
1518 magic = magicINT[bus/64];
1524 magic = magicDED[bus/64]
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
vn_renderer.h 47 uint8_t bus; member in struct:vn_renderer_info::__anon2918
  /xsrc/external/mit/xf86-video-xgi/dist/src/
xgi_dac.c 493 const int bus = (pXGI->BusWidth > 128) ? 128 : pXGI->BusWidth; local
496 const float magic = magic315[bus / 64];
497 float total = (mclk * bus) / bpp;
499 PDEBUG5(ErrorF("mclk: %d, bus: %d, magic: %f, bpp: %d\n",
500 mclk, bus, magic, bpp));
520 const int bus = (pXGI->BusWidth > 128) ? 128 : pXGI->BusWidth; local
524 float total = (mclk * bus) / bpp;
529 PDEBUG5(ErrorF("mclk: %d, bus: %d, magic: %f, bpp: %d\n",
530 mclk, bus, magic, bpp));
532 total = mclk*bus/bpp
    [all...]
  /xsrc/external/mit/libdrm/dist/
xf86drmMode.c 897 * -EINVAL or invalid bus id
904 int domain, bus, dev, func; local
909 ret = sscanf(busid, "pci:%04x:%02x:%02x.%d", &domain, &bus, &dev, &func);
913 sprintf(pci_dev_dir, "/sys/bus/pci/devices/%04x:%02x:%02x.%d/drm",
914 domain, bus, dev, func);
932 sprintf(pci_dev_dir, "/sys/bus/pci/devices/%04x:%02x:%02x.%d/",
933 domain, bus, dev, func);
  /xsrc/external/mit/xf86-video-glint/dist/src/
glint_driver.c 492 int numUsed,bus,device,func; local
525 xf86ParsePciBusString(devSections[i]->busID,&bus,&device,&func);
526 if (!xf86CheckPciSlot(bus,device,func))
540 entity = xf86ClaimPciSlot(bus,device,func,drv,
548 "claimed PCI slot %d:%d:%d\n",bus,device,func);
613 eIndex = xf86ClaimPciSlot(pPci->bus,
620 eIndex = xf86ClaimPciSlot(pPci->bus,
635 if ((pPci->bus == PCI_DEV_BUS(*checkusedPci) &&
640 eIndex = xf86ClaimPciSlot((*checkusedPci)->bus,
888 pGlint->PciTag = pciTag(pGlint->PciInfo->bus, pGlint->PciInfo->device
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/amd/common/
ac_gpu_info.c 85 uint8_t bus; member in struct:_drmPciBusInfo
354 info->pci_bus = devinfo->businfo.pci->bus;
1132 fprintf(f, " pci (domain:bus:dev.func): %04x:%02x:%02x.%x\n", info->pci_domain, info->pci_bus,

Completed in 28 milliseconds

1 2