Home
last modified time | relevance | path

Searched refs:fan_tach_ch (Results 1 – 1 of 1) sorted by relevance

/drivers/hwmon/
Daspeed-pwm-tacho.c455 static void aspeed_set_fan_tach_ch_enable(struct regmap *regmap, u8 fan_tach_ch, in aspeed_set_fan_tach_ch_enable() argument
459 ASPEED_PTCR_CTRL_FAN_NUM_EN(fan_tach_ch), in aspeed_set_fan_tach_ch_enable()
461 ASPEED_PTCR_CTRL_FAN_NUM_EN(fan_tach_ch) : 0); in aspeed_set_fan_tach_ch_enable()
464 static void aspeed_set_fan_tach_ch_source(struct regmap *regmap, u8 fan_tach_ch, in aspeed_set_fan_tach_ch_source() argument
468 TACH_PWM_SOURCE_BIT01(fan_tach_ch)); in aspeed_set_fan_tach_ch_source()
470 TACH_PWM_SOURCE_BIT2(fan_tach_ch)); in aspeed_set_fan_tach_ch_source()
473 TACH_PWM_SOURCE_MASK_BIT01(fan_tach_ch), in aspeed_set_fan_tach_ch_source()
477 TACH_PWM_SOURCE_MASK_BIT2(fan_tach_ch), in aspeed_set_fan_tach_ch_source()
527 u8 fan_tach_ch) in aspeed_get_fan_tach_ch_rpm() argument
536 regmap_write(priv->regmap, ASPEED_PTCR_TRIGGER, 0x1 << fan_tach_ch); in aspeed_get_fan_tach_ch_rpm()
[all …]