Lines Matching refs:sgimc
21 struct sgimc_regs *sgimc; variable
23 EXPORT_SYMBOL(sgimc);
28 ((sgimc->systemid & SGIMC_SYSID_MASKREV) >= 5 ? 24 : 22)); in get_bank_addr()
34 ((sgimc->systemid & SGIMC_SYSID_MASKREV) >= 5 ? 16 : 14); in get_bank_size()
39 unsigned int res = bank > 1 ? sgimc->mconfig1 : sgimc->mconfig0; in get_bank_config()
113 sgimc = (struct sgimc_regs *) in sgimc_init()
117 (int) sgimc->systemid & SGIMC_SYSID_MASKREV); in sgimc_init()
127 tmp = sgimc->cpuctrl0; in sgimc_init()
129 sgimc->cpuctrl0 = tmp; in sgimc_init()
136 sgimc->cstat = sgimc->gstat = 0; in sgimc_init()
143 tmp = sgimc->cpuctrl0; in sgimc_init()
147 sgimc->cpuctrl0 = tmp; in sgimc_init()
152 tmp = sgimc->cpuctrl1; in sgimc_init()
155 sgimc->cpuctrl1 = tmp; in sgimc_init()
171 sgimc->divider = 0x101; in sgimc_init()
203 sgimc->giopar = tmp; /* poof */ in sgimc_init()
222 mconfig1 = sgimc->mconfig1; in prom_free_prom_memory()
224 sgimc->mconfig1 = (mconfig1 & 0xffff0000) | 0x2060; in prom_free_prom_memory()
230 sgimc->cmacc = (sgimc->cmacc & ~0xf) | 4; in prom_free_prom_memory()
233 sgimc->mconfig1 = mconfig1; in prom_free_prom_memory()