Home
last modified time | relevance | path

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

/drivers/video/backlight/
Dlm3630a_bl.c93 rval |= lm3630a_update(pchip, REG_CONFIG, 0x07, pdata->pwm_ctrl); in lm3630a_chip_init()
191 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_a_update_status() local
194 if ((pwm_ctrl & LM3630A_PWM_BANK_A) != 0) in lm3630a_bank_a_update_status()
223 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_a_get_brightness() local
225 if ((pwm_ctrl & LM3630A_PWM_BANK_A) != 0) { in lm3630a_bank_a_get_brightness()
266 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_b_update_status() local
269 if ((pwm_ctrl & LM3630A_PWM_BANK_B) != 0) in lm3630a_bank_b_update_status()
298 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_b_get_brightness() local
300 if ((pwm_ctrl & LM3630A_PWM_BANK_B) != 0) { in lm3630a_bank_b_get_brightness()
561 if (pdata->pwm_ctrl != LM3630A_PWM_DISABLE) { in lm3630a_probe()
/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfantog.c84 if (therm->func->pwm_ctrl) in nvkm_fantog_set()
85 therm->func->pwm_ctrl(therm, fan->func.line, false); in nvkm_fantog_set()
96 if (therm->func->pwm_ctrl) { in nvkm_fantog_create()
97 ret = therm->func->pwm_ctrl(therm, func->line, false); in nvkm_fantog_create()
Dfanpwm.c80 ret = therm->func->pwm_ctrl(therm, fan->func.line, true); in nvkm_fanpwm_set()
96 !therm->func->pwm_ctrl || info.type == NVBIOS_THERM_FAN_TOGGLE || in nvkm_fanpwm_create()
Dgt215.c61 .pwm_ctrl = nv50_fan_pwm_ctrl,
Dgm107.c61 .pwm_ctrl = gm107_fan_pwm_ctrl,
Dpriv.h89 int (*pwm_ctrl)(struct nvkm_therm *, int line, bool); member
Dgk104.c96 .pwm_ctrl = gf119_fan_pwm_ctrl,
Dgf119.c140 .pwm_ctrl = gf119_fan_pwm_ctrl,
Dnv50.c163 .pwm_ctrl = nv50_fan_pwm_ctrl,
Dnv40.c192 .pwm_ctrl = nv40_fan_pwm_ctrl,
Dg84.c217 .pwm_ctrl = nv50_fan_pwm_ctrl,
/drivers/net/can/
Dkvaser_pciefd.c659 u32 pwm_ctrl; in kvaser_pciefd_pwm_stop() local
663 pwm_ctrl = ioread32(can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_stop()
664 top = (pwm_ctrl >> KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT) & 0xff; in kvaser_pciefd_pwm_stop()
667 pwm_ctrl |= top; in kvaser_pciefd_pwm_stop()
668 iowrite32(pwm_ctrl, can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_stop()
675 u32 pwm_ctrl; in kvaser_pciefd_pwm_start() local
684 pwm_ctrl = top & 0xff; in kvaser_pciefd_pwm_start()
685 pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT; in kvaser_pciefd_pwm_start()
686 iowrite32(pwm_ctrl, can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_start()
690 pwm_ctrl = trigger & 0xff; in kvaser_pciefd_pwm_start()
[all …]
/drivers/hwmon/
Dit87.c559 u8 pwm_ctrl[NUM_PWM]; /* Register value */ member
691 data->pwm_ctrl[nr] = it87_read_value(data, IT87_REG_PWM[nr]); in it87_update_pwm_ctrl()
693 data->pwm_temp_map[nr] = data->pwm_ctrl[nr] & 0x03; in it87_update_pwm_ctrl()
697 if (data->pwm_ctrl[nr] & 0x80) /* Automatic mode */ in it87_update_pwm_ctrl()
698 data->pwm_temp_map[nr] = data->pwm_ctrl[nr] & 0x03; in it87_update_pwm_ctrl()
700 data->pwm_duty[nr] = data->pwm_ctrl[nr] & 0x7f; in it87_update_pwm_ctrl()
1102 if (data->pwm_ctrl[nr] & 0x80) in pwm_mode()
1335 ctrl = (data->pwm_ctrl[nr] & 0x7c) | in set_pwm_enable()
1340 data->pwm_ctrl[nr] = ctrl; in set_pwm_enable()
1347 ctrl = (data->pwm_ctrl[nr] & 0x7c) | in set_pwm_enable()
[all …]
/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c2023 u32 pwm_ctrl; in cdv_intel_dp_init() local
2031 pwm_ctrl = REG_READ(BLC_PWM_CTL2); in cdv_intel_dp_init()
2032 pwm_ctrl |= PWM_PIPE_B; in cdv_intel_dp_init()
2033 REG_WRITE(BLC_PWM_CTL2, pwm_ctrl); in cdv_intel_dp_init()