Searched refs:fan_tach_ch (Results 1 – 1 of 1) sorted by relevance
452 static void aspeed_set_fan_tach_ch_enable(struct regmap *regmap, u8 fan_tach_ch, in aspeed_set_fan_tach_ch_enable() argument456 ASPEED_PTCR_CTRL_FAN_NUM_EN(fan_tach_ch), in aspeed_set_fan_tach_ch_enable()458 ASPEED_PTCR_CTRL_FAN_NUM_EN(fan_tach_ch) : 0); in aspeed_set_fan_tach_ch_enable()461 static void aspeed_set_fan_tach_ch_source(struct regmap *regmap, u8 fan_tach_ch, in aspeed_set_fan_tach_ch_source() argument465 TACH_PWM_SOURCE_BIT01(fan_tach_ch)); in aspeed_set_fan_tach_ch_source()467 TACH_PWM_SOURCE_BIT2(fan_tach_ch)); in aspeed_set_fan_tach_ch_source()470 TACH_PWM_SOURCE_MASK_BIT01(fan_tach_ch), in aspeed_set_fan_tach_ch_source()474 TACH_PWM_SOURCE_MASK_BIT2(fan_tach_ch), in aspeed_set_fan_tach_ch_source()524 u8 fan_tach_ch) in aspeed_get_fan_tach_ch_rpm() argument531 regmap_write(priv->regmap, ASPEED_PTCR_TRIGGER, 0x1 << fan_tach_ch); in aspeed_get_fan_tach_ch_rpm()[all …]