Lines Matching refs:tag
69 static int pci_config_offset(pcitag_t tag)
73 device = (tag >> 11) & 0x1f;
78 pci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg)
82 data = *(u_long *)(pci_conf_addr + pci_config_offset(tag) + reg);
87 pci_conf_write(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t data)
89 *((u_long *)(pci_conf_addr + pci_config_offset(tag) + reg))
215 ati_vga_init(pci_chipset_tag_t pc, pcitag_t tag, int id, volatile u_char *ba, u_char *fb)
220 pci_conf_write(pc, tag, PCI_MAPREG_START, PCI_LINMEMBASE);
221 csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
224 pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, csr);