Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dlan966x-hwmon.c73 struct regmap *regmap_fan; member
103 ret = regmap_read(hwmon->regmap_fan, FAN_CNT, &data); in lan966x_hwmon_read_fan()
122 ret = regmap_read(hwmon->regmap_fan, FAN_CFG, &data); in lan966x_hwmon_read_pwm()
138 ret = regmap_read(hwmon->regmap_fan, FAN_PWM_FREQ, &data); in lan966x_hwmon_read_pwm_freq()
182 return regmap_update_bits(hwmon->regmap_fan, FAN_CFG, in lan966x_hwmon_write_pwm()
198 return regmap_update_bits(hwmon->regmap_fan, FAN_PWM_FREQ, in lan966x_hwmon_write_pwm_freq()
360 hwmon->regmap_fan = lan966x_init_regmap(pdev, "fan"); in lan966x_hwmon_probe()
361 if (IS_ERR(hwmon->regmap_fan)) in lan966x_hwmon_probe()
362 return dev_err_probe(dev, PTR_ERR(hwmon->regmap_fan), in lan966x_hwmon_probe()