/freebsd/sys/dev/usb/controller/ |
H A D | ehci.h | 332 bus_space_handle_t sc_io_hdl; member 364 #define EREAD1(sc, a) bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (a)) 365 #define EREAD2(sc, a) bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (a)) 366 #define EREAD4(sc, a) bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a)) 368 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x)) 370 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x)) 372 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x)) 374 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a)) 376 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a)) 378 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a)) [all …]
|
H A D | ehci_fsl.c | 156 tmp = bus_space_read_4(sc->sc_io_tag, sc->sc_io_hdl, USBMODE); in set_to_host_mode() 157 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, USBMODE, tmp | HOST_MODE); in set_to_host_mode() 200 tmp = bus_space_read_4(sc->sc_io_tag, sc->sc_io_hdl, PORTSC); in clear_port_power() 201 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, PORTSC, tmp & ~PORT_POWER_MASK); in clear_port_power() 265 &sc->sc_io_hdl); in fsl_ehci_attach() 392 if (sc->sc_io_tag && sc->sc_io_hdl) in fsl_ehci_detach() 393 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, EHCI_USBINTR, 0); in fsl_ehci_detach() 414 sc->sc_io_hdl = 0; in fsl_ehci_detach()
|
H A D | xhcireg.h | 211 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \ 214 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \ 217 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, \ 220 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \ 223 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \ 226 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, \
|
H A D | atmegadci.h | 176 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg) 179 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data) 182 bus_space_write_multi_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len) 185 bus_space_read_multi_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len) 267 bus_space_handle_t sc_io_hdl; member
|
H A D | avr32dci.h | 142 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg) 145 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data) 148 bus_space_write_multi_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len) 151 bus_space_read_multi_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len) 235 bus_space_handle_t sc_io_hdl; member
|
H A D | musb_otg.h | 289 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, reg) 292 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data) 295 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg) 298 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data) 406 bus_space_handle_t sc_io_hdl; member
|
H A D | musb_otg.c | 487 bus_space_read_multi_1(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_setup_rx() 606 bus_space_write_multi_1(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_host_ctrl_setup_tx() 714 bus_space_read_multi_4(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_rx() 721 bus_space_read_multi_1(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_rx() 736 bus_space_read_multi_4(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_rx() 749 bus_space_read_multi_1(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_rx() 833 bus_space_write_multi_4(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_tx() 840 bus_space_write_multi_1(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_tx() 852 bus_space_write_multi_4(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_tx() 865 bus_space_write_multi_1(sc->sc_io_tag, sc->sc_io_hdl, in musbotg_dev_ctrl_data_tx() [all …]
|
H A D | dwc_otg.h | 46 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg) 49 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data) 175 bus_space_handle_t sc_io_hdl; member
|
H A D | uss820dci.h | 264 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (reg) * USS820_REG_STRIDE) 267 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (reg) * USS820_REG_STRIDE, (data)) 341 bus_space_handle_t sc_io_hdl; member
|
H A D | uhci_pci.c | 312 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); in uhci_pci_attach() 316 bus_space_write_2(sc->sc_io_tag, sc->sc_io_hdl, UHCI_INTR, 0); in uhci_pci_attach()
|
H A D | generic_ohci.c | 134 sc->ohci_sc.sc_io_hdl = rman_get_bushandle(sc->ohci_sc.sc_io_res); in generic_ohci_attach() 247 bus_space_write_4(sc->ohci_sc.sc_io_tag, sc->ohci_sc.sc_io_hdl, in generic_ohci_detach()
|
H A D | generic_ehci.c | 92 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); in generic_ehci_attach()
|
H A D | generic_xhci.c | 90 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); in generic_xhci_attach()
|
H A D | ehci_msm.c | 123 sc->sc_io_size, &sc->sc_io_hdl) != 0) in ehci_msm_attach()
|
H A D | uhci.h | 229 bus_space_handle_t sc_io_hdl; member
|
H A D | ohci.c | 100 #define OBARR(sc) bus_space_barrier((sc)->sc_io_tag, (sc)->sc_io_hdl, 0, (sc)->sc_io_size, \ 103 do { OBARR(sc); bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0) 105 do { OBARR(sc); bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0) 107 do { OBARR(sc); bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0) 108 #define OREAD1(sc, r) (OBARR(sc), bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) 109 #define OREAD2(sc, r) (OBARR(sc), bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) 110 #define OREAD4(sc, r) (OBARR(sc), bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r)))
|
H A D | ohci.h | 242 bus_space_handle_t sc_io_hdl; member
|
H A D | uhci.c | 103 #define UBARR(sc) bus_space_barrier((sc)->sc_io_tag, (sc)->sc_io_hdl, 0, (sc)->sc_io_size, \ 106 do { UBARR(sc); bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); \ 109 do { UBARR(sc); bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); \ 112 do { UBARR(sc); bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); \ 114 #define UREAD1(sc, r) (UBARR(sc), bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) 115 #define UREAD2(sc, r) (UBARR(sc), bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) 116 #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 | 232 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); in ohci_pci_attach()
|
/freebsd/sys/arm/freescale/vybrid/ |
H A D | vf_ehci.c | 319 sc->sc_io_size, &sc->sc_io_hdl); in vybrid_ehci_attach() 349 reg = bus_space_read_4(sc->sc_io_tag, sc->sc_io_hdl, 0xA8); in vybrid_ehci_attach() 351 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, 0xA8, reg); in vybrid_ehci_attach() 404 if (sc->sc_io_tag && sc->sc_io_hdl) in vybrid_ehci_detach() 405 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, in vybrid_ehci_detach()
|
/freebsd/sys/powerpc/ps3/ |
H A D | ohci_ps3.c | 103 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); in ohci_ps3_attach() 133 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, in ohci_ps3_attach()
|
H A D | ehci_ps3.c | 113 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); in ehci_ps3_attach()
|
/freebsd/sys/arm/ti/usb/ |
H A D | omap_ehci.c | 357 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); in omap_ehci_attach()
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_ehci.c | 246 TEGRA_EHCI_REG_OFF, TEGRA_EHCI_REG_SIZE, &esc->sc_io_hdl); in tegra_ehci_attach()
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_ehci.c | 246 sc->sc_io_size, &sc->sc_io_hdl) != 0) in zy7_ehci_attach()
|