Searched refs:sc_io_tag (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-13-stable/sys/dev/usb/controller/
H A Dehci.h332 bus_space_tag_t sc_io_tag; member in struct:ehci_softc
365 #define EREAD1(sc, a) bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (a))
366 #define EREAD2(sc, a) bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (a))
367 #define EREAD4(sc, a) bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a))
369 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x))
371 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x))
373 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x))
375 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a))
377 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a))
379 bus_space_read_4((sc)->sc_io_tag, (s
[all...]
H A Dsaf1761_otg.h46 _temp = bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (reg)); \
51 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (reg), htole32(_temp)); \
139 bus_space_tag_t sc_io_tag; member in struct:saf1761_otg_softc
H A Dehci_fsl.c161 tmp = bus_space_read_4(sc->sc_io_tag, sc->sc_io_hdl, USBMODE);
162 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, USBMODE, tmp | HOST_MODE);
205 tmp = bus_space_read_4(sc->sc_io_tag, sc->sc_io_hdl, PORTSC);
206 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, PORTSC, tmp & ~PORT_POWER_MASK);
282 sc->sc_io_tag = &bs_le_tag;
393 if (sc->sc_io_tag && sc->sc_io_hdl)
394 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, EHCI_USBINTR, 0);
422 sc->sc_io_tag = 0;
H A Datmegadci.h177 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg)
180 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data)
183 bus_space_write_multi_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len)
186 bus_space_read_multi_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len)
267 bus_space_tag_t sc_io_tag; member in struct:atmegadci_softc
H A Davr32dci.h143 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg)
146 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data)
149 bus_space_write_multi_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len)
152 bus_space_read_multi_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, ptr, len)
235 bus_space_tag_t sc_io_tag; member in struct:avr32dci_softc
H A Ddwc_otg.h47 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg)
50 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data)
175 bus_space_tag_t sc_io_tag; member in struct:dwc_otg_softc
H A Dxhcireg.h208 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \
211 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \
214 bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, \
217 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \
220 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \
223 bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, \
H A Dsaf1761_otg_boot.c95 sc->sc_io_tag = (void *)1;
H A Dehci_msm.c112 sc->sc_io_tag = rman_get_bustag(esc->res[0]);
121 sc->sc_io_tag = rman_get_bustag(esc->res[0]);
125 if (bus_space_subregion(sc->sc_io_tag, bsh, 0x100,
H A Dmusb_otg.h290 bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, reg)
293 bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data)
296 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg)
299 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, reg, data)
406 bus_space_tag_t sc_io_tag; member in struct:musbotg_softc
H A Duss820dci.h265 bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (reg) * USS820_REG_STRIDE)
268 bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (reg) * USS820_REG_STRIDE, (data))
341 bus_space_tag_t sc_io_tag; member in struct:uss820dci_softc
H A Dmusb_otg.c489 bus_space_read_multi_1(sc->sc_io_tag, sc->sc_io_hdl,
608 bus_space_write_multi_1(sc->sc_io_tag, sc->sc_io_hdl,
716 bus_space_read_multi_4(sc->sc_io_tag, sc->sc_io_hdl,
723 bus_space_read_multi_1(sc->sc_io_tag, sc->sc_io_hdl,
738 bus_space_read_multi_4(sc->sc_io_tag, sc->sc_io_hdl,
751 bus_space_read_multi_1(sc->sc_io_tag, sc->sc_io_hdl,
835 bus_space_write_multi_4(sc->sc_io_tag, sc->sc_io_hdl,
842 bus_space_write_multi_1(sc->sc_io_tag, sc->sc_io_hdl,
854 bus_space_write_multi_4(sc->sc_io_tag, sc->sc_io_hdl,
867 bus_space_write_multi_1(sc->sc_io_tag, s
[all...]
H A Dgeneric_ehci.c94 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
H A Dehci_imx.c403 esc->sc_io_tag = rman_get_bustag(sc->ehci_mem_res);
421 err = bus_space_subregion(esc->sc_io_tag,
H A Dehci_mv.c179 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
189 if (bus_space_subregion(sc->sc_io_tag, bsh, MV_USB_HOST_OFST,
H A Dgeneric_ohci.c144 sc->ohci_sc.sc_io_tag = rman_get_bustag(sc->ohci_sc.sc_io_res);
260 bus_space_write_4(sc->ohci_sc.sc_io_tag, sc->ohci_sc.sc_io_hdl,
H A Duhci_pci.c294 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
299 bus_space_write_2(sc->sc_io_tag, sc->sc_io_hdl, UHCI_INTR, 0);
/freebsd-13-stable/sys/arm/freescale/vybrid/
H A Dvf_ehci.c281 sc->sc_io_tag = rman_get_bustag(esc->res[0]);
298 bus_space_read_4(sc->sc_io_tag, bsh, USB_HCSPARAMS));
300 bus_space_read_4(sc->sc_io_tag, bsh, USB_ID));
302 bus_space_read_4(sc->sc_io_tag, bsh, USB_HWGENERAL));
304 bus_space_read_4(sc->sc_io_tag, bsh, USB_HWHOST));
306 bus_space_read_4(sc->sc_io_tag, bsh, USB_HWDEVICE));
308 bus_space_read_4(sc->sc_io_tag, bsh, USB_HWTXBUF));
310 bus_space_read_4(sc->sc_io_tag, bsh, USB_HWRXBUF));
322 err = bus_space_subregion(sc->sc_io_tag, bsh, 0x100,
353 reg = bus_space_read_4(sc->sc_io_tag, s
[all...]
/freebsd-13-stable/sys/mips/atheros/
H A Dar71xx_ohci.c110 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
138 bus_space_write_4(sc->sc_ohci.sc_io_tag, sc->sc_ohci.sc_io_hdl, OHCI_CONTROL, 0);
173 bus_space_write_4(sc->sc_ohci.sc_io_tag, sc->sc_ohci.sc_io_hdl,
193 sc->sc_ohci.sc_io_tag = 0;
/freebsd-13-stable/sys/powerpc/ps3/
H A Dohci_ps3.c106 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
137 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl,
H A Dehci_ps3.c121 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
/freebsd-13-stable/sys/mips/ingenic/
H A Djz4780_ohci.c191 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
225 bus_space_write_4(sc->sc_ohci.sc_io_tag, sc->sc_ohci.sc_io_hdl, OHCI_CONTROL, 0);
265 bus_space_write_4(sc->sc_ohci.sc_io_tag, sc->sc_ohci.sc_io_hdl,
286 sc->sc_ohci.sc_io_tag = 0;
/freebsd-13-stable/sys/arm/xilinx/
H A Dzy7_ehci.c246 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
250 if (bus_space_subregion(sc->sc_io_tag, bsh, EHCI_REG_OFFSET,
293 bus_space_write_4(sc->sc_io_tag, bsh,
298 if (zy7_phy_config(dev, sc->sc_io_tag, bsh) < 0) {
/freebsd-13-stable/sys/arm/nvidia/
H A Dtegra_ehci.c228 esc->sc_io_tag = rman_get_bustag(sc->ehci_mem_res);
248 rv = bus_space_subregion(esc->sc_io_tag,
/freebsd-13-stable/sys/dev/bhnd/cores/usb/
H A Dbhnd_ehci.c142 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);

Completed in 281 milliseconds

12