Searched refs:sc_otg (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/dev/usb/controller/
H A Ddwc_otg_fdt.h32 struct dwc_otg_softc sc_otg; /* must be first */ member in struct:dwc_otg_fdt_softc
H A Dmusb_otg_atmelarm.c67 struct musbotg_softc sc_otg; /* must be first */ member in struct:musbotg_super_softc
76 musbotg_vbus_interrupt(&sc->sc_otg, vbus_val);
132 sc->sc_otg.sc_clocks_on = &musbotg_clocks_on;
133 sc->sc_otg.sc_clocks_off = &musbotg_clocks_off;
134 sc->sc_otg.sc_clocks_arg = sc;
137 sc->sc_otg.sc_bus.parent = dev;
138 sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices;
139 sc->sc_otg.sc_bus.devices_max = MUSB2_MAX_DEVICES;
140 sc->sc_otg
[all...]
H A Ddwc_otg_fdt.c99 sc->sc_otg.sc_bus.parent = dev;
100 sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices;
101 sc->sc_otg.sc_bus.devices_max = DWC_OTG_MAX_DEVICES;
102 sc->sc_otg.sc_bus.dma_bits = 32;
112 sc->sc_otg.sc_mode = DWC_MODE_HOST;
114 sc->sc_otg.sc_mode = DWC_MODE_DEVICE;
122 if (usb_bus_mem_alloc_all(&sc->sc_otg.sc_bus,
127 sc->sc_otg.sc_io_res =
130 if (!(sc->sc_otg
[all...]
H A Datmegadci_atmelarm.c67 struct atmegadci_softc sc_otg; /* must be first */ member in struct:atmegadci_super_softc
97 sc->sc_otg.sc_clocks_on = &atmegadci_clocks_on;
98 sc->sc_otg.sc_clocks_off = &atmegadci_clocks_off;
101 sc->sc_otg.sc_bus.parent = dev;
102 sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices;
103 sc->sc_otg.sc_bus.devices_max = ATMEGA_MAX_DEVICES;
104 sc->sc_otg.sc_bus.dma_bits = 32;
107 if (usb_bus_mem_alloc_all(&sc->sc_otg.sc_bus,
112 sc->sc_otg
[all...]
H A Ddwc_otg_hisi.c78 sc->sc_otg.sc_mode = DWC_MODE_HOST;
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_musb.c129 struct musbotg_softc sc_otg; member in struct:musbotg_super_softc
139 if (sc->sc_otg.sc_mode == MUSB2_DEVICE_MODE)
140 musbotg_vbus_interrupt(&sc->sc_otg, 1);
143 musbotg_vbus_interrupt(&sc->sc_otg, stat & 1);
244 sc->sc_otg.sc_id = device_get_unit(dev);
256 sc->sc_otg.sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ,
258 if (sc->sc_otg.sc_irq_res == NULL) {
265 sc->sc_otg.sc_clocks_on = &musbotg_clocks_on;
266 sc->sc_otg.sc_clocks_off = &musbotg_clocks_off;
267 sc->sc_otg
[all...]

Completed in 190 milliseconds