Lines Matching +defs:val +defs:offset
109 static int pca9685_read_reg(struct pwm_chip *chip, unsigned int reg, unsigned int *val) in pca9685_read_reg()
122 static int pca9685_write_reg(struct pwm_chip *chip, unsigned int reg, unsigned int val) in pca9685_write_reg()
178 unsigned int off = 0, on = 0, val = 0; in pca9685_pwm_get_duty() local
249 static int pca9685_pwm_gpio_request(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_request()
260 static int pca9685_pwm_gpio_get(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_get()
267 static void pca9685_pwm_gpio_set(struct gpio_chip *gpio, unsigned int offset, in pca9685_pwm_gpio_set()
275 static void pca9685_pwm_gpio_free(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_free()
286 unsigned int offset) in pca9685_pwm_gpio_get_direction()
293 unsigned int offset) in pca9685_pwm_gpio_direction_input()
299 unsigned int offset, int value) in pca9685_pwm_gpio_direction_output()
373 unsigned int val = 0; in __pca9685_pwm_apply() local
443 unsigned int val = 0; in pca9685_pwm_get_state() local