Searched refs:pwm_chip (Results 1 - 25 of 77) sorted by path

1234

/linux-master/drivers/gpio/
H A Dgpio-mvebu.c613 * Functions implementing the pwm_chip methods
615 static struct mvebu_pwm *to_mvebu_pwm(struct pwm_chip *chip)
620 static int mvebu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
649 static void mvebu_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
660 static int mvebu_pwm_get_state(struct pwm_chip *chip,
701 static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
791 struct pwm_chip *chip;
/linux-master/drivers/gpu/drm/bridge/
H A Dti-sn65dsi86.c167 * @pchip: pwm_chip if the PWM is exposed.
200 struct pwm_chip *pchip;
1375 static struct ti_sn65dsi86 *pwm_chip_to_ti_sn_bridge(struct pwm_chip *chip)
1380 static int ti_sn_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
1387 static void ti_sn_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
1405 static int ti_sn_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
1535 static int ti_sn_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
1588 struct pwm_chip *chip;
1947 * bus or the pwm_chip. Having sub-devices allows the some sub devices
/linux-master/drivers/hwmon/
H A Daspeed-g6-pwm-tach.c139 struct pwm_chip chip;
145 aspeed_pwm_chip_to_data(struct pwm_chip *chip)
150 static int aspeed_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
188 static int aspeed_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
/linux-master/drivers/leds/rgb/
H A Dleds-qcom-lpg.c112 struct pwm_chip *pwm;
1200 static inline struct lpg *lpg_pwm_from_chip(struct pwm_chip *chip)
1205 static int lpg_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
1220 static int lpg_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
1251 static int lpg_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
1317 struct pwm_chip *chip;
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-intel.c1495 struct pwm_chip *chip;
/linux-master/drivers/pwm/
H A Dcore.c36 struct pwm_chip *chip = pwm->chip;
145 struct pwm_chip *chip;
310 static struct pwm_chip *pwmchip_find_by_name(const char *name)
312 struct pwm_chip *chip;
337 struct pwm_chip *chip = pwm->chip;
390 struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip,
414 of_pwm_xlate_with_flags(struct pwm_chip *chip, const struct of_phandle_args *args)
438 of_pwm_single_xlate(struct pwm_chip *chip, const struct of_phandle_args *args)
459 static void *pwmchip_priv(struct pwm_chip *chip)
465 void pwmchip_put(struct pwm_chip *chi
[all...]
H A Dpwm-ab8500.c30 static struct ab8500_pwm_chip *ab8500_pwm_from_chip(struct pwm_chip *chip)
35 static int ab8500_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
138 static int ab8500_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
187 struct pwm_chip *chip;
H A Dpwm-apple.c39 static inline struct apple_pwm *to_apple_pwm(struct pwm_chip *chip)
44 static int apple_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
76 static int apple_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
105 struct pwm_chip *chip;
H A Dpwm-atmel-hlcdc.c36 static inline struct atmel_hlcdc_pwm *to_atmel_hlcdc_pwm(struct pwm_chip *chip)
41 static int atmel_hlcdc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
184 struct pwm_chip *chip = dev_get_drvdata(dev);
197 struct pwm_chip *chip = dev_get_drvdata(dev);
245 struct pwm_chip *chip;
281 struct pwm_chip *chip = platform_get_drvdata(pdev);
H A Dpwm-atmel-tcb.c63 static inline struct atmel_tcb_pwm_chip *to_tcb_chip(struct pwm_chip *chip)
68 static int atmel_tcb_pwm_request(struct pwm_chip *chip,
115 static void atmel_tcb_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
122 static void atmel_tcb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm,
179 static int atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm,
263 static int atmel_tcb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
341 static int atmel_tcb_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
390 struct pwm_chip *chip;
475 struct pwm_chip *chip = platform_get_drvdata(pdev);
494 struct pwm_chip *chi
[all...]
H A Dpwm-atmel.c99 static inline struct atmel_pwm_chip *to_atmel_pwm_chip(struct pwm_chip *chip)
191 static int atmel_pwm_calculate_cprd_and_pres(struct pwm_chip *chip,
238 static void atmel_pwm_update_cdty(struct pwm_chip *chip, struct pwm_device *pwm,
256 static void atmel_pwm_set_cprd_cdty(struct pwm_chip *chip,
268 static void atmel_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm,
292 static int atmel_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
354 static int atmel_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
461 static int atmel_pwm_enable_clk_if_on(struct pwm_chip *chip, bool on)
501 struct pwm_chip *chip;
H A Dpwm-bcm-iproc.c41 static inline struct iproc_pwmc *to_iproc_pwmc(struct pwm_chip *chip)
70 static int iproc_pwmc_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
113 static int iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm,
189 struct pwm_chip *chip;
H A Dpwm-bcm-kona.c63 static inline struct kona_pwmc *to_kona_pwmc(struct pwm_chip *chip)
100 static int kona_pwmc_config(struct pwm_chip *chip, struct pwm_device *pwm,
156 static int kona_pwmc_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,
188 static int kona_pwmc_enable(struct pwm_chip *chip, struct pwm_device *pwm)
202 static void kona_pwmc_disable(struct pwm_chip *chip, struct pwm_device *pwm)
224 static int kona_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm,
275 struct pwm_chip *chip;
H A Dpwm-bcm2835.c32 static inline struct bcm2835_pwm *to_bcm2835_pwm(struct pwm_chip *chip)
37 static int bcm2835_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
50 static void bcm2835_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
60 static int bcm2835_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
136 struct pwm_chip *chip;
H A Dpwm-berlin.c57 static inline struct berlin_pwm_chip *to_berlin_pwm_chip(struct pwm_chip *chip)
75 static int berlin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
113 static int berlin_pwm_set_polarity(struct pwm_chip *chip,
132 static int berlin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
144 static void berlin_pwm_disable(struct pwm_chip *chip,
155 static int berlin_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
200 struct pwm_chip *chip;
230 struct pwm_chip *chip = dev_get_drvdata(dev);
250 struct pwm_chip *chip = dev_get_drvdata(dev);
H A Dpwm-brcmstb.c77 static inline struct brcmstb_pwm *to_brcmstb_pwm(struct pwm_chip *chip)
95 static int brcmstb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
194 static int brcmstb_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
232 struct pwm_chip *chip;
H A Dpwm-clk.c35 static inline struct pwm_clk_chip *to_pwm_clk_chip(struct pwm_chip *chip)
40 static int pwm_clk_apply(struct pwm_chip *chip, struct pwm_device *pwm,
86 struct pwm_chip *chip;
112 struct pwm_chip *chip = platform_get_drvdata(pdev);
H A Dpwm-clps711x.c20 static inline struct clps711x_chip *to_clps711x_chip(struct pwm_chip *chip)
25 static int clps711x_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
39 static int clps711x_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
78 struct pwm_chip *chip;
H A Dpwm-crc.c35 static inline struct crystalcove_pwm *to_crc_pwm(struct pwm_chip *chip)
52 static int crc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
122 static int crc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
161 struct pwm_chip *chip;
H A Dpwm-cros-ec.c39 static inline struct cros_ec_pwm_device *pwm_to_cros_ec_pwm(struct pwm_chip *chip)
134 static int cros_ec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
164 static int cros_ec_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
199 cros_ec_pwm_xlate(struct pwm_chip *chip, const struct of_phandle_args *args)
264 struct pwm_chip *chip;
H A Dpwm-dwc-core.c98 static int dwc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
120 static int dwc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
162 struct pwm_chip *dwc_pwm_alloc(struct device *dev)
164 struct pwm_chip *chip;
H A Dpwm-dwc.c36 struct pwm_chip *chip;
111 struct pwm_chip *chip = ddata->chips[idx];
136 struct pwm_chip *chip = ddata->chips[idx];
H A Dpwm-dwc.h44 struct pwm_chip *chips[];
59 static inline struct dwc_pwm *to_dwc_pwm(struct pwm_chip *chip)
74 extern struct pwm_chip *dwc_pwm_alloc(struct device *dev);
H A Dpwm-ep93xx.c41 static inline struct ep93xx_pwm *to_ep93xx_pwm(struct pwm_chip *chip)
46 static int ep93xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
53 static void ep93xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
60 static int ep93xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
165 struct pwm_chip *chip;
H A Dpwm-fsl-ftm.c55 static inline struct fsl_pwm_chip *to_fsl_chip(struct pwm_chip *chip)
86 static int fsl_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
101 static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
223 static int fsl_pwm_apply_config(struct pwm_chip *chip,
296 static int fsl_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
395 struct pwm_chip *chip;
463 struct pwm_chip *chip = dev_get_drvdata(dev);
490 struct pwm_chip *chip = dev_get_drvdata(dev);

Completed in 492 milliseconds

1234