Home
last modified time | relevance | path

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

/drivers/hwmon/
Daspeed-pwm-tacho.c203 struct type_params { struct
213 static const struct type_params type_params[] = { argument
393 u32 reg_value = ((div_high << type_params[type].h_value) | in aspeed_set_pwm_clock_values()
394 (div_low << type_params[type].l_value) | in aspeed_set_pwm_clock_values()
395 (unit << type_params[type].unit_value)); in aspeed_set_pwm_clock_values()
397 regmap_update_bits(regmap, type_params[type].clk_ctrl_reg, in aspeed_set_pwm_clock_values()
398 type_params[type].clk_ctrl_mask, reg_value); in aspeed_set_pwm_clock_values()
437 regmap_update_bits(regmap, type_params[type].ctrl_reg, in aspeed_set_tacho_type_enable()
449 regmap_update_bits(regmap, type_params[type].ctrl_reg, in aspeed_set_tacho_type_values()
451 regmap_update_bits(regmap, type_params[type].ctrl_reg1, in aspeed_set_tacho_type_values()