Lines Matching refs:rom
66 /* stuff we need in order to use the STI ROM */
174 struct sti_rom *rom = sc->sc_base.sc_rom;
175 bus_space_tag_t memt = rom->memt;
176 bus_space_handle_t memh = rom->regh[2];
183 struct sti_rom *rom = sc->sc_base.sc_rom;
184 bus_space_tag_t memt = rom->memt;
185 bus_space_handle_t memh = rom->regh[2];
192 struct sti_rom *rom = sc->sc_base.sc_rom;
193 bus_space_tag_t memt = rom->memt;
194 bus_space_handle_t memh = rom->regh[2];
201 struct sti_rom *rom = sc->sc_base.sc_rom;
202 bus_space_tag_t memt = rom->memt;
203 bus_space_handle_t memh = rom->regh[2];
212 struct sti_rom *rom;
239 rom = (struct sti_rom *)kmem_zalloc(sizeof(*rom), KM_SLEEP);
240 rom->rom_softc = &sc->sc_base;
241 ret = sti_rom_setup(rom, paa->pa_iot, paa->pa_memt, sc->sc_romh,
244 kmem_free(rom, sizeof(*rom));
248 sc->sc_base.sc_rom = rom;
331 * Enable PCI ROM.
349 * Disable PCI ROM.
393 struct sti_rom *rom = sc->sc_base.sc_rom;
394 bus_space_tag_t memt = rom->memt;
395 bus_space_handle_t memh = rom->regh[2];
617 struct sti_rom *rom
625 pa = bus_space_mmap(rom->memt, sc->sc_scr.fbaddr, offset,
629 pa = bus_space_mmap(rom->memt, rom->regh[2],