Home
last modified time | relevance | path

Searched refs:pwm_lpss_chip (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/pwm/
Dpwm-lpss.c32 static inline struct pwm_lpss_chip *to_lpwm(struct pwm_chip *chip) in to_lpwm()
34 return container_of(chip, struct pwm_lpss_chip, chip); in to_lpwm()
39 struct pwm_lpss_chip *lpwm = to_lpwm(pwm->chip); in pwm_lpss_read()
46 struct pwm_lpss_chip *lpwm = to_lpwm(pwm->chip); in pwm_lpss_write()
53 struct pwm_lpss_chip *lpwm = to_lpwm(pwm->chip); in pwm_lpss_wait_for_update()
82 static void pwm_lpss_prepare(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm, in pwm_lpss_prepare()
127 struct pwm_lpss_chip *lpwm = to_lpwm(chip); in pwm_lpss_apply()
165 struct pwm_lpss_chip *lpwm = to_lpwm(chip); in pwm_lpss_get_state()
200 struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, struct resource *r, in pwm_lpss_probe()
203 struct pwm_lpss_chip *lpwm; in pwm_lpss_probe()
[all …]
Dpwm-lpss.h18 struct pwm_lpss_chip { struct
37 struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, struct resource *r, argument
39 int pwm_lpss_remove(struct pwm_lpss_chip *lpwm);
Dpwm-lpss-platform.c45 struct pwm_lpss_chip *lpwm; in pwm_lpss_probe_platform()
70 struct pwm_lpss_chip *lpwm = platform_get_drvdata(pdev); in pwm_lpss_remove_platform()
78 struct pwm_lpss_chip *lpwm = dev_get_drvdata(dev); in pwm_lpss_prepare()
Dpwm-lpss-pci.c50 struct pwm_lpss_chip *lpwm; in pwm_lpss_probe_pci()
72 struct pwm_lpss_chip *lpwm = pci_get_drvdata(pdev); in pwm_lpss_remove_pci()