Lines Matching refs:pca9685

81 struct pca9685 {  struct
93 static inline struct pca9685 *to_pca(struct pwm_chip *chip) in to_pca() argument
95 return container_of(chip, struct pca9685, chip); in to_pca()
99 static bool pca9685_pwm_test_and_set_inuse(struct pca9685 *pca, int pwm_idx) in pca9685_pwm_test_and_set_inuse()
129 static void pca9685_pwm_clear_inuse(struct pca9685 *pca, int pwm_idx) in pca9685_pwm_clear_inuse()
138 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_request()
148 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_get()
160 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_set()
174 struct pca9685 *pca = gpiochip_get_data(gpio); in pca9685_pwm_gpio_free()
208 static int pca9685_pwm_gpio_probe(struct pca9685 *pca) in pca9685_pwm_gpio_probe()
230 static inline bool pca9685_pwm_test_and_set_inuse(struct pca9685 *pca, in pca9685_pwm_test_and_set_inuse()
237 pca9685_pwm_clear_inuse(struct pca9685 *pca, int pwm_idx) in pca9685_pwm_clear_inuse()
241 static inline int pca9685_pwm_gpio_probe(struct pca9685 *pca) in pca9685_pwm_gpio_probe()
247 static void pca9685_set_sleep_mode(struct pca9685 *pca, bool enable) in pca9685_set_sleep_mode()
260 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_config()
364 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_enable()
401 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_disable()
422 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_request()
433 struct pca9685 *pca = to_pca(chip); in pca9685_pwm_free()
459 struct pca9685 *pca; in pca9685_pwm_probe()
527 struct pca9685 *pca = i2c_get_clientdata(client); in pca9685_pwm_remove()
541 struct pca9685 *pca = i2c_get_clientdata(client); in pca9685_pwm_runtime_suspend()
550 struct pca9685 *pca = i2c_get_clientdata(client); in pca9685_pwm_runtime_resume()