Lines Matching refs:uhci
17 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_platform_init() local
20 if (!uhci->rh_numports) in uhci_platform_init()
21 uhci->rh_numports = uhci_count_ports(hcd); in uhci_platform_init()
24 uhci->reset_hc = uhci_generic_reset_hc; in uhci_platform_init()
25 uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc; in uhci_platform_init()
28 uhci->configure_hc = NULL; in uhci_platform_init()
29 uhci->resume_detect_interrupts_are_broken = NULL; in uhci_platform_init()
30 uhci->global_suspend_mode_is_broken = NULL; in uhci_platform_init()
33 check_and_reset_hc(uhci); in uhci_platform_init()
71 struct uhci_hcd *uhci; in uhci_hcd_platform_probe() local
92 uhci = hcd_to_uhci(hcd); in uhci_hcd_platform_probe()
103 uhci->regs = hcd->regs; in uhci_hcd_platform_probe()
110 uhci->rh_numports = num_ports; in uhci_hcd_platform_probe()
118 uhci->is_aspeed = 1; in uhci_hcd_platform_probe()
125 uhci->clk = devm_clk_get(&pdev->dev, NULL); in uhci_hcd_platform_probe()
126 if (IS_ERR(uhci->clk)) { in uhci_hcd_platform_probe()
127 ret = PTR_ERR(uhci->clk); in uhci_hcd_platform_probe()
130 ret = clk_prepare_enable(uhci->clk); in uhci_hcd_platform_probe()
144 clk_disable_unprepare(uhci->clk); in uhci_hcd_platform_probe()
154 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_hcd_platform_remove() local
156 clk_disable_unprepare(uhci->clk); in uhci_hcd_platform_remove()