Searched refs:shared_hcd (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/drivers/usb/host/ |
D | xhci-plat.c | 281 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe() 283 if (!xhci->shared_hcd) { in xhci_plat_probe() 288 xhci->shared_hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, in xhci_plat_probe() 290 if (IS_ERR(xhci->shared_hcd->usb_phy)) { in xhci_plat_probe() 291 xhci->shared_hcd->usb_phy = NULL; in xhci_plat_probe() 293 ret = usb_phy_init(xhci->shared_hcd->usb_phy); in xhci_plat_probe() 299 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe() 306 if (xhci->shared_hcd) { in xhci_plat_probe() 307 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe() 325 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe() [all …]
|
D | xhci-mtk.c | 608 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe() 610 if (!xhci->shared_hcd) { in xhci_mtk_probe() 621 if (xhci->shared_hcd) { in xhci_mtk_probe() 622 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe() 644 usb_remove_hcd(xhci->shared_hcd); in xhci_mtk_probe() 647 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe() 676 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local 684 if (shared_hcd) { in xhci_mtk_remove() 685 usb_remove_hcd(shared_hcd); in xhci_mtk_remove() 686 xhci->shared_hcd = NULL; in xhci_mtk_remove() [all …]
|
D | xhci-histb.c | 257 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, dev_name(dev), in xhci_histb_probe() 259 if (!xhci->shared_hcd) { in xhci_histb_probe() 280 xhci->shared_hcd->can_do_streams = 1; in xhci_histb_probe() 282 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_histb_probe() 300 usb_put_hcd(xhci->shared_hcd); in xhci_histb_probe() 317 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_histb_remove() local 321 usb_remove_hcd(shared_hcd); in xhci_histb_remove() 322 xhci->shared_hcd = NULL; in xhci_histb_remove() 326 usb_put_hcd(shared_hcd); in xhci_histb_remove()
|
D | xhci-pci.c | 672 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe() 674 if (!xhci->shared_hcd) { in xhci_pci_probe() 683 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe() 691 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe() 704 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe() 723 if (xhci->shared_hcd) { in xhci_pci_remove() 724 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove() 725 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove() 726 xhci->shared_hcd = NULL; in xhci_pci_remove()
|
D | xhci.c | 644 if (xhci->shared_hcd) { in xhci_shutdown() 645 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown() 646 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_shutdown() 861 (xhci->shared_hcd && xhci->shared_hcd->state != HC_STATE_SUSPENDED)) in xhci_suspend() 878 if (xhci->shared_hcd) { in xhci_suspend() 879 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend() 880 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend() 888 if (xhci->shared_hcd) in xhci_suspend() 889 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend() 985 if (xhci->shared_hcd) in xhci_resume() [all …]
|
D | xhci-tegra.c | 1293 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power() 1372 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work() 1821 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe() 1825 if (!xhci->shared_hcd) { in tegra_xusb_probe() 1832 xhci->shared_hcd->can_do_streams = 1; in tegra_xusb_probe() 1834 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe() 1874 device_init_wakeup(&xhci->shared_hcd->self.root_hub->dev, true); in tegra_xusb_probe() 1889 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1891 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1932 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove() [all …]
|
D | xhci.h | 1762 struct usb_hcd *shared_hcd; member 1982 if (xhci->shared_hcd) in xhci_get_usb3_hcd() 1983 return xhci->shared_hcd; in xhci_get_usb3_hcd()
|
D | xhci-ring.c | 1895 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
|
/Linux-v6.6/drivers/usb/core/ |
D | hcd-pci.c | 408 if (hcd->shared_hcd) { in check_root_hub_suspended() 409 hcd = hcd->shared_hcd; in check_root_hub_suspended() 442 if (do_wakeup && hcd->shared_hcd && in suspend_common() 443 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common() 450 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common() 451 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common() 483 (hcd->shared_hcd && in resume_common() 484 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
|
D | hcd.c | 2511 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died() 2512 hcd = hcd->shared_hcd; in usb_hc_died() 2580 hcd->shared_hcd = primary_hcd; in __usb_create_hcd() 2581 primary_hcd->shared_hcd = hcd; in __usb_create_hcd() 2668 if (hcd->shared_hcd) { in hcd_release() 2669 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release() 2671 peer->shared_hcd = NULL; in hcd_release() 2795 struct usb_hcd *shared_hcd; in usb_add_hcd() local 2951 shared_hcd = hcd->shared_hcd; in usb_add_hcd() 2952 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd() [all …]
|
D | port.c | 582 if (peer_hcd != hcd->shared_hcd) in match_location() 620 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
|
/Linux-v6.6/include/linux/usb/ |
D | hcd.h | 186 struct usb_hcd *shared_hcd; member 457 struct usb_hcd *shared_hcd);
|