Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/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,
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,
/linux-6.1.9/include/linux/platform_data/
Dlm3630a_bl.h62 enum lm3630a_pwm_ctrl pwm_ctrl; member
/linux-6.1.9/drivers/net/can/
Dkvaser_pciefd.c650 u32 pwm_ctrl; in kvaser_pciefd_pwm_stop() local
654 pwm_ctrl = ioread32(can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_stop()
655 top = (pwm_ctrl >> KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT) & 0xff; in kvaser_pciefd_pwm_stop()
658 pwm_ctrl |= top; in kvaser_pciefd_pwm_stop()
659 iowrite32(pwm_ctrl, can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_stop()
666 u32 pwm_ctrl; in kvaser_pciefd_pwm_start() local
675 pwm_ctrl = top & 0xff; in kvaser_pciefd_pwm_start()
676 pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT; in kvaser_pciefd_pwm_start()
677 iowrite32(pwm_ctrl, can->reg_base + KVASER_PCIEFD_KCAN_PWM_REG); in kvaser_pciefd_pwm_start()
681 pwm_ctrl = trigger & 0xff; in kvaser_pciefd_pwm_start()
[all …]
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c2016 u32 pwm_ctrl; in cdv_intel_dp_init() local
2024 pwm_ctrl = REG_READ(BLC_PWM_CTL2); in cdv_intel_dp_init()
2025 pwm_ctrl |= PWM_PIPE_B; in cdv_intel_dp_init()
2026 REG_WRITE(BLC_PWM_CTL2, pwm_ctrl); in cdv_intel_dp_init()