Home
last modified time | relevance | path

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

/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c152 uint32_t orig_clock_ctrl, clock_ctrl; in tg3_switch_clocks() local
154 clock_ctrl = tr32(TG3PCI_CLOCK_CTRL); in tg3_switch_clocks()
156 orig_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
157 clock_ctrl &= (CLOCK_CTRL_FORCE_CLKRUN | CLOCK_CTRL_CLKRUN_OENABLE | 0x1f); in tg3_switch_clocks()
158 tp->pci_clock_ctrl = clock_ctrl; in tg3_switch_clocks()
163 clock_ctrl | (CLOCK_CTRL_44MHZ_CORE | CLOCK_CTRL_ALTCLK)); in tg3_switch_clocks()
165 clock_ctrl | (CLOCK_CTRL_ALTCLK)); in tg3_switch_clocks()
167 tw32_carefully(TG3PCI_CLOCK_CTRL, clock_ctrl); in tg3_switch_clocks()