Searched refs:atmel_ehci (Results 1 – 1 of 1) sorted by relevance
49 static void atmel_start_clock(struct atmel_ehci_priv *atmel_ehci) in atmel_start_clock() argument51 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() argument61 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 …]