ohci_at91 73 drivers/usb/host/ohci-at91.c static void at91_start_clock(struct ohci_at91_priv *ohci_at91) ohci_at91 75 drivers/usb/host/ohci-at91.c if (ohci_at91->clocked) ohci_at91 78 drivers/usb/host/ohci-at91.c clk_set_rate(ohci_at91->fclk, 48000000); ohci_at91 79 drivers/usb/host/ohci-at91.c clk_prepare_enable(ohci_at91->hclk); ohci_at91 80 drivers/usb/host/ohci-at91.c clk_prepare_enable(ohci_at91->iclk); ohci_at91 81 drivers/usb/host/ohci-at91.c clk_prepare_enable(ohci_at91->fclk); ohci_at91 82 drivers/usb/host/ohci-at91.c ohci_at91->clocked = true; ohci_at91 85 drivers/usb/host/ohci-at91.c static void at91_stop_clock(struct ohci_at91_priv *ohci_at91) ohci_at91 87 drivers/usb/host/ohci-at91.c if (!ohci_at91->clocked) ohci_at91 90 drivers/usb/host/ohci-at91.c clk_disable_unprepare(ohci_at91->fclk); ohci_at91 91 drivers/usb/host/ohci-at91.c clk_disable_unprepare(ohci_at91->iclk); ohci_at91 92 drivers/usb/host/ohci-at91.c clk_disable_unprepare(ohci_at91->hclk); ohci_at91 93 drivers/usb/host/ohci-at91.c ohci_at91->clocked = false; ohci_at91 100 drivers/usb/host/ohci-at91.c struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); ohci_at91 107 drivers/usb/host/ohci-at91.c at91_start_clock(ohci_at91); ohci_at91 119 drivers/usb/host/ohci-at91.c struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); ohci_at91 131 drivers/usb/host/ohci-at91.c at91_stop_clock(ohci_at91); ohci_at91 172 drivers/usb/host/ohci-at91.c struct ohci_at91_priv *ohci_at91; ohci_at91 186 drivers/usb/host/ohci-at91.c ohci_at91 = hcd_to_ohci_at91_priv(hcd); ohci_at91 197 drivers/usb/host/ohci-at91.c ohci_at91->iclk = devm_clk_get(dev, "ohci_clk"); ohci_at91 198 drivers/usb/host/ohci-at91.c if (IS_ERR(ohci_at91->iclk)) { ohci_at91 200 drivers/usb/host/ohci-at91.c retval = PTR_ERR(ohci_at91->iclk); ohci_at91 203 drivers/usb/host/ohci-at91.c ohci_at91->fclk = devm_clk_get(dev, "uhpck"); ohci_at91 204 drivers/usb/host/ohci-at91.c if (IS_ERR(ohci_at91->fclk)) { ohci_at91 206 drivers/usb/host/ohci-at91.c retval = PTR_ERR(ohci_at91->fclk); ohci_at91 209 drivers/usb/host/ohci-at91.c ohci_at91->hclk = devm_clk_get(dev, "hclk"); ohci_at91 210 drivers/usb/host/ohci-at91.c if (IS_ERR(ohci_at91->hclk)) { ohci_at91 212 drivers/usb/host/ohci-at91.c retval = PTR_ERR(ohci_at91->hclk); ohci_at91 216 drivers/usb/host/ohci-at91.c ohci_at91->sfr_regmap = at91_dt_syscon_sfr(); ohci_at91 217 drivers/usb/host/ohci-at91.c if (!ohci_at91->sfr_regmap) ohci_at91 332 drivers/usb/host/ohci-at91.c struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); ohci_at91 357 drivers/usb/host/ohci-at91.c if (valid_port(wIndex) && ohci_at91->sfr_regmap) { ohci_at91 358 drivers/usb/host/ohci-at91.c ohci_at91_port_suspend(ohci_at91->sfr_regmap, ohci_at91 400 drivers/usb/host/ohci-at91.c if (valid_port(wIndex) && ohci_at91->sfr_regmap) { ohci_at91 401 drivers/usb/host/ohci-at91.c ohci_at91_port_suspend(ohci_at91->sfr_regmap, ohci_at91 598 drivers/usb/host/ohci-at91.c struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); ohci_at91 605 drivers/usb/host/ohci-at91.c ohci_at91->wakeup = device_may_wakeup(dev) ohci_at91 608 drivers/usb/host/ohci-at91.c if (ohci_at91->wakeup) ohci_at91 611 drivers/usb/host/ohci-at91.c ohci_at91_port_suspend(ohci_at91->sfr_regmap, 1); ohci_at91 613 drivers/usb/host/ohci-at91.c ret = ohci_suspend(hcd, ohci_at91->wakeup); ohci_at91 615 drivers/usb/host/ohci-at91.c if (ohci_at91->wakeup) ohci_at91 626 drivers/usb/host/ohci-at91.c if (!ohci_at91->wakeup) { ohci_at91 631 drivers/usb/host/ohci-at91.c at91_stop_clock(ohci_at91); ohci_at91 641 drivers/usb/host/ohci-at91.c struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); ohci_at91 643 drivers/usb/host/ohci-at91.c if (ohci_at91->wakeup) ohci_at91 646 drivers/usb/host/ohci-at91.c at91_start_clock(ohci_at91); ohci_at91 650 drivers/usb/host/ohci-at91.c ohci_at91_port_suspend(ohci_at91->sfr_regmap, 0);