Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/ath79/
H A Dclock.c147 u32 clock_ctrl; in ar933x_clocks_init() local
165 clock_ctrl = __raw_readl(pll_base + AR933X_PLL_CLOCK_CTRL_REG); in ar933x_clocks_init()
166 if (clock_ctrl & AR933X_PLL_CLOCK_CTRL_BYPASS) { in ar933x_clocks_init()
194 cpu_div = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_CPU_DIV_SHIFT) & in ar933x_clocks_init()
197 ddr_div = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_DDR_DIV_SHIFT) & in ar933x_clocks_init()
200 ahb_div = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_AHB_DIV_SHIFT) & in ar933x_clocks_init()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c1084 u32 clock_ctrl; in tg3_switch_clocks() local
1090 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL); in tg3_switch_clocks()
1092 orig_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
1093 clock_ctrl &= (CLOCK_CTRL_FORCE_CLKRUN | in tg3_switch_clocks()
1096 tp->pci_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
1101 clock_ctrl | CLOCK_CTRL_625_CORE, 40); in tg3_switch_clocks()
1105 clock_ctrl | in tg3_switch_clocks()
1109 clock_ctrl | (CLOCK_CTRL_ALTCLK), in tg3_switch_clocks()
1112 tw32_wait_f(TG3PCI_CLOCK_CTRL, clock_ctrl, 40); in tg3_switch_clocks()
17524 u32 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL) & 0x1f; in tg3_bus_string() local
[all …]