Searched refs:divreg (Results 1 – 2 of 2) sorted by relevance
995 static unsigned int fan_from_reg8(u16 reg, unsigned int divreg) in fan_from_reg8() argument999 return 1350000U / (reg << divreg); in fan_from_reg8()1002 static unsigned int fan_from_reg13(u16 reg, unsigned int divreg) in fan_from_reg13() argument1015 static unsigned int fan_from_reg16(u16 reg, unsigned int divreg) in fan_from_reg16() argument1024 return 1350000U / (reg << divreg); in fan_from_reg16()1027 static unsigned int fan_from_reg_rpm(u16 reg, unsigned int divreg) in fan_from_reg_rpm() argument1032 static u16 fan_to_reg(u32 fan, unsigned int divreg) in fan_to_reg() argument1037 return (1350000U / fan) >> divreg; in fan_to_reg()1136 unsigned int (*fan_from_reg)(u16 reg, unsigned int divreg);1137 unsigned int (*fan_from_reg_min)(u16 reg, unsigned int divreg);
267 static unsigned int fan_from_reg8(u16 reg, unsigned int divreg) in fan_from_reg8() argument271 return 1350000U / (reg << divreg); in fan_from_reg8()