Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/host/
Dehci-atmel.c49 static void atmel_start_clock(struct atmel_ehci_priv *atmel_ehci) in atmel_start_clock() argument
51 if (atmel_ehci->clocked) in atmel_start_clock()
54 clk_prepare_enable(atmel_ehci->uclk); in atmel_start_clock()
55 clk_prepare_enable(atmel_ehci->iclk); in atmel_start_clock()
56 atmel_ehci->clocked = true; in atmel_start_clock()
59 static void atmel_stop_clock(struct atmel_ehci_priv *atmel_ehci) in atmel_stop_clock() argument
61 if (!atmel_ehci->clocked) in atmel_stop_clock()
64 clk_disable_unprepare(atmel_ehci->iclk); in atmel_stop_clock()
65 clk_disable_unprepare(atmel_ehci->uclk); in atmel_stop_clock()
66 atmel_ehci->clocked = false; in atmel_stop_clock()
[all …]