Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Daspeed-pwm-tacho.c204 struct type_params { struct
214 static const struct type_params type_params[] = { argument
394 u32 reg_value = ((div_high << type_params[type].h_value) | in aspeed_set_pwm_clock_values()
395 (div_low << type_params[type].l_value) | in aspeed_set_pwm_clock_values()
396 (unit << type_params[type].unit_value)); in aspeed_set_pwm_clock_values()
398 regmap_update_bits(regmap, type_params[type].clk_ctrl_reg, in aspeed_set_pwm_clock_values()
399 type_params[type].clk_ctrl_mask, reg_value); in aspeed_set_pwm_clock_values()
438 regmap_update_bits(regmap, type_params[type].ctrl_reg, in aspeed_set_tacho_type_enable()
450 regmap_update_bits(regmap, type_params[type].ctrl_reg, in aspeed_set_tacho_type_values()
452 regmap_update_bits(regmap, type_params[type].ctrl_reg1, in aspeed_set_tacho_type_values()