Searched refs:clock_ctrl (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/pci/cobalt/
H A Dcobalt-cpld.c251 u16 clock_ctrl; cobalt_cpld_set_freq() local
275 clock_ctrl = cpld_read(cobalt, SI570_CLOCK_CTRL); cobalt_cpld_set_freq()
276 clock_ctrl |= S01755_REG_CLOCK_CTRL_BITMAP_CLKHSMA_FPGA_CTRL; cobalt_cpld_set_freq()
277 clock_ctrl |= S01755_REG_CLOCK_CTRL_BITMAP_CLKHSMA_EN; cobalt_cpld_set_freq()
286 /* The sequence of clock_ctrl flags to set is very weird. It looks cobalt_cpld_set_freq()
/linux-4.4.14/arch/mips/ath79/
H A Dclock.c165 u32 clock_ctrl; ar933x_clocks_init() local
176 clock_ctrl = ath79_pll_rr(AR933X_PLL_CLOCK_CTRL_REG); ar933x_clocks_init()
177 if (clock_ctrl & AR933X_PLL_CLOCK_CTRL_BYPASS) { ar933x_clocks_init()
199 t = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_CPU_DIV_SHIFT) & ar933x_clocks_init()
203 t = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_DDR_DIV_SHIFT) & ar933x_clocks_init()
207 t = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_AHB_DIV_SHIFT) & ar933x_clocks_init()
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dtg3.c1076 u32 clock_ctrl; tg3_switch_clocks() local
1082 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL); tg3_switch_clocks()
1084 orig_clock_ctrl = clock_ctrl; tg3_switch_clocks()
1085 clock_ctrl &= (CLOCK_CTRL_FORCE_CLKRUN | tg3_switch_clocks()
1088 tp->pci_clock_ctrl = clock_ctrl; tg3_switch_clocks()
1093 clock_ctrl | CLOCK_CTRL_625_CORE, 40); tg3_switch_clocks()
1097 clock_ctrl | tg3_switch_clocks()
1101 clock_ctrl | (CLOCK_CTRL_ALTCLK), tg3_switch_clocks()
1104 tw32_wait_f(TG3PCI_CLOCK_CTRL, clock_ctrl, 40); tg3_switch_clocks()
17520 u32 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL) & 0x1f; tg3_bus_string() local
17524 if ((clock_ctrl == 7) || tg3_bus_string()
17528 else if (clock_ctrl == 0) tg3_bus_string()
17530 else if (clock_ctrl == 2) tg3_bus_string()
17532 else if (clock_ctrl == 4) tg3_bus_string()
17534 else if (clock_ctrl == 6) tg3_bus_string()

Completed in 460 milliseconds