Lines Matching defs:rom
181 struct sti_rom *rom = sc->sc_base.sc_rom;
182 bus_space_tag_t memt = rom->memt;
183 bus_space_handle_t memh = rom->regh[2];
190 struct sti_rom *rom = sc->sc_base.sc_rom;
191 bus_space_tag_t memt = rom->memt;
192 bus_space_handle_t memh = rom->regh[2];
199 struct sti_rom *rom = sc->sc_base.sc_rom;
200 bus_space_tag_t memt = rom->memt;
201 bus_space_handle_t memh = rom->regh[2];
208 struct sti_rom *rom = sc->sc_base.sc_rom;
209 bus_space_tag_t memt = rom->memt;
210 bus_space_handle_t memh = rom->regh[2];
219 struct sti_rom *rom;
246 rom = (struct sti_rom *)kmem_zalloc(sizeof(*rom), KM_SLEEP);
247 rom->rom_softc = &sc->sc_base;
248 ret = sti_rom_setup(rom, paa->pa_iot, paa->pa_memt, sc->sc_romh,
251 kmem_free(rom, sizeof(*rom));
255 sc->sc_base.sc_rom = rom;
365 DPRINTF(("%s: mapping rom @ %lx for %lx\n", __func__,
511 DPRINTF(("remapping rom @ %lx for %lx\n",
656 struct sti_rom *rom = sc->sc_base.sc_rom;
657 bus_space_tag_t memt = rom->memt;
658 bus_space_handle_t memh = rom->regh[2];
880 struct sti_rom *rom = sc->sc_base.sc_rom;
888 pa = bus_space_mmap(rom->memt, sc->sc_scr.fbaddr, offset,
892 pa = bus_space_mmap(rom->memt, rom->regh[2],