Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Daspeed-g6-pwm-tach.c133 struct aspeed_pwm_tach_data { struct
143 static inline struct aspeed_pwm_tach_data * argument
152 struct aspeed_pwm_tach_data *priv = aspeed_pwm_chip_to_data(chip); in aspeed_pwm_get_state()
190 struct aspeed_pwm_tach_data *priv = aspeed_pwm_chip_to_data(chip); in aspeed_pwm_apply()
272 static void aspeed_tach_ch_enable(struct aspeed_pwm_tach_data *priv, u8 tach_ch, in aspeed_tach_ch_enable()
285 static int aspeed_tach_val_to_rpm(struct aspeed_pwm_tach_data *priv, u32 tach_val) in aspeed_tach_val_to_rpm()
301 static int aspeed_get_fan_tach_ch_rpm(struct aspeed_pwm_tach_data *priv, in aspeed_get_fan_tach_ch_rpm()
318 struct aspeed_pwm_tach_data *priv = dev_get_drvdata(dev); in aspeed_tach_hwmon_read()
340 struct aspeed_pwm_tach_data *priv = dev_get_drvdata(dev); in aspeed_tach_hwmon_write()
366 const struct aspeed_pwm_tach_data *priv = drvdata; in aspeed_tach_dev_is_visible()
[all …]