Lines Matching refs:toc
187 struct sbbc_sram_toc *toc;
246 if (OF_getprop(chosen, "iosram-toc", &sc->sc_sram_toc,
251 toc = (struct sbbc_sram_toc *)(sc->sc_sram + sc->sc_sram_toc);
253 for (i = 0; i < toc->toc_ntags; i++) {
254 if (strcmp(toc->toc_tag[i].tag_key, "SOLSCIE") == 0)
256 (sc->sc_sram + toc->toc_tag[i].tag_offset);
257 if (strcmp(toc->toc_tag[i].tag_key, "SOLSCIR") == 0)
259 (sc->sc_sram + toc->toc_tag[i].tag_offset);
260 if (strcmp(toc->toc_tag[i].tag_key, "SCSOLIE") == 0)
262 (sc->sc_sram + toc->toc_tag[i].tag_offset);
263 if (strcmp(toc->toc_tag[i].tag_key, "SCSOLIR") == 0)
265 (sc->sc_sram + toc->toc_tag[i].tag_offset);
268 for (i = 0; i < toc->toc_ntags; i++) {
269 if (strcmp(toc->toc_tag[i].tag_key, "TODDATA") == 0)
270 sbbc_attach_tod(sc, toc->toc_tag[i].tag_offset);
271 if (strcmp(toc->toc_tag[i].tag_key, "SOLCONS") == 0)
272 sbbc_attach_cons(sc, toc->toc_tag[i].tag_offset);