Searched refs:tach_ch (Results 1 – 1 of 1) sorted by relevance
272 static void aspeed_tach_ch_enable(struct aspeed_pwm_tach_data *priv, u8 tach_ch, in aspeed_tach_ch_enable() argument276 writel(readl(priv->base + TACH_ASPEED_CTRL(tach_ch)) | in aspeed_tach_ch_enable()278 priv->base + TACH_ASPEED_CTRL(tach_ch)); in aspeed_tach_ch_enable()280 writel(readl(priv->base + TACH_ASPEED_CTRL(tach_ch)) & in aspeed_tach_ch_enable()282 priv->base + TACH_ASPEED_CTRL(tach_ch)); in aspeed_tach_ch_enable()402 static void aspeed_present_fan_tach(struct aspeed_pwm_tach_data *priv, u8 *tach_ch, int count) in aspeed_present_fan_tach() argument408 ch = tach_ch[index]; in aspeed_present_fan_tach()431 u8 *tach_ch; in aspeed_create_fan_monitor() local436 tach_ch = devm_kcalloc(dev, count, sizeof(*tach_ch), GFP_KERNEL); in aspeed_create_fan_monitor()437 if (!tach_ch) in aspeed_create_fan_monitor()[all …]