Home
last modified time | relevance | path

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

/drivers/video/backlight/
Dlm3630_bl.c65 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() local
182 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() local
210 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() local
248 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() local
273 if (pwm_ctrl == PWM_CTRL_BANK_B || pwm_ctrl == PWM_CTRL_BANK_ALL) { in lm3630_bank_b_get_brightness()
/drivers/gpu/drm/nouveau/core/subdev/therm/
Dfantog.c89 if (therm->pwm_ctrl) in nouveau_fantog_set()
90 therm->pwm_ctrl(therm, priv->func.line, false); in nouveau_fantog_set()
Dfanpwm.c80 ret = therm->pwm_ctrl(therm, priv->func.line, true); in nouveau_fanpwm_set()
93 !therm->pwm_ctrl || in nouveau_fanpwm_create()
Dnva3.c80 priv->base.base.pwm_ctrl = nv50_fan_pwm_ctrl; in nva3_therm_ctor()
Dnvd0.c134 priv->base.base.pwm_ctrl = nvd0_fan_pwm_ctrl; in nvd0_therm_ctor()
Dnv50.c167 priv->base.base.pwm_ctrl = nv50_fan_pwm_ctrl; in nv50_therm_ctor()
Dnv40.c196 priv->base.base.pwm_ctrl = nv40_fan_pwm_ctrl; in nv40_therm_ctor()
Dnv84.c187 priv->base.base.pwm_ctrl = nv50_fan_pwm_ctrl; in nv84_therm_ctor()
/drivers/hwmon/
Dit87.c389 u8 pwm_ctrl[3]; /* Register value */ member
739 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 …]
/drivers/gpu/drm/nouveau/core/include/subdev/
Dtherm.h31 int (*pwm_ctrl)(struct nouveau_therm *, int line, bool); member
/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c1873 u32 pwm_ctrl; in cdv_intel_dp_init() local
1881 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()