Lines Matching +full:mips +full:- +full:linux +full:-
4 * Based on the Linux implementation.
5 * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc.
6 * Authors: Carsten Langgaard <carstenl@mips.com>
7 * Maciej W. Rozycki <macro@mips.com>
9 * SPDX-License-Identifier: GPL-2.0
57 return -1; in gt_config_access()
65 writel(~GT_INTRCAUSE_ABORT_BITS, >->regs->intrcause); in gt_config_access()
73 writel(addr, >->regs->pci0_cfgaddr); in gt_config_access()
86 writel(val, >->regs->pci0_cfgdata); in gt_config_access()
88 val = readl(>->regs->pci0_cfgdata); in gt_config_access()
102 intr = readl(>->regs->intrcause); in gt_config_access()
105 writel(~GT_INTRCAUSE_ABORT_BITS, >->regs->intrcause); in gt_config_access()
106 return -1; in gt_config_access()
145 gt->regs = regs; in gt64120_pci_init()
147 hose = >->hose; in gt64120_pci_init()
149 hose->first_busno = 0; in gt64120_pci_init()
150 hose->last_busno = 0; in gt64120_pci_init()
153 pci_set_region(&hose->regions[0], sys_bus, sys_phys, sys_size, in gt64120_pci_init()
157 pci_set_region(&hose->regions[1], mem_bus, mem_phys, mem_size, in gt64120_pci_init()
161 pci_set_region(&hose->regions[2], io_bus, io_phys, io_size, in gt64120_pci_init()
164 hose->region_count = 3; in gt64120_pci_init()
175 hose->last_busno = pci_hose_scan(hose); in gt64120_pci_init()