Searched refs:clock_ctrl (Results 1 – 2 of 2) sorted by relevance
161 u32 clock_ctrl; in ar933x_clocks_init() local172 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()
1076 u32 clock_ctrl; in tg3_switch_clocks() local1082 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 …]