Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/ath79/
Dclock.c161 u32 clock_ctrl; in ar933x_clocks_init() local
172 clock_ctrl = ath79_pll_rr(AR933X_PLL_CLOCK_CTRL_REG); in ar933x_clocks_init()
173 if (clock_ctrl & AR933X_PLL_CLOCK_CTRL_BYPASS) { in ar933x_clocks_init()
195 t = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_CPU_DIV_SHIFT) & in ar933x_clocks_init()
199 t = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_DDR_DIV_SHIFT) & in ar933x_clocks_init()
203 t = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_AHB_DIV_SHIFT) & in ar933x_clocks_init()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c1076 u32 clock_ctrl; in tg3_switch_clocks() local
1082 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL); in tg3_switch_clocks()
1084 orig_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
1085 clock_ctrl &= (CLOCK_CTRL_FORCE_CLKRUN | in tg3_switch_clocks()
1088 tp->pci_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
1093 clock_ctrl | CLOCK_CTRL_625_CORE, 40); in tg3_switch_clocks()
1097 clock_ctrl | in tg3_switch_clocks()
1101 clock_ctrl | (CLOCK_CTRL_ALTCLK), in tg3_switch_clocks()
1104 tw32_wait_f(TG3PCI_CLOCK_CTRL, clock_ctrl, 40); in tg3_switch_clocks()
17520 u32 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL) & 0x1f; in tg3_bus_string() local
[all …]