Lines Matching refs:pci
43 u32 control = mace->pci.control; in mace_pci_read_config()
46 mace->pci.control = control & ~MACEPCI_CONTROL_MAR_INT; in mace_pci_read_config()
47 mace->pci.config_addr = mkaddr(bus, devfn, reg); in mace_pci_read_config()
50 *val = mace->pci.config_data.b[(reg & 3) ^ 3]; in mace_pci_read_config()
53 *val = mace->pci.config_data.w[((reg >> 1) & 1) ^ 1]; in mace_pci_read_config()
56 *val = mace->pci.config_data.l; in mace_pci_read_config()
60 mace->pci.error &= ~MACEPCI_ERROR_MASTER_ABORT; in mace_pci_read_config()
61 mace->pci.control = control; in mace_pci_read_config()
79 mace->pci.config_addr = mkaddr(bus, devfn, reg); in mace_pci_write_config()
82 mace->pci.config_data.b[(reg & 3) ^ 3] = val; in mace_pci_write_config()
85 mace->pci.config_data.w[((reg >> 1) & 1) ^ 1] = val; in mace_pci_write_config()
88 mace->pci.config_data.l = val; in mace_pci_write_config()