Lines Matching refs:sc_handle
74 val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs);
77 val = bus_space_read_2(sc->sc_tag, sc->sc_handle, ofs);
80 val = bus_space_read_4(sc->sc_tag, sc->sc_handle, ofs);
98 val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs);
101 sval = bus_space_read_2(sc->sc_tag, sc->sc_handle, ofs);
105 val = bus_space_read_4(sc->sc_tag, sc->sc_handle, ofs);
122 bus_space_write_1(sc->sc_tag, sc->sc_handle, ofs, val);
125 bus_space_write_2(sc->sc_tag, sc->sc_handle, ofs, htole16(val));
128 bus_space_write_4(sc->sc_tag, sc->sc_handle, ofs, htole32(val));
189 sc->sc_handle = rman_get_bushandle(sc->sc_res);
293 sc->sc_handle = rman_get_bushandle(sc->sc_res);
635 sc->sc_handle, sc->sc_wrofs + i,
640 sc->sc_handle, sc->sc_wrofs + i,
645 sc->sc_handle, sc->sc_wrofs + i,
709 bus_space_write_1(sc->sc_tag, sc->sc_handle,
713 bus_space_write_2(sc->sc_tag, sc->sc_handle,
717 bus_space_write_4(sc->sc_tag, sc->sc_handle,
763 uint16_t v = bus_space_read_2(sc->sc_tag, sc->sc_handle, off<<1);
771 bus_space_write_2(sc->sc_tag, sc->sc_handle, off<<1, v);