Lines Matching refs:atmel_pwm_chip

79 struct atmel_pwm_chip {  struct
100 static inline struct atmel_pwm_chip *to_atmel_pwm_chip(struct pwm_chip *chip) in to_atmel_pwm_chip() argument
102 return container_of(chip, struct atmel_pwm_chip, chip); in to_atmel_pwm_chip()
105 static inline u32 atmel_pwm_readl(struct atmel_pwm_chip *chip, in atmel_pwm_readl()
111 static inline void atmel_pwm_writel(struct atmel_pwm_chip *chip, in atmel_pwm_writel()
117 static inline u32 atmel_pwm_ch_readl(struct atmel_pwm_chip *chip, in atmel_pwm_ch_readl()
125 static inline void atmel_pwm_ch_writel(struct atmel_pwm_chip *chip, in atmel_pwm_ch_writel()
134 static void atmel_pwm_update_pending(struct atmel_pwm_chip *chip) in atmel_pwm_update_pending()
147 static void atmel_pwm_set_pending(struct atmel_pwm_chip *chip, unsigned int ch) in atmel_pwm_set_pending()
162 static int atmel_pwm_test_pending(struct atmel_pwm_chip *chip, unsigned int ch) in atmel_pwm_test_pending()
180 static int atmel_pwm_wait_nonpending(struct atmel_pwm_chip *chip, unsigned int ch) in atmel_pwm_wait_nonpending()
197 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_calculate_cprd_and_pres()
242 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_update_cdty()
261 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_set_cprd_cdty()
272 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_disable()
296 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_apply()
361 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_get_state()
466 static int atmel_pwm_enable_clk_if_on(struct atmel_pwm_chip *atmel_pwm, bool on) in atmel_pwm_enable_clk_if_on()
504 struct atmel_pwm_chip *atmel_pwm; in atmel_pwm_probe()