Searched refs:clock_ctrl (Results 1 – 2 of 2) sorted by relevance
147 u32 clock_ctrl; in ar933x_clocks_init() local165 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()
1084 u32 clock_ctrl; in tg3_switch_clocks() local1090 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL); in tg3_switch_clocks()1092 orig_clock_ctrl = clock_ctrl; in tg3_switch_clocks()1096 tp->pci_clock_ctrl = clock_ctrl; in tg3_switch_clocks()1105 clock_ctrl | in tg3_switch_clocks()1109 clock_ctrl | (CLOCK_CTRL_ALTCLK), in tg3_switch_clocks()17528 if ((clock_ctrl == 7) || in tg3_bus_string()17532 else if (clock_ctrl == 0) in tg3_bus_string()17534 else if (clock_ctrl == 2) in tg3_bus_string()17536 else if (clock_ctrl == 4) in tg3_bus_string()[all …]