/openbmc/u-boot/drivers/video/exynos/ |
H A D | exynos_pwm_bl.c | 27 pwm_config(pwm->pwm_id, 0, pwm->period); in exynos_pwm_backlight_update_status() 30 pwm_config(pwm->pwm_id, in exynos_pwm_backlight_update_status()
|
/openbmc/linux/drivers/hwmon/ |
H A 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 …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-twl-led.c | 78 u8 pwm_config[2] = { 1, 0 }; in twl4030_pwmled_config() local 99 pwm_config[1] = duty_cycle; in twl4030_pwmled_config() 101 ret = twl_i2c_write(TWL4030_MODULE_LED, pwm_config, base, 2); in twl4030_pwmled_config()
|
H A 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()
|
/openbmc/u-boot/board/samtec/vining_2000/ |
H A D | vining_2000.c | 323 ret = pwm_config(1, 200, 8000); in set_pwm_leds() 335 ret = pwm_config(0, 200, 8000); in set_pwm_leds() 347 ret = pwm_config(5, 200, 8000); in set_pwm_leds()
|
/openbmc/u-boot/include/ |
H A D | pwm.h | 84 int pwm_config (int pwm_id, int duty_ns, int period_ns);
|
/openbmc/u-boot/drivers/pwm/ |
H A D | pwm-imx.c | 27 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() function
|
/openbmc/qemu/hw/sensor/ |
H A D | max34451.c | 166 uint32_t pwm_config[MAX34451_NUM_MARGINED_PSU]; member 356 pmbus_send32(pmdev, s->pwm_config[pmdev->page]); in max34451_read_byte() 536 s->pwm_config[pmdev->page] = pmbus_receive32(pmdev); in max34451_write_data() 698 VMSTATE_UINT32_ARRAY(pwm_config, MAX34451State,
|
/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/ |
H A D | timer.c | 49 pwm_config(4, 100000, 100000); in timer_init()
|
H A D | pwm.c | 58 int pwm_config(int pwm_id, int duty_ns, int period_ns) in pwm_config() function
|
/openbmc/u-boot/board/ge/mx53ppd/ |
H A D | mx53ppd_video.c | 104 pwm_config(1, 5000000, 5000000); in lcd_enable()
|
/openbmc/linux/include/linux/ |
H A D | pwm.h | 323 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() function 423 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() function
|
/openbmc/linux/Documentation/driver-api/ |
H A D | pwm.rst | 59 The pwm_config(), pwm_enable() and pwm_disable() functions are just wrappers 61 several parameter at once. For example, if you see pwm_config() and 168 pwm_config(), so the calling context is currently driver specific. This
|
/openbmc/linux/drivers/clk/ |
H A D | clk-pwm.c | 111 ret = pwm_config(pwm, (pargs.period + 1) >> 1, pargs.period); in clk_pwm_probe()
|
/openbmc/u-boot/board/aristainetos/ |
H A D | aristainetos-v1.c | 208 if (pwm_config(2, 500, 3000)) in enable_lvds()
|
H A D | aristainetos-v2.c | 392 if (pwm_config(0, 50000, 300000)) in enable_display_power()
|
/openbmc/linux/drivers/bus/ |
H A D | ts-nbus.c | 310 ret = pwm_config(pwm, pargs.period, pargs.period); in ts_nbus_probe()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lp8788_bl.c | 152 pwm_config(bl->pwm, duty, period); in lp8788_pwm_ctrl()
|
/openbmc/linux/drivers/input/misc/ |
H A D | max8997_haptic.c | 62 ret = pwm_config(chip->pwm, duty, chip->pwm_period); in max8997_haptic_set_duty_cycle()
|
H A D | max77693-haptic.c | 75 error = pwm_config(haptic->pwm_dev, delta, pargs.period); in max77693_haptic_set_duty_cycle()
|
/openbmc/u-boot/board/advantech/dms-ba16/ |
H A D | dms-ba16.c | 604 pwm_config(0, 5000000, 5000000); in board_late_init()
|
/openbmc/u-boot/board/ge/bx50v3/ |
H A D | bx50v3.c | 832 pwm_config(0, 5000000, 5000000); in do_backlight_enable()
|