Lines Matching defs:pca9685
74 struct pca9685 {
85 static inline struct pca9685 *to_pca(struct pwm_chip *chip)
87 return container_of(chip, struct pca9685, chip);
91 static bool pca9685_pwm_test_and_set_inuse(struct pca9685 *pca, int pwm_idx)
121 static void pca9685_pwm_clear_inuse(struct pca9685 *pca, int pwm_idx)
130 struct pca9685 *pca = gpiochip_get_data(gpio);
140 struct pca9685 *pca = gpiochip_get_data(gpio);
152 struct pca9685 *pca = gpiochip_get_data(gpio);
166 struct pca9685 *pca = gpiochip_get_data(gpio);
200 static int pca9685_pwm_gpio_probe(struct pca9685 *pca)
222 static inline bool pca9685_pwm_test_and_set_inuse(struct pca9685 *pca,
229 pca9685_pwm_clear_inuse(struct pca9685 *pca, int pwm_idx)
233 static inline int pca9685_pwm_gpio_probe(struct pca9685 *pca)
239 static void pca9685_set_sleep_mode(struct pca9685 *pca, bool enable)
252 struct pca9685 *pca = to_pca(chip);
354 struct pca9685 *pca = to_pca(chip);
391 struct pca9685 *pca = to_pca(chip);
412 struct pca9685 *pca = to_pca(chip);
423 struct pca9685 *pca = to_pca(chip);
449 struct pca9685 *pca;
521 struct pca9685 *pca = i2c_get_clientdata(client);
534 struct pca9685 *pca = i2c_get_clientdata(client);
543 struct pca9685 *pca = i2c_get_clientdata(client);
550 { "pca9685", 0 },
565 { .compatible = "nxp,pca9685-pwm", },
578 .name = "pca9685-pwm",