• Home
  • Raw
  • Download

Lines Matching refs:self

325 		strlcpy (buf, hcd->self.bus_name, sizeof buf);  in rh_string()
409 tbuf [0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
417 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
422 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
424 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control()
455 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()
476 dev_dbg (hcd->self.controller, "root hub device address %d\n", in rh_call_control()
492 dev_dbg (hcd->self.controller, "no endpoint features yet\n"); in rh_call_control()
520 dev_dbg (hcd->self.controller, in rh_call_control()
636 dev_dbg (hcd->self.controller, "not queuing rh status urb\n"); in rh_queue_status()
890 struct device *parent_dev = hcd->self.controller; in register_root_hub()
891 struct usb_device *usb_dev = hcd->self.root_hub; in register_root_hub()
1094 dev_warn(hcd->self.controller, "Unlink after no-IRQ? " in usb_hcd_check_unlink_urb()
1216 if (hcd->self.uses_dma) in map_urb_for_dma()
1218 hcd->self.controller, in map_urb_for_dma()
1234 if (hcd->self.uses_dma) in map_urb_for_dma()
1236 hcd->self.controller, in map_urb_for_dma()
1269 if (hcd->self.uses_dma) in unmap_urb_for_dma()
1270 dma_unmap_single(hcd->self.controller, urb->setup_dma, in unmap_urb_for_dma()
1283 if (hcd->self.uses_dma) in unmap_urb_for_dma()
1284 dma_unmap_single(hcd->self.controller, in unmap_urb_for_dma()
1315 usbmon_urb_submit(&hcd->self, urb); in usb_hcd_submit_urb()
1326 usbmon_urb_submit_error(&hcd->self, urb, status); in usb_hcd_submit_urb()
1336 usbmon_urb_submit_error(&hcd->self, urb, status); in usb_hcd_submit_urb()
1440 usbmon_urb_complete(&hcd->self, urb, status); in usb_hcd_giveback_urb()
1484 dev_dbg (hcd->self.controller, in usb_hcd_flush_endpoint()
1578 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_suspend()
1603 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_resume()
1637 struct usb_device *udev = hcd->self.root_hub; in hcd_resume_work()
1691 hcd = container_of (bus, struct usb_hcd, self); in usb_bus_start_enum()
1759 dev_err (hcd->self.controller, "HC died; cleaning up\n"); in usb_hc_died()
1766 usb_set_device_state (hcd->self.root_hub, in usb_hc_died()
1768 usb_kick_khubd (hcd->self.root_hub); in usb_hc_died()
1802 usb_bus_init(&hcd->self); in usb_create_hcd()
1803 hcd->self.controller = dev; in usb_create_hcd()
1804 hcd->self.bus_name = bus_name; in usb_create_hcd()
1805 hcd->self.uses_dma = (dev->dma_mask != NULL); in usb_create_hcd()
1859 dev_info(hcd->self.controller, "%s\n", hcd->product_desc); in usb_add_hcd()
1869 dev_dbg(hcd->self.controller, "pool alloc failed\n"); in usb_add_hcd()
1873 if ((retval = usb_register_bus(&hcd->self)) < 0) in usb_add_hcd()
1876 if ((rhdev = usb_alloc_dev(NULL, &hcd->self, 0)) == NULL) { in usb_add_hcd()
1877 dev_err(hcd->self.controller, "unable to allocate root hub\n"); in usb_add_hcd()
1883 hcd->self.root_hub = rhdev; in usb_add_hcd()
1895 dev_err(hcd->self.controller, "can't setup\n"); in usb_add_hcd()
1900 if (device_can_wakeup(hcd->self.controller) in usb_add_hcd()
1901 && device_can_wakeup(&hcd->self.root_hub->dev)) in usb_add_hcd()
1902 dev_dbg(hcd->self.controller, "supports USB remote wakeup\n"); in usb_add_hcd()
1915 hcd->driver->description, hcd->self.busnum); in usb_add_hcd()
1918 dev_err(hcd->self.controller, in usb_add_hcd()
1923 dev_info(hcd->self.controller, "irq %d, %s 0x%08llx\n", irqnum, in usb_add_hcd()
1930 dev_info(hcd->self.controller, "%s 0x%08llx\n", in usb_add_hcd()
1937 dev_err(hcd->self.controller, "startup error %d\n", retval); in usb_add_hcd()
1958 usb_disconnect(&hcd->self.root_hub); in usb_add_hcd()
1967 hcd->self.root_hub = NULL; in usb_add_hcd()
1970 usb_deregister_bus(&hcd->self); in usb_add_hcd()
1987 dev_info(hcd->self.controller, "remove, state %x\n", hcd->state); in usb_remove_hcd()
1992 dev_dbg(hcd->self.controller, "roothub graceful disconnect\n"); in usb_remove_hcd()
2001 sysfs_remove_group(&hcd->self.root_hub->dev.kobj, &usb_bus_attr_group); in usb_remove_hcd()
2003 usb_disconnect(&hcd->self.root_hub); in usb_remove_hcd()
2014 usb_deregister_bus(&hcd->self); in usb_remove_hcd()