Lines Matching refs:sc_banks
189 size = sc->sc_banks[i].size;
193 start = sc->sc_banks[i].addr;
260 size = sc->sc_banks[i].size;
264 start = sc->sc_banks[i].addr;
272 sc->sc_banks[i].kva = sc->sc_range[r].kva +
288 size = sc->sc_banks[i].size;
295 regval = sc->sc_banks[i].addr;
296 switch (sc->sc_banks[i].width) {
310 regval |= (sc->sc_banks[i].decc << 9);
311 regval |= (sc->sc_banks[i].wp << 8);
312 regval |= (sc->sc_banks[i].msel << 5);
313 regval |= (sc->sc_banks[i].atom << 2);
322 switch (sc->sc_banks[i].msel) {
359 if (sc->sc_banks[bank].size == 0)
363 sc->sc_banks[bank].width = width * 8;
407 start = sc->sc_banks[bank].kva + start;
600 sc->sc_banks[bank].addr = start + offset;
601 sc->sc_banks[bank].size = size;
609 sc->sc_banks[bank].width = 16;
610 sc->sc_banks[bank].msel = LBCRES_MSEL_GPCM;
611 sc->sc_banks[bank].decc = LBCRES_DECC_DISABLED;
612 sc->sc_banks[bank].atom = LBCRES_ATOM_DISABLED;
613 sc->sc_banks[bank].wp = 0;