Searched refs:tach_div (Results 1 – 1 of 1) sorted by relevance
527 u32 raw_data, tach_div, clk_source, msec, usec, val; in aspeed_get_fan_tach_ch_rpm() local553 tach_div = priv->type_fan_tach_clock_division[type]; in aspeed_get_fan_tach_ch_rpm()561 tach_div = (0x4 << both) << (tach_div * 2); in aspeed_get_fan_tach_ch_rpm()567 return (clk_source * 60) / (2 * raw_data * tach_div); in aspeed_get_fan_tach_ch_rpm()