Lines Matching +full:0 +full:x404

83 	{ 0, 0 }
93 DRIVER_MODULE(ehci, simplebus, ehci_driver, 0, 0);
99 #define FSL_EHCI_REG_OFF 0x100
100 #define FSL_EHCI_REG_SIZE 0x300
104 * Offsets from 0x000 ehci dev space, big-endian access.
107 SNOOP1 = 0x400,
108 SNOOP2 = 0x404,
109 AGE_CNT_THRESH = 0x408,
110 SI_CTRL = 0x410,
111 CONTROL = 0x500
116 USB_EN = 0x00000004,
117 UTMI_PHY_EN = 0x00000200,
118 ULPI_INT_EN = 0x00000001
124 FETCH_64 = 0
127 #define SNOOP_RANGE_2GB 0x1E
134 USBMODE = 0x0A8,
135 PORTSC = 0x084,
136 ULPI_VIEWPORT = 0x70
141 HOST_MODE = 0x3,
142 DEVICE_MODE = 0x2
145 #define PORT_POWER_MASK 0x00001000
171 if ((node != 0) && in enable_usb()
172 (OF_getprop_alloc(node, "phy_type", (void **)&phy_type) > 0)) { in enable_usb()
173 if (strncasecmp(phy_type, "utmi", strlen("utmi")) == 0) in enable_usb()
192 bus_space_write_4(iot, ioh, SNOOP2, 0x80000000 | SNOOP_RANGE_2GB); in set_snooping()
214 if (((ofw_bus_is_compatible(dev, "fsl-usb2-dr")) == 0) && in fsl_ehci_probe()
215 ((ofw_bus_is_compatible(dev, "fsl-usb2-mph")) == 0)) in fsl_ehci_probe()
233 rid = 0; in fsl_ehci_attach()
266 if (err != 0) { in fsl_ehci_attach()
321 sc->sc_id_vendor = 0x1234; in fsl_ehci_attach()
368 return (0); in fsl_ehci_attach()
379 if (err != 0) in fsl_ehci_detach()
393 bus_space_write_4(sc->sc_io_tag, sc->sc_io_hdl, EHCI_USBINTR, 0); in fsl_ehci_detach()
406 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); in fsl_ehci_detach()
411 bus_release_resource(self, SYS_RES_MEMORY, 0, sc->sc_io_res); in fsl_ehci_detach()
413 sc->sc_io_tag = 0; in fsl_ehci_detach()
414 sc->sc_io_hdl = 0; in fsl_ehci_detach()
417 return (0); in fsl_ehci_detach()