Searched refs:clock_ctrl (Results 1 – 3 of 3) sorted by relevance
239 u16 clock_ctrl; in cobalt_cpld_set_freq() local263 clock_ctrl = cpld_read(cobalt, SI570_CLOCK_CTRL); in cobalt_cpld_set_freq()264 clock_ctrl |= S01755_REG_CLOCK_CTRL_BITMAP_CLKHSMA_FPGA_CTRL; in cobalt_cpld_set_freq()265 clock_ctrl |= S01755_REG_CLOCK_CTRL_BITMAP_CLKHSMA_EN; in cobalt_cpld_set_freq()
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()
1082 u32 clock_ctrl; in tg3_switch_clocks() local1088 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL); in tg3_switch_clocks()1090 orig_clock_ctrl = clock_ctrl; in tg3_switch_clocks()1091 clock_ctrl &= (CLOCK_CTRL_FORCE_CLKRUN | in tg3_switch_clocks()1094 tp->pci_clock_ctrl = clock_ctrl; in tg3_switch_clocks()1099 clock_ctrl | CLOCK_CTRL_625_CORE, 40); in tg3_switch_clocks()1103 clock_ctrl | in tg3_switch_clocks()1107 clock_ctrl | (CLOCK_CTRL_ALTCLK), in tg3_switch_clocks()1110 tw32_wait_f(TG3PCI_CLOCK_CTRL, clock_ctrl, 40); in tg3_switch_clocks()17561 u32 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL) & 0x1f; in tg3_bus_string() local[all …]