Lines Matching defs:pca

95 static bool pca9685_prescaler_can_change(struct pca9685 *pca, int channel)  in pca9685_prescaler_can_change()
110 static int pca9685_read_reg(struct pca9685 *pca, unsigned int reg, unsigned int *val) in pca9685_read_reg()
122 static int pca9685_write_reg(struct pca9685 *pca, unsigned int reg, unsigned int val) in pca9685_write_reg()
135 static void pca9685_pwm_set_duty(struct pca9685 *pca, int channel, unsigned int duty) in pca9685_pwm_set_duty()
174 static unsigned int pca9685_pwm_get_duty(struct pca9685 *pca, int channel) in pca9685_pwm_get_duty()
211 static bool pca9685_pwm_test_and_set_inuse(struct pca9685 *pca, int pwm_idx) in pca9685_pwm_test_and_set_inuse()
241 static void pca9685_pwm_clear_inuse(struct pca9685 *pca, int pwm_idx) in pca9685_pwm_clear_inuse()
250 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_request() local
260 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_get() local
268 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_set() local
275 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_free() local
309 static int pca9685_pwm_gpio_probe(struct pca9685 *pca) in pca9685_pwm_gpio_probe()
329 static inline bool pca9685_pwm_test_and_set_inuse(struct pca9685 *pca, in pca9685_pwm_test_and_set_inuse()
336 pca9685_pwm_clear_inuse(struct pca9685 *pca, int pwm_idx) in pca9685_pwm_clear_inuse()
340 static inline int pca9685_pwm_gpio_probe(struct pca9685 *pca) in pca9685_pwm_gpio_probe()
346 static void pca9685_set_sleep_mode(struct pca9685 *pca, bool enable) in pca9685_set_sleep_mode()
366 struct pca9685 *pca = to_pca(chip); in __pca9685_pwm_apply() local
418 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_apply() local
437 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_get_state() local
473 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_request() local
492 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_free() local
520 struct pca9685 *pca; in pca9685_pwm_probe() local
604 struct pca9685 *pca = i2c_get_clientdata(client); in pca9685_pwm_remove() local
619 struct pca9685 *pca = i2c_get_clientdata(client); in pca9685_pwm_runtime_suspend() local
628 struct pca9685 *pca = i2c_get_clientdata(client); in pca9685_pwm_runtime_resume() local