• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /broadcom-cfe-1.4.2/cfe/arch/mips/cpu/sb1250/src/

Lines Matching defs:tag

988 extern void sp1011_setup(pcitag_t tag, pci_flags_t flags);
989 extern void as90l10208_setup(pcitag_t tag, pci_flags_t flags);
994 extern void ht7520apic_preset(pcitag_t tag);
995 extern void ht7520apic_setup(pcitag_t tag);
1004 pci_businit_hostbridge (pcitag_t tag, pci_flags_t flags)
1010 pci_device_preset (pcitag_t tag)
1016 id = pci_conf_read(tag, PCI_ID_REG);
1022 if (tag == SB1250_PCI_BRIDGE)
1029 ht7520apic_preset (tag);
1049 pci_device_setup (pcitag_t tag)
1051 pcireg_t id = pci_conf_read(tag, PCI_ID_REG);
1057 ht7520apic_setup (tag);
1068 pci_bridge_setup (pcitag_t tag, pci_flags_t flags)
1070 pcireg_t id = pci_conf_read(tag, PCI_ID_REG);
1077 sp1011_setup (tag, flags);
1080 as90l10208_setup (tag, flags);
1116 pci_break_tag (pcitag_t tag,
1119 if (portp) *portp = (tag >> 24) & PCI_PORTMAX;
1120 if (busp) *busp = (tag >> 16) & PCI_BUSMAX;
1121 if (devicep) *devicep = (tag >> 11) & PCI_DEVMAX;
1122 if (functionp) *functionp = (tag >> 8) & PCI_FUNCMAX;
1127 pci_canscan (pcitag_t tag)
1131 pci_break_tag (tag, &port, &bus, &device, &function);
1158 pci_probe_tag(pcitag_t tag)
1163 if (!pci_canscan(tag))
1166 addrp = (physaddr_t) SB1250_CFG_ADDR(tag, PCI_ID_REG, 4);
1192 pci_conf_readn(pcitag_t tag, int reg, int width)
1201 pci_tagprintf(tag, "pci_conf_readn: bad reg 0x%x\n", reg);
1205 pci_break_tag(tag, &port, &bus, &device, &function);
1208 pci_tagprintf(tag, "pci_conf_readn: bad tag 0x%x\n", tag);
1215 addrp = (physaddr_t) SB1250_CFG_ADDR(tag, reg, width);
1235 pci_conf_read8(pcitag_t tag, int reg)
1237 return pci_conf_readn(tag, reg, 1);
1241 pci_conf_read16(pcitag_t tag, int reg)
1243 return pci_conf_readn(tag, reg, 2);
1247 pci_conf_read(pcitag_t tag, int reg)
1249 return pci_conf_readn(tag, reg, 4);
1253 pci_conf_writen(pcitag_t tag, int reg, pcireg_t data, int width)
1261 pci_tagprintf(tag, "pci_conf_writen: bad reg 0x%x\n", reg);
1265 pci_break_tag(tag, &port, &bus, &device, &function);
1268 pci_tagprintf(tag, "pci_conf_writen: bad tag 0x%x\n", tag);
1275 addrp = (physaddr_t) SB1250_CFG_ADDR(tag, reg, width);
1293 pci_conf_write8(pcitag_t tag, int reg, pcireg_t data)
1295 pci_conf_writen(tag, reg, data, 1);
1299 pci_conf_write16(pcitag_t tag, int reg, pcireg_t data)
1301 pci_conf_writen(tag, reg, data, 2);
1305 pci_conf_write(pcitag_t tag, int reg, pcireg_t data)
1307 pci_conf_writen(tag, reg, data, 4);
1315 pci_conf_write_acked(pcitag_t tag, int reg, pcireg_t data)
1324 pci_break_tag(tag, &port, &bus, NULL, NULL);
1343 pci_conf_write(tag, reg, data);
1354 best we can do (a read with the new tag could hang) */
1355 pci_conf_write(tag, reg, data);
1357 pci_conf_write(tag, PCI_ID_REG, 0);
1363 pci_conf_write(tag, reg, data);
1364 (void) pci_conf_read(tag, reg); /* Push the write */
1370 pci_conf_write(tag, reg, data);
1371 (void) pci_conf_read(tag, reg);
1381 pci_map_io(pcitag_t tag, int reg, pci_endian_t endian, phys_addr_t *pap)
1388 pci_tagprintf(tag, "pci_map_io: bad request\n");
1392 address = pci_conf_read(tag, reg);
1396 pci_tagprintf(tag, "pci_map_io: attempt to i/o map a memory region\n");
1408 pci_map_mem(pcitag_t tag, int reg, pci_endian_t endian, phys_addr_t *pap)
1415 address = pci_conf_read(tag, reg);
1417 pci_tagprintf(tag, "pci_map_mem: attempt to map missing rom\n");
1424 pci_tagprintf(tag, "pci_map_mem: bad request\n");
1428 address = pci_conf_read(tag, reg);
1432 pci_tagprintf(tag, "pci_map_mem: attempt to memory map an I/O region\n");
1444 pa |= ((phys_addr_t)pci_conf_read(tag, reg+4) << 32);
1447 pci_tagprintf(tag, "pci_map_mem: bad 64-bit reguest\n");
1453 pci_tagprintf(tag, "pci_map_mem: reserved mapping type\n");