Lines Matching refs:mace
45 u32 control = mace->pci.control; in mace_pci_read_config()
48 mace->pci.control = control & ~MACEPCI_CONTROL_MAR_INT; in mace_pci_read_config()
49 mace->pci.config_addr = mkaddr(bus, devfn, reg); in mace_pci_read_config()
52 *val = mace->pci.config_data.b[(reg & 3) ^ 3]; in mace_pci_read_config()
55 *val = mace->pci.config_data.w[((reg >> 1) & 1) ^ 1]; in mace_pci_read_config()
58 *val = mace->pci.config_data.l; in mace_pci_read_config()
62 mace->pci.error &= ~MACEPCI_ERROR_MASTER_ABORT; in mace_pci_read_config()
63 mace->pci.control = control; in mace_pci_read_config()
81 mace->pci.config_addr = mkaddr(bus, devfn, reg); in mace_pci_write_config()
84 mace->pci.config_data.b[(reg & 3) ^ 3] = val; in mace_pci_write_config()
87 mace->pci.config_data.w[((reg >> 1) & 1) ^ 1] = val; in mace_pci_write_config()
90 mace->pci.config_data.l = val; in mace_pci_write_config()