Searched refs:divreg (Results 1 – 3 of 3) sorted by relevance
90 unsigned int (*fan_from_reg)(u16 reg, unsigned int divreg);91 unsigned int (*fan_from_reg_min)(u16 reg, unsigned int divreg);
858 static unsigned int fan_from_reg8(u16 reg, unsigned int divreg) in fan_from_reg8() argument862 return 1350000U / (reg << divreg); in fan_from_reg8()865 static unsigned int fan_from_reg13(u16 reg, unsigned int divreg) in fan_from_reg13() argument878 static unsigned int fan_from_reg16(u16 reg, unsigned int divreg) in fan_from_reg16() argument887 return 1350000U / (reg << divreg); in fan_from_reg16()890 static unsigned int fan_from_reg_rpm(u16 reg, unsigned int divreg) in fan_from_reg_rpm() argument895 static u16 fan_to_reg(u32 fan, unsigned int divreg) in fan_to_reg() argument900 return (1350000U / fan) >> divreg; in fan_to_reg()
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()