Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dehci-atmel.c46 static void atmel_start_clock(struct atmel_ehci_priv *atmel_ehci) in atmel_start_clock() argument
48 if (atmel_ehci->clocked) in atmel_start_clock()
51 clk_prepare_enable(atmel_ehci->uclk); in atmel_start_clock()
52 clk_prepare_enable(atmel_ehci->iclk); in atmel_start_clock()
53 atmel_ehci->clocked = true; in atmel_start_clock()
56 static void atmel_stop_clock(struct atmel_ehci_priv *atmel_ehci) in atmel_stop_clock() argument
58 if (!atmel_ehci->clocked) in atmel_stop_clock()
61 clk_disable_unprepare(atmel_ehci->iclk); in atmel_stop_clock()
62 clk_disable_unprepare(atmel_ehci->uclk); in atmel_stop_clock()
63 atmel_ehci->clocked = false; in atmel_stop_clock()
[all …]