Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-pca9685.c142 pca9685_write_reg(pca, REG_OFF_H(channel), LED_FULL); in pca9685_pwm_set_duty()
146 pca9685_write_reg(pca, REG_ON_H(channel), LED_FULL); in pca9685_pwm_set_duty()
147 pca9685_write_reg(pca, REG_OFF_H(channel), 0); in pca9685_pwm_set_duty()
167 pca9685_write_reg(pca, REG_ON_L(channel), on & 0xff); in pca9685_pwm_set_duty()
170 pca9685_write_reg(pca, REG_OFF_L(channel), off & 0xff); in pca9685_pwm_set_duty()
403 pca9685_write_reg(pca, PCA9685_PRESCALE, prescale); in __pca9685_pwm_apply()
554 ret = pca9685_write_reg(pca, PCA9685_MODE2, reg); in pca9685_pwm_probe()
561 pca9685_write_reg(pca, PCA9685_MODE1, reg); in pca9685_pwm_probe()
564 pca9685_write_reg(pca, PCA9685_ALL_LED_OFF_L, 0); in pca9685_pwm_probe()
566 pca9685_write_reg(pca, PCA9685_ALL_LED_ON_L, 0); in pca9685_pwm_probe()
[all …]