Searched refs:DIV_TO_REG (Results 1 – 2 of 2) sorted by relevance
114 #define DIV_TO_REG(divisor) (ilog2(divisor) >> 1) macro349 DIV_TO_REG(val) > 0xb) in aspeed_tach_hwmon_write()355 DIV_TO_REG(priv->tach_divisor)); in aspeed_tach_hwmon_write()422 DIV_TO_REG(priv->tach_divisor)); in aspeed_present_fan_tach()
334 static inline u8 DIV_TO_REG(long val) in DIV_TO_REG() function1179 data->fan_div[nr] = DIV_TO_REG(val); in fan_div_store()