Lines Matching refs:sprd_pwm_chip
34 struct sprd_pwm_chip { struct
53 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument
60 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write()
71 struct sprd_pwm_chip *spc = in sprd_pwm_get_state()
72 container_of(chip, struct sprd_pwm_chip, chip); in sprd_pwm_get_state()
118 static int sprd_pwm_config(struct sprd_pwm_chip *spc, struct pwm_device *pwm, in sprd_pwm_config()
161 struct sprd_pwm_chip *spc = in sprd_pwm_apply()
162 container_of(chip, struct sprd_pwm_chip, chip); in sprd_pwm_apply()
212 static int sprd_pwm_clk_init(struct sprd_pwm_chip *spc) in sprd_pwm_clk_init()
251 struct sprd_pwm_chip *spc; in sprd_pwm_probe()
282 struct sprd_pwm_chip *spc = platform_get_drvdata(pdev); in sprd_pwm_remove()