Searched refs:fan_tach_ch (Results 1 – 2 of 2) sorted by relevance
456 static void aspeed_set_fan_tach_ch_enable(struct regmap *regmap, u8 fan_tach_ch, in aspeed_set_fan_tach_ch_enable() argument460 ASPEED_PTCR_CTRL_FAN_NUM_EN(fan_tach_ch), in aspeed_set_fan_tach_ch_enable()462 ASPEED_PTCR_CTRL_FAN_NUM_EN(fan_tach_ch) : 0); in aspeed_set_fan_tach_ch_enable()465 static void aspeed_set_fan_tach_ch_source(struct regmap *regmap, u8 fan_tach_ch, in aspeed_set_fan_tach_ch_source() argument469 TACH_PWM_SOURCE_BIT01(fan_tach_ch)); in aspeed_set_fan_tach_ch_source()471 TACH_PWM_SOURCE_BIT2(fan_tach_ch)); in aspeed_set_fan_tach_ch_source()474 TACH_PWM_SOURCE_MASK_BIT01(fan_tach_ch), in aspeed_set_fan_tach_ch_source()478 TACH_PWM_SOURCE_MASK_BIT2(fan_tach_ch), in aspeed_set_fan_tach_ch_source()528 u8 fan_tach_ch) in aspeed_get_fan_tach_ch_rpm() argument537 regmap_write(priv->regmap, ASPEED_PTCR_TRIGGER, 0x1 << fan_tach_ch); in aspeed_get_fan_tach_ch_rpm()[all …]
302 u8 fan_tach_ch) in aspeed_get_fan_tach_ch_rpm() argument306 val = readl(priv->base + TACH_ASPEED_STS(fan_tach_ch)); in aspeed_get_fan_tach_ch_rpm()