Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pwm/
Dpwm-lpss.c37 struct pwm_lpss_chip { struct
44 static inline struct pwm_lpss_chip *to_lpwm(struct pwm_chip *chip) in to_lpwm() argument
46 return container_of(chip, struct pwm_lpss_chip, chip); in to_lpwm()
51 struct pwm_lpss_chip *lpwm = to_lpwm(pwm->chip); in pwm_lpss_read()
58 struct pwm_lpss_chip *lpwm = to_lpwm(pwm->chip); in pwm_lpss_write()
65 struct pwm_lpss_chip *lpwm = to_lpwm(pwm->chip); in pwm_lpss_wait_for_update()
94 static void pwm_lpss_prepare(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm, in pwm_lpss_prepare()
140 struct pwm_lpss_chip *lpwm = to_lpwm(chip); in pwm_lpss_apply()
179 struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, struct resource *r, in pwm_lpss_probe()
182 struct pwm_lpss_chip *lpwm; in pwm_lpss_probe()
[all …]
Dpwm-lpss.h19 struct pwm_lpss_chip;
28 struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, struct resource *r,
30 int pwm_lpss_remove(struct pwm_lpss_chip *lpwm);
Dpwm-lpss-platform.c47 struct pwm_lpss_chip *lpwm; in pwm_lpss_probe_platform()
71 struct pwm_lpss_chip *lpwm = platform_get_drvdata(pdev); in pwm_lpss_remove_platform()
Dpwm-lpss-pci.c53 struct pwm_lpss_chip *lpwm; in pwm_lpss_probe_pci()
75 struct pwm_lpss_chip *lpwm = pci_get_drvdata(pdev); in pwm_lpss_remove_pci()