Lines Matching refs:hub
75 static void ohci_da8xx_ocic_handler(struct da8xx_ohci_root_hub *hub, in ohci_da8xx_ocic_handler() argument
81 if (hub->get_oci(port) > 0) in ohci_da8xx_ocic_handler()
82 hub->set_power(port, 0); in ohci_da8xx_ocic_handler()
88 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_init() local
114 if (hub->set_power) { in ohci_da8xx_init()
118 if (hub->get_oci) { in ohci_da8xx_init()
123 rh_a |= hub->potpgt << 24; in ohci_da8xx_init()
174 struct da8xx_ohci_root_hub *hub = dev_get_platdata(dev); in ohci_da8xx_hub_control() local
188 if (hub->get_power && hub->get_power(wIndex) == 0) in ohci_da8xx_hub_control()
192 if (hub->get_oci && hub->get_oci(wIndex) > 0) in ohci_da8xx_hub_control()
217 if (!hub->set_power) in ohci_da8xx_hub_control()
220 return hub->set_power(wIndex, temp) ? -EPIPE : 0; in ohci_da8xx_hub_control()
295 struct da8xx_ohci_root_hub *hub = dev_get_platdata(&pdev->dev); in usb_hcd_da8xx_probe() local
300 if (hub == NULL) in usb_hcd_da8xx_probe()
340 if (hub->ocic_notify) { in usb_hcd_da8xx_probe()
341 error = hub->ocic_notify(ohci_da8xx_ocic_handler); in usb_hcd_da8xx_probe()
364 struct da8xx_ohci_root_hub *hub = dev_get_platdata(&pdev->dev); in usb_hcd_da8xx_remove() local
366 hub->ocic_notify(NULL); in usb_hcd_da8xx_remove()