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

/linux-4.4.14/arch/mips/vr41xx/common/
H A Dbcu.c139 unsigned long vtclock = 0; calculate_vtclock() local
146 vtclock = pclock; calculate_vtclock()
149 vtclock = pclock * 6; calculate_vtclock()
152 vtclock = pclock * 4; calculate_vtclock()
153 vtclock /= DIVVT(clkspeed); calculate_vtclock()
154 printk(KERN_INFO "VTClock: %ldHz\n", vtclock); calculate_vtclock()
158 vtclock = pclock / 1; calculate_vtclock()
160 vtclock = pclock / 2; calculate_vtclock()
162 vtclock = pclock / VTDIVMODE(clkspeed); calculate_vtclock()
163 printk(KERN_INFO "VTClock: %ldHz\n", vtclock); calculate_vtclock()
167 vtclock = pclock / VTDIVMODE(clkspeed); calculate_vtclock()
168 printk(KERN_INFO "VTClock: %ldHz\n", vtclock); calculate_vtclock()
175 return vtclock; calculate_vtclock()
179 unsigned long vtclock) calculate_tclock()
198 tclock = vtclock / TDIVMODE(clkspeed); calculate_tclock()
178 calculate_tclock(uint16_t clkspeed, unsigned long pclock, unsigned long vtclock) calculate_tclock() argument
/linux-4.4.14/arch/mips/pci/
H A Dpci-vr41xx.c117 unsigned long vtclock, pci_clock_max; vr41xx_pciu_init() local
145 vtclock = vr41xx_get_vtclock_frequency(); vr41xx_pciu_init()
146 if (vtclock < pci_clock_max) vr41xx_pciu_init()
148 else if ((vtclock / 2) < pci_clock_max) vr41xx_pciu_init()
151 (vtclock / 3) < pci_clock_max) vr41xx_pciu_init()
153 else if ((vtclock / 4) < pci_clock_max) vr41xx_pciu_init()

Completed in 142 milliseconds