Home
last modified time | relevance | path

Searched refs:sc_io_tag (Results 1 – 11 of 11) sorted by relevance

/dragonfly/sys/bus/u4b/controller/
H A Dehci.h331 bus_space_tag_t sc_io_tag; member
363 #define EREAD1(sc, a) bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (a))
364 #define EREAD2(sc, a) bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (a))
365 #define EREAD4(sc, a) bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a))
367 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x))
369 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x))
371 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x))
373 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a))
375 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a))
377 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a))
[all …]
H A Dxhcireg.h206 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \
209 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \
212 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, \
215 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \
218 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \
221 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, \
H A Duhci_pci.c276 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res); in uhci_pci_attach()
281 bus_space_write_2(sc->sc_io_tag, sc->sc_io_hdl, UHCI_INTR, 0); in uhci_pci_attach()
H A Dohci.c93 #define OBARR(sc) bus_space_barrier((sc)->sc_io_tag, (sc)->sc_io_hdl, 0, (sc)->sc_io_size, \
96 do { OBARR(sc); bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0)
98 do { OBARR(sc); bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0)
100 do { OBARR(sc); bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0)
101 #define OREAD1(sc, r) (OBARR(sc), bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r)))
102 #define OREAD2(sc, r) (OBARR(sc), bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r)))
103 #define OREAD4(sc, r) (OBARR(sc), bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r)))
H A Duhci.h227 bus_space_tag_t sc_io_tag; member
H A Dohci.h240 bus_space_tag_t sc_io_tag; member
H A Duhci.c97 #define UBARR(sc) bus_space_barrier((sc)->sc_io_tag, (sc)->sc_io_hdl, 0, (sc)->sc_io_size, \
100 do { UBARR(sc); bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); \
103 do { UBARR(sc); bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); \
106 do { UBARR(sc); bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); \
108 #define UREAD1(sc, r) (UBARR(sc), bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r)))
109 #define UREAD2(sc, r) (UBARR(sc), bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r)))
110 #define UREAD4(sc, r) (UBARR(sc), bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r)))
H A Dohci_pci.c235 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res); in ohci_pci_attach()
H A Dxhci_pci.c206 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res); in xhci_pci_attach()
H A Dehci_pci.c322 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res); in ehci_pci_attach()
H A Dxhci.h473 bus_space_tag_t sc_io_tag; member