Lines Matching refs:tegra_pwm_chip
41 struct tegra_pwm_chip {
50 static inline struct tegra_pwm_chip *to_tegra_pwm_chip(struct pwm_chip *chip)
52 return container_of(chip, struct tegra_pwm_chip, chip);
55 static inline u32 pwm_readl(struct tegra_pwm_chip *chip, unsigned int num)
60 static inline void pwm_writel(struct tegra_pwm_chip *chip, unsigned int num,
69 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip);
135 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip);
152 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip);
171 struct tegra_pwm_chip *pwm;
208 struct tegra_pwm_chip *pc = platform_get_drvdata(pdev);