Searched refs:pwm_config (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/hwmon/ |
D | dme1737.c | 233 u8 pwm_config[3]; member 716 data->pwm_config[ix] = dme1737_read(data, in dme1737_update_device() 1208 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 0) in show_pwm() 1220 res = PWM_EN_FROM_REG(data->pwm_config[ix]); in show_pwm() 1228 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 2) in show_pwm() 1229 res = PWM_ACZ_FROM_REG(data->pwm_config[ix]); in show_pwm() 1296 data->pwm_config[ix] = dme1737_read(data, in set_pwm() 1298 if (val == PWM_EN_FROM_REG(data->pwm_config[ix])) { in set_pwm() 1303 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 2) { in set_pwm() 1306 data->pwm_config[ix]); in set_pwm() [all …]
|
/linux-5.19.10/drivers/pwm/ |
D | pwm-twl-led.c | 62 u8 pwm_config[2] = { 1, 0 }; in twl4030_pwmled_config() local 83 pwm_config[1] = duty_cycle; in twl4030_pwmled_config() 85 ret = twl_i2c_write(TWL4030_MODULE_LED, pwm_config, base, 2); in twl4030_pwmled_config()
|
D | pwm-twl.c | 64 u8 pwm_config[2] = { 1, 0 }; in twl_pwm_config() local 85 pwm_config[1] = duty_cycle; in twl_pwm_config() 87 ret = twl_i2c_write(TWL_MODULE_PWM, pwm_config, base, 2); in twl_pwm_config()
|
/linux-5.19.10/include/linux/ |
D | pwm.h | 340 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() function 455 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() function
|
/linux-5.19.10/Documentation/driver-api/ |
D | pwm.rst | 63 The pwm_config(), pwm_enable() and pwm_disable() functions are just wrappers 65 several parameter at once. For example, if you see pwm_config() and 172 pwm_config(), so the calling context is currently driver specific. This
|
/linux-5.19.10/drivers/clk/ |
D | clk-pwm.c | 111 ret = pwm_config(pwm, (pargs.period + 1) >> 1, pargs.period); in clk_pwm_probe()
|
/linux-5.19.10/drivers/bus/ |
D | ts-nbus.c | 313 ret = pwm_config(pwm, pargs.period, pargs.period); in ts_nbus_probe()
|
/linux-5.19.10/drivers/video/backlight/ |
D | lp8788_bl.c | 152 pwm_config(bl->pwm, duty, period); in lp8788_pwm_ctrl()
|
D | lp855x_bl.c | 240 pwm_config(lp->pwm, duty, period); in lp855x_pwm_ctrl()
|
/linux-5.19.10/drivers/input/misc/ |
D | max77693-haptic.c | 75 error = pwm_config(haptic->pwm_dev, delta, pargs.period); in max77693_haptic_set_duty_cycle()
|
D | max8997_haptic.c | 62 ret = pwm_config(chip->pwm, duty, chip->pwm_period); in max8997_haptic_set_duty_cycle()
|