Lines Matching refs:hub_dev
1431 struct device *hub_dev = hub->intfdev; in hub_configure() local
1499 dev_info(hub_dev, "%d port%s detected\n", maxchild, in hub_configure()
1527 dev_dbg(hub_dev, "compound device; port removable status: %s\n", portstr); in hub_configure()
1529 dev_dbg(hub_dev, "standalone hub\n"); in hub_configure()
1533 dev_dbg(hub_dev, "ganged power switching\n"); in hub_configure()
1536 dev_dbg(hub_dev, "individual port power switching\n"); in hub_configure()
1540 dev_dbg(hub_dev, "no power switching (usb 1.0)\n"); in hub_configure()
1546 dev_dbg(hub_dev, "global over-current protection\n"); in hub_configure()
1549 dev_dbg(hub_dev, "individual port over-current protection\n"); in hub_configure()
1553 dev_dbg(hub_dev, "no over-current protection\n"); in hub_configure()
1564 dev_dbg(hub_dev, "Single TT\n"); in hub_configure()
1570 dev_dbg(hub_dev, "TT per port\n"); in hub_configure()
1573 dev_err(hub_dev, "Using single TT (err %d)\n", in hub_configure()
1581 dev_dbg(hub_dev, "Unrecognized hub protocol %d\n", in hub_configure()
1591 dev_dbg(hub_dev, "TT requires at most %d " in hub_configure()
1598 dev_dbg(hub_dev, "TT requires at most %d " in hub_configure()
1604 dev_dbg(hub_dev, "TT requires at most %d " in hub_configure()
1610 dev_dbg(hub_dev, "TT requires at most %d " in hub_configure()
1619 dev_dbg(hub_dev, "Port indicators are supported\n"); in hub_configure()
1622 dev_dbg(hub_dev, "power on to power good time: %dms\n", in hub_configure()
1649 dev_dbg(hub_dev, "hub controller current requirement: %dmA\n", in hub_configure()
1654 dev_warn(hub_dev, in hub_configure()
1665 dev_dbg(hub_dev, "%umA bus power budget for each child\n", in hub_configure()
1676 dev_dbg(hub_dev, "local power source is %s\n", in hub_configure()
1681 dev_dbg(hub_dev, "%sover-current condition exists\n", in hub_configure()
1747 dev_err(hub_dev, "config failed, %s (err %d)\n", in hub_configure()
5679 struct device *hub_dev; in port_over_current_notify() local
5684 hub_dev = port_dev->dev.parent; in port_over_current_notify()
5686 if (!hub_dev) in port_over_current_notify()
5702 kobject_uevent_env(&hub_dev->kobj, KOBJ_CHANGE, envp); in port_over_current_notify()
5839 struct device *hub_dev; in hub_event() local
5846 hub_dev = hub->intfdev; in hub_event()
5847 intf = to_usb_interface(hub_dev); in hub_event()
5851 dev_dbg(hub_dev, "state %d ports %d chg %04x evt %04x\n", in hub_event()
5873 dev_dbg(hub_dev, "Can't autoresume: %d\n", ret); in hub_event()
5882 dev_dbg(hub_dev, "resetting for error %d\n", hub->error); in hub_event()
5886 dev_dbg(hub_dev, "error resetting hub: %d\n", ret); in hub_event()
5923 dev_err(hub_dev, "get_hub_status failed\n"); in hub_event()
5926 dev_dbg(hub_dev, "power change\n"); in hub_event()
5938 dev_dbg(hub_dev, "over-current change\n"); in hub_event()
5944 dev_err(hub_dev, "over-current condition\n"); in hub_event()