/dragonfly/sys/bus/u4b/controller/ |
H A D | ehci.h | 331 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 D | xhcireg.h | 206 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 D | uhci_pci.c | 276 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 D | ohci.c | 93 #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 D | uhci.h | 227 bus_space_tag_t sc_io_tag; member
|
H A D | ohci.h | 240 bus_space_tag_t sc_io_tag; member
|
H A D | uhci.c | 97 #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 D | ohci_pci.c | 235 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res); in ohci_pci_attach()
|
H A D | xhci_pci.c | 206 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res); in xhci_pci_attach()
|
H A D | ehci_pci.c | 322 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res); in ehci_pci_attach()
|
H A D | xhci.h | 473 bus_space_tag_t sc_io_tag; member
|