Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Daspeed-pwm-tacho.c202 struct type_params { struct
212 static const struct type_params type_params[] = { argument
392 u32 reg_value = ((div_high << type_params[type].h_value) | in aspeed_set_pwm_clock_values()
393 (div_low << type_params[type].l_value) | in aspeed_set_pwm_clock_values()
394 (unit << type_params[type].unit_value)); in aspeed_set_pwm_clock_values()
396 regmap_update_bits(regmap, type_params[type].clk_ctrl_reg, in aspeed_set_pwm_clock_values()
397 type_params[type].clk_ctrl_mask, reg_value); in aspeed_set_pwm_clock_values()
436 regmap_update_bits(regmap, type_params[type].ctrl_reg, in aspeed_set_tacho_type_enable()
448 regmap_update_bits(regmap, type_params[type].ctrl_reg, in aspeed_set_tacho_type_values()
450 regmap_update_bits(regmap, type_params[type].ctrl_reg1, in aspeed_set_tacho_type_values()