Lines Matching refs:clock_ctrl
1085 u32 clock_ctrl; in tg3_switch_clocks() local
1091 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL); in tg3_switch_clocks()
1093 orig_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
1094 clock_ctrl &= (CLOCK_CTRL_FORCE_CLKRUN | in tg3_switch_clocks()
1097 tp->pci_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
1102 clock_ctrl | CLOCK_CTRL_625_CORE, 40); in tg3_switch_clocks()
1106 clock_ctrl | in tg3_switch_clocks()
1110 clock_ctrl | (CLOCK_CTRL_ALTCLK), in tg3_switch_clocks()
1113 tw32_wait_f(TG3PCI_CLOCK_CTRL, clock_ctrl, 40); in tg3_switch_clocks()
17525 u32 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL) & 0x1f; in tg3_bus_string() local
17529 if ((clock_ctrl == 7) || in tg3_bus_string()
17533 else if (clock_ctrl == 0) in tg3_bus_string()
17535 else if (clock_ctrl == 2) in tg3_bus_string()
17537 else if (clock_ctrl == 4) in tg3_bus_string()
17539 else if (clock_ctrl == 6) in tg3_bus_string()