Lines Matching refs:self

442 		s = hcd->self.bus_name;  in rh_string()
529 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
537 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
542 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
544 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control()
595 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()
619 dev_dbg (hcd->self.controller, "root hub device address %d\n", in rh_call_control()
635 dev_dbg (hcd->self.controller, "no endpoint features yet\n"); in rh_call_control()
660 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control()
671 dev_dbg (hcd->self.controller, in rh_call_control()
783 dev_dbg (hcd->self.controller, "not queuing rh status urb\n"); in rh_queue_status()
1003 struct device *parent_dev = hcd->self.controller; in register_root_hub()
1004 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub()
1361 dma_unmap_single(hcd->self.controller, in usb_hcd_unmap_urb_setup_for_dma()
1393 dma_unmap_sg(hcd->self.controller, in usb_hcd_unmap_urb_for_dma()
1398 dma_unmap_page(hcd->self.controller, in usb_hcd_unmap_urb_for_dma()
1403 dma_unmap_single(hcd->self.controller, in usb_hcd_unmap_urb_for_dma()
1442 if (hcd->self.uses_pio_for_control) in usb_hcd_map_urb_for_dma()
1444 if (hcd->self.uses_dma) { in usb_hcd_map_urb_for_dma()
1446 hcd->self.controller, in usb_hcd_map_urb_for_dma()
1450 if (dma_mapping_error(hcd->self.controller, in usb_hcd_map_urb_for_dma()
1470 if (hcd->self.uses_dma) { in usb_hcd_map_urb_for_dma()
1481 hcd->self.controller, in usb_hcd_map_urb_for_dma()
1496 hcd->self.controller, in usb_hcd_map_urb_for_dma()
1501 if (dma_mapping_error(hcd->self.controller, in usb_hcd_map_urb_for_dma()
1511 hcd->self.controller, in usb_hcd_map_urb_for_dma()
1515 if (dma_mapping_error(hcd->self.controller, in usb_hcd_map_urb_for_dma()
1558 usbmon_urb_submit(&hcd->self, urb); in usb_hcd_submit_urb()
1580 usbmon_urb_submit_error(&hcd->self, urb, status); in usb_hcd_submit_urb()
1668 usbmon_urb_complete(&hcd->self, urb, status); in __usb_hcd_giveback_urb()
1811 dev_dbg (hcd->self.controller, in usb_hcd_flush_endpoint()
2160 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_suspend()
2209 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_resume()
2268 struct usb_device *udev = hcd->self.root_hub; in hcd_resume_work()
2323 hcd = container_of (bus, struct usb_hcd, self); in usb_bus_start_enum()
2382 dev_err (hcd->self.controller, "HC died; cleaning up\n"); in usb_hc_died()
2391 usb_set_device_state (hcd->self.root_hub, in usb_hc_died()
2393 usb_kick_hub_wq(hcd->self.root_hub); in usb_hc_died()
2401 usb_set_device_state(hcd->self.root_hub, in usb_hc_died()
2403 usb_kick_hub_wq(hcd->self.root_hub); in usb_hc_died()
2479 usb_bus_init(&hcd->self); in usb_create_shared_hcd()
2480 hcd->self.controller = dev; in usb_create_shared_hcd()
2481 hcd->self.bus_name = bus_name; in usb_create_shared_hcd()
2482 hcd->self.uses_dma = (dev->dma_mask != NULL); in usb_create_shared_hcd()
2589 hcd->driver->description, hcd->self.busnum); in usb_hcd_request_irqs()
2593 dev_err(hcd->self.controller, in usb_hcd_request_irqs()
2599 dev_info(hcd->self.controller, "irq %d, %s 0x%08llx\n", irqnum, in usb_hcd_request_irqs()
2606 dev_info(hcd->self.controller, "%s 0x%08llx\n", in usb_hcd_request_irqs()
2623 rhdev = hcd->self.root_hub; in usb_put_invalidate_rhdev()
2624 hcd->self.root_hub = NULL; in usb_put_invalidate_rhdev()
2646 struct usb_phy *phy = usb_get_phy_dev(hcd->self.controller, 0); in usb_add_hcd()
2664 struct phy *phy = phy_get(hcd->self.controller, "usb"); in usb_add_hcd()
2687 dev_info(hcd->self.controller, "%s\n", hcd->product_desc); in usb_add_hcd()
2701 dev_dbg(hcd->self.controller, "pool alloc failed\n"); in usb_add_hcd()
2705 if ((retval = usb_register_bus(&hcd->self)) < 0) in usb_add_hcd()
2708 if ((rhdev = usb_alloc_dev(NULL, &hcd->self, 0)) == NULL) { in usb_add_hcd()
2709 dev_err(hcd->self.controller, "unable to allocate root hub\n"); in usb_add_hcd()
2714 hcd->self.root_hub = rhdev; in usb_add_hcd()
2751 dev_err(hcd->self.controller, "can't setup: %d\n", retval); in usb_add_hcd()
2757 if (device_can_wakeup(hcd->self.controller) in usb_add_hcd()
2758 && device_can_wakeup(&hcd->self.root_hub->dev)) in usb_add_hcd()
2759 dev_dbg(hcd->self.controller, "supports USB remote wakeup\n"); in usb_add_hcd()
2777 dev_err(hcd->self.controller, "startup error %d\n", retval); in usb_add_hcd()
2826 usb_deregister_bus(&hcd->self); in usb_add_hcd()
2856 struct usb_device *rhdev = hcd->self.root_hub; in usb_remove_hcd()
2858 dev_info(hcd->self.controller, "remove, state %x\n", hcd->state); in usb_remove_hcd()
2867 dev_dbg(hcd->self.controller, "roothub graceful disconnect\n"); in usb_remove_hcd()
2911 usb_deregister_bus(&hcd->self); in usb_remove_hcd()