Home
last modified time | relevance | path

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

/arch/mips/vr41xx/common/
Dbcu.c139 unsigned long vtclock = 0; in calculate_vtclock() local
146 vtclock = pclock; in calculate_vtclock()
149 vtclock = pclock * 6; in calculate_vtclock()
152 vtclock = pclock * 4; in calculate_vtclock()
153 vtclock /= DIVVT(clkspeed); in calculate_vtclock()
154 printk(KERN_INFO "VTClock: %ldHz\n", vtclock); in calculate_vtclock()
158 vtclock = pclock / 1; in calculate_vtclock()
160 vtclock = pclock / 2; in calculate_vtclock()
162 vtclock = pclock / VTDIVMODE(clkspeed); in calculate_vtclock()
163 printk(KERN_INFO "VTClock: %ldHz\n", vtclock); in calculate_vtclock()
[all …]
/arch/mips/pci/
Dpci-vr41xx.c117 unsigned long vtclock, pci_clock_max; in vr41xx_pciu_init() local
145 vtclock = vr41xx_get_vtclock_frequency(); in vr41xx_pciu_init()
146 if (vtclock < pci_clock_max) in vr41xx_pciu_init()
148 else if ((vtclock / 2) < pci_clock_max) in vr41xx_pciu_init()
151 (vtclock / 3) < pci_clock_max) in vr41xx_pciu_init()
153 else if ((vtclock / 4) < pci_clock_max) in vr41xx_pciu_init()