Lines Matching refs:PciCfg1Addr
483 static uint32_t PciCfg1Addr = 0; variable
522 *val = PciCfg1Addr; in pciCfg1in()
526 pci_device_cfg_read_u32(pci_device_for_cfg_address(PciCfg1Addr), in pciCfg1in()
527 (uint32_t *) val, PCI_OFFSET(PciCfg1Addr)); in pciCfg1in()
529 ErrorF(" cfg_inl(%#" PRIx32 ") = %8.8" PRIx32 "\n", (unsigned) PciCfg1Addr, in pciCfg1in()
540 PciCfg1Addr = val; in pciCfg1out()
545 ErrorF(" cfg_outl(%#" PRIx32 ", %8.8" PRIx32 ")\n", (unsigned) PciCfg1Addr, in pciCfg1out()
547 pci_device_cfg_write_u32(pci_device_for_cfg_address(PciCfg1Addr), val, in pciCfg1out()
548 PCI_OFFSET(PciCfg1Addr)); in pciCfg1out()
561 *val = (PciCfg1Addr >> shift) & 0xffff; in pciCfg1inw()
567 pci_device_cfg_read_u16(pci_device_for_cfg_address(PciCfg1Addr), in pciCfg1inw()
568 val, PCI_OFFSET(PciCfg1Addr) + offset); in pciCfg1inw()
570 ErrorF(" cfg_inw(%#" PRIx32 ") = %4.4x\n", (unsigned) (PciCfg1Addr + offset), in pciCfg1inw()
584 PciCfg1Addr &= ~(0xffff << shift); in pciCfg1outw()
585 PciCfg1Addr |= ((uint32_t) val) << shift; in pciCfg1outw()
592 ErrorF(" cfg_outw(%#" PRIx32 ", %4.4x)\n", (unsigned) (PciCfg1Addr + offset), in pciCfg1outw()
594 pci_device_cfg_write_u16(pci_device_for_cfg_address(PciCfg1Addr), val, in pciCfg1outw()
595 PCI_OFFSET(PciCfg1Addr) + offset); in pciCfg1outw()
608 *val = (PciCfg1Addr >> shift) & 0xff; in pciCfg1inb()
614 pci_device_cfg_read_u8(pci_device_for_cfg_address(PciCfg1Addr), in pciCfg1inb()
615 val, PCI_OFFSET(PciCfg1Addr) + offset); in pciCfg1inb()
617 ErrorF(" cfg_inb(%#" PRIx32 ") = %2.2x\n", (unsigned) (PciCfg1Addr + offset), in pciCfg1inb()
631 PciCfg1Addr &= ~(0xff << shift); in pciCfg1outb()
632 PciCfg1Addr |= ((uint32_t) val) << shift; in pciCfg1outb()
639 ErrorF(" cfg_outb(%#" PRIx32 ", %2.2x)\n", (unsigned) (PciCfg1Addr + offset), in pciCfg1outb()
641 pci_device_cfg_write_u8(pci_device_for_cfg_address(PciCfg1Addr), val, in pciCfg1outb()
642 PCI_OFFSET(PciCfg1Addr) + offset); in pciCfg1outb()