Lines Matching defs:sc_res
176 struct resource *sc_res;
523 clk_mem_res = sc->sc_res;
589 clk_mem_res = sc->sc_res;
658 clk_mem_res = sc->sc_res;
734 clk_mem_res = sc->sc_res;
778 clk_mem_res = sc->sc_res;
827 clk_mem_res = sc->sc_res;
887 clk_mem_res = sc->sc_res;
941 clksel = bus_read_4(sc->sc_res, CM_SYS_CLKSEL_OFFSET);
1002 clksel = bus_read_4(sc->sc_res, CM_CLKSEL_DPLL_MPU);
1090 clk_mem_res = sc->sc_res;
1125 clk_mem_res = sc->sc_res;
1199 clk_mem_res = sc->sc_res;
1228 clk_mem_res = sc->sc_res;
1289 clk_mem_res = sc->sc_res;
1294 clk_mem_res = sc->sc_res;
1346 clk_mem_res = sc->sc_res;
1373 bus_write_4(sc->sc_res, PRM_RSTCTRL,
1374 bus_read_4(sc->sc_res, PRM_RSTCTRL) | PRM_RSTCTRL_RESET);
1375 bus_read_4(sc->sc_res, PRM_RSTCTRL);
1446 sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rid,
1448 if (sc->sc_res == NULL) {