Lines Matching refs:atmel_pwm_chip

81 struct atmel_pwm_chip {  struct
102 static inline struct atmel_pwm_chip *to_atmel_pwm_chip(struct pwm_chip *chip) in to_atmel_pwm_chip() argument
104 return container_of(chip, struct atmel_pwm_chip, chip); in to_atmel_pwm_chip()
107 static inline u32 atmel_pwm_readl(struct atmel_pwm_chip *chip, in atmel_pwm_readl()
113 static inline void atmel_pwm_writel(struct atmel_pwm_chip *chip, in atmel_pwm_writel()
119 static inline u32 atmel_pwm_ch_readl(struct atmel_pwm_chip *chip, in atmel_pwm_ch_readl()
127 static inline void atmel_pwm_ch_writel(struct atmel_pwm_chip *chip, in atmel_pwm_ch_writel()
136 static void atmel_pwm_update_pending(struct atmel_pwm_chip *chip) in atmel_pwm_update_pending()
149 static void atmel_pwm_set_pending(struct atmel_pwm_chip *chip, unsigned int ch) in atmel_pwm_set_pending()
164 static int atmel_pwm_test_pending(struct atmel_pwm_chip *chip, unsigned int ch) in atmel_pwm_test_pending()
182 static int atmel_pwm_wait_nonpending(struct atmel_pwm_chip *chip, unsigned int ch) in atmel_pwm_wait_nonpending()
199 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_calculate_cprd_and_pres()
244 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_update_cdty()
263 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_set_cprd_cdty()
274 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_disable()
298 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_apply()
363 struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip); in atmel_pwm_get_state()
468 struct atmel_pwm_chip *atmel_pwm; in atmel_pwm_probe()
515 struct atmel_pwm_chip *atmel_pwm = platform_get_drvdata(pdev); in atmel_pwm_remove()