Home
last modified time | relevance | path

Searched refs:ohci_at91 (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/host/
Dohci-at91.c62 static void at91_start_clock(struct ohci_at91_priv *ohci_at91) in at91_start_clock() argument
64 if (ohci_at91->clocked) in at91_start_clock()
67 clk_set_rate(ohci_at91->fclk, 48000000); in at91_start_clock()
68 clk_prepare_enable(ohci_at91->hclk); in at91_start_clock()
69 clk_prepare_enable(ohci_at91->iclk); in at91_start_clock()
70 clk_prepare_enable(ohci_at91->fclk); in at91_start_clock()
71 ohci_at91->clocked = true; in at91_start_clock()
74 static void at91_stop_clock(struct ohci_at91_priv *ohci_at91) in at91_stop_clock() argument
76 if (!ohci_at91->clocked) in at91_stop_clock()
79 clk_disable_unprepare(ohci_at91->fclk); in at91_stop_clock()
[all …]