Lines Matching refs:clock_ctrl
1076 u32 clock_ctrl; in tg3_switch_clocks() local
1082 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
17524 if ((clock_ctrl == 7) || in tg3_bus_string()
17528 else if (clock_ctrl == 0) in tg3_bus_string()
17530 else if (clock_ctrl == 2) in tg3_bus_string()
17532 else if (clock_ctrl == 4) in tg3_bus_string()
17534 else if (clock_ctrl == 6) in tg3_bus_string()