Searched refs:clkspeed (Results 1 – 3 of 3) sorted by relevance
88 static inline unsigned long calculate_pclock(uint16_t clkspeed) in calculate_pclock() argument96 pclock /= CLKSP(clkspeed); in calculate_pclock()100 pclock /= CLKSP(clkspeed); in calculate_pclock()104 pclock /= CLKSP(clkspeed); in calculate_pclock()107 switch (CLKSP_VR4133(clkspeed)) { in calculate_pclock()138 static inline unsigned long calculate_vtclock(uint16_t clkspeed, unsigned long pclock) in calculate_vtclock() argument149 if (DIVVT(clkspeed) == 9) in calculate_vtclock()152 else if (DIVVT(clkspeed) == 10) in calculate_vtclock()154 vtclock /= DIVVT(clkspeed); in calculate_vtclock()158 if(VTDIVMODE(clkspeed) == 7) in calculate_vtclock()[all …]
101 u32 clkspeed; member
789 qca->clkspeed = qcaspi_clkspeed; in qcaspi_netdev_init()