Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/host/
Dohci-at91.c73 static void at91_start_clock(struct ohci_at91_priv *ohci_at91) in at91_start_clock() argument
75 if (ohci_at91->clocked) in at91_start_clock()
78 clk_set_rate(ohci_at91->fclk, 48000000); in at91_start_clock()
79 clk_prepare_enable(ohci_at91->hclk); in at91_start_clock()
80 clk_prepare_enable(ohci_at91->iclk); in at91_start_clock()
81 clk_prepare_enable(ohci_at91->fclk); in at91_start_clock()
82 ohci_at91->clocked = true; in at91_start_clock()
85 static void at91_stop_clock(struct ohci_at91_priv *ohci_at91) in at91_stop_clock() argument
87 if (!ohci_at91->clocked) in at91_stop_clock()
90 clk_disable_unprepare(ohci_at91->fclk); in at91_stop_clock()
[all …]