Lines Matching refs:starttag
296 mspcic_pci_fixup(int depth, pcitag_t starttag, int *maxbus, uint32_t *io,
310 printf(" bridge at (%d %d %d), depth %d\n", PCITAG_BUS(starttag),
311 PCITAG_DEV(starttag), PCITAG_FUN(starttag), depth);
317 pci_conf_write(NULL, starttag, PCI_COMMAND_STATUS_REG,
320 pci_conf_write(NULL, starttag, PCI_BRIDGE_CONTROL_REG, 0);
323 pci_conf_write(NULL, starttag, PCI_BRIDGE_BUS_REG,
441 pci_conf_write(NULL, starttag, PCI_BRIDGE_BUS_REG,
447 pci_conf_write(NULL, starttag, PCI_BRIDGE_STATIO_REG, val);
450 pci_conf_read(NULL, starttag, PCI_BRIDGE_STATIO_REG) & 0xffff);
456 pci_conf_write(NULL, starttag, PCI_BRIDGE_MEMORY_REG, val);
457 pci_conf_write(NULL, starttag, PCI_BRIDGE_PREFETCHMEM_REG, 0x0000ffff);
460 pci_conf_read(NULL, starttag, PCI_BRIDGE_MEMORY_REG));
462 pci_conf_read(NULL, starttag, PCI_BRIDGE_PREFETCHMEM_REG));
466 val = pci_conf_read(NULL, starttag, PCI_BRIDGE_STATIO_REG);
470 pci_conf_write(NULL, starttag, PCI_BRIDGE_IOHIGH_REG, val);
474 pci_conf_read(NULL, starttag, PCI_BRIDGE_IOHIGH_REG));
478 val = pci_conf_read(NULL, starttag, PCI_BRIDGE_PREFETCHMEM_REG);
480 pci_conf_write(NULL, starttag,
482 pci_conf_write(NULL, starttag,
488 printf(" bridge at (%d %d %d), depth %d\n", PCITAG_BUS(starttag),
489 PCITAG_DEV(starttag), PCITAG_FUN(starttag), depth);