Lines Matching +full:break +full:- +full:control
33 return ((bus->number & 0xff) << 16) | in mkaddr()
43 u32 control = mace->pci.control; in mace_pci_read_config() local
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()
51 break; in mace_pci_read_config()
53 *val = mace->pci.config_data.w[((reg >> 1) & 1) ^ 1]; in mace_pci_read_config()
54 break; in mace_pci_read_config()
56 *val = mace->pci.config_data.l; in mace_pci_read_config()
57 break; 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()
66 if (bus->number == 0 && reg == 0x40 && size == 4 && 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()
83 break; in mace_pci_write_config()
85 mace->pci.config_data.w[((reg >> 1) & 1) ^ 1] = val; in mace_pci_write_config()
86 break; in mace_pci_write_config()
88 mace->pci.config_data.l = val; in mace_pci_write_config()
89 break; in mace_pci_write_config()