Searched refs:pwm_ctrl (Results 1 – 11 of 11) sorted by relevance
65 reg_val = ((pdata->pwm_active & 0x01) << 2) | (pdata->pwm_ctrl & 0x03); in lm3630_chip_init()171 enum lm3630_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630_bank_a_update_status() local182 if (pwm_ctrl == PWM_CTRL_BANK_A || pwm_ctrl == PWM_CTRL_BANK_ALL) { in lm3630_bank_a_update_status()208 enum lm3630_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630_bank_a_get_brightness() local210 if (pwm_ctrl == PWM_CTRL_BANK_A || pwm_ctrl == PWM_CTRL_BANK_ALL) { in lm3630_bank_a_get_brightness()246 enum lm3630_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630_bank_b_update_status() local248 if (pwm_ctrl == PWM_CTRL_BANK_B || pwm_ctrl == PWM_CTRL_BANK_ALL) { in lm3630_bank_b_update_status()271 enum lm3630_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630_bank_b_get_brightness() local273 if (pwm_ctrl == PWM_CTRL_BANK_B || pwm_ctrl == PWM_CTRL_BANK_ALL) { in lm3630_bank_b_get_brightness()
89 if (therm->pwm_ctrl) in nouveau_fantog_set()90 therm->pwm_ctrl(therm, priv->func.line, false); in nouveau_fantog_set()
80 ret = therm->pwm_ctrl(therm, priv->func.line, true); in nouveau_fanpwm_set()93 !therm->pwm_ctrl || in nouveau_fanpwm_create()
80 priv->base.base.pwm_ctrl = nv50_fan_pwm_ctrl; in nva3_therm_ctor()
134 priv->base.base.pwm_ctrl = nvd0_fan_pwm_ctrl; in nvd0_therm_ctor()
167 priv->base.base.pwm_ctrl = nv50_fan_pwm_ctrl; in nv50_therm_ctor()
196 priv->base.base.pwm_ctrl = nv40_fan_pwm_ctrl; in nv40_therm_ctor()
187 priv->base.base.pwm_ctrl = nv50_fan_pwm_ctrl; in nv84_therm_ctor()
389 u8 pwm_ctrl[3]; /* Register value */ member739 if (data->pwm_ctrl[nr] & 0x80) /* Automatic mode */ in pwm_mode()945 data->pwm_ctrl[nr] = has_newer_autopwm(data) ? in set_pwm_enable()949 data->pwm_ctrl[nr] = 0x80 | data->pwm_temp_map[nr]; in set_pwm_enable()950 it87_write_value(data, IT87_REG_PWM(nr), data->pwm_ctrl[nr]); in set_pwm_enable()978 if (data->pwm_ctrl[nr] & 0x80) { in set_pwm()991 if (!(data->pwm_ctrl[nr] & 0x80)) { in set_pwm()992 data->pwm_ctrl[nr] = data->pwm_duty[nr]; in set_pwm()994 data->pwm_ctrl[nr]); in set_pwm()1081 if (data->pwm_ctrl[nr] & 0x80) { in set_pwm_temp_map()[all …]
31 int (*pwm_ctrl)(struct nouveau_therm *, int line, bool); member
1873 u32 pwm_ctrl; in cdv_intel_dp_init() local1881 pwm_ctrl = REG_READ(BLC_PWM_CTL2); in cdv_intel_dp_init()1882 pwm_ctrl |= PWM_PIPE_B; in cdv_intel_dp_init()1883 REG_WRITE(BLC_PWM_CTL2, pwm_ctrl); in cdv_intel_dp_init()