Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/video/backlight/
Dlm3630a_bl.c90 rval |= lm3630a_update(pchip, REG_CONFIG, 0x07, pdata->pwm_ctrl); in lm3630a_chip_init()
185 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_a_update_status() local
188 if ((pwm_ctrl & LM3630A_PWM_BANK_A) != 0) { in lm3630a_bank_a_update_status()
219 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_a_get_brightness() local
221 if ((pwm_ctrl & LM3630A_PWM_BANK_A) != 0) { in lm3630a_bank_a_get_brightness()
262 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_b_update_status() local
265 if ((pwm_ctrl & LM3630A_PWM_BANK_B) != 0) { in lm3630a_bank_b_update_status()
296 enum lm3630a_pwm_ctrl pwm_ctrl = pchip->pdata->pwm_ctrl; in lm3630a_bank_b_get_brightness() local
298 if ((pwm_ctrl & LM3630A_PWM_BANK_B) != 0) { in lm3630a_bank_b_get_brightness()
550 if (pdata->pwm_ctrl != LM3630A_PWM_DISABLE) { in lm3630a_probe()
/Linux-v5.4/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()
Dgm107.c61 .pwm_ctrl = gm107_fan_pwm_ctrl,
Dgt215.c61 .pwm_ctrl = nv50_fan_pwm_ctrl,
Dgk104.c96 .pwm_ctrl = gf119_fan_pwm_ctrl,
Dpriv.h89 int (*pwm_ctrl)(struct nvkm_therm *, int line, bool); member
Dgf119.c139 .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,
/Linux-v5.4/include/linux/platform_data/
Dlm3630a_bl.h62 enum lm3630a_pwm_ctrl pwm_ctrl; member
/Linux-v5.4/drivers/net/can/
Dkvaser_pciefd.c648 u32 pwm_ctrl; in kvaser_pciefd_pwm_stop() local
652 pwm_ctrl = ioread32(can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_stop()
653 top = (pwm_ctrl >> KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT) & 0xff; in kvaser_pciefd_pwm_stop()
656 pwm_ctrl |= top; in kvaser_pciefd_pwm_stop()
657 iowrite32(pwm_ctrl, can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_stop()
664 u32 pwm_ctrl; in kvaser_pciefd_pwm_start() local
673 pwm_ctrl = top & 0xff; in kvaser_pciefd_pwm_start()
674 pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT; in kvaser_pciefd_pwm_start()
675 iowrite32(pwm_ctrl, can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_start()
679 pwm_ctrl = trigger & 0xff; in kvaser_pciefd_pwm_start()
[all …]
/Linux-v5.4/drivers/hwmon/
Dit87.c557 u8 pwm_ctrl[NUM_PWM]; /* Register value */ member
689 data->pwm_ctrl[nr] = it87_read_value(data, IT87_REG_PWM[nr]); in it87_update_pwm_ctrl()
691 data->pwm_temp_map[nr] = data->pwm_ctrl[nr] & 0x03; in it87_update_pwm_ctrl()
695 if (data->pwm_ctrl[nr] & 0x80) /* Automatic mode */ in it87_update_pwm_ctrl()
696 data->pwm_temp_map[nr] = data->pwm_ctrl[nr] & 0x03; in it87_update_pwm_ctrl()
698 data->pwm_duty[nr] = data->pwm_ctrl[nr] & 0x7f; in it87_update_pwm_ctrl()
1100 if (data->pwm_ctrl[nr] & 0x80) in pwm_mode()
1333 ctrl = (data->pwm_ctrl[nr] & 0x7c) | in set_pwm_enable()
1338 data->pwm_ctrl[nr] = ctrl; in set_pwm_enable()
1345 ctrl = (data->pwm_ctrl[nr] & 0x7c) | in set_pwm_enable()
[all …]
/Linux-v5.4/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c2068 u32 pwm_ctrl; in cdv_intel_dp_init() local
2076 pwm_ctrl = REG_READ(BLC_PWM_CTL2); in cdv_intel_dp_init()
2077 pwm_ctrl |= PWM_PIPE_B; in cdv_intel_dp_init()
2078 REG_WRITE(BLC_PWM_CTL2, pwm_ctrl); in cdv_intel_dp_init()