/linux-master/drivers/pwm/ |
H A D | pwm-crc.c | 35 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 D | pwm-visconti.c | 40 static inline struct visconti_pwm_chip *visconti_pwm_from_chip(struct pwm_chip *chip) 45 static int visconti_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 105 static int visconti_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, 136 struct pwm_chip *chip;
|
H A D | pwm-ab8500.c | 30 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 D | pwm-apple.c | 39 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 D | pwm-dwc-core.c | 98 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 D | pwm-lpc18xx-sct.c | 109 to_lpc18xx_pwm_chip(struct pwm_chip *chip) 147 static void lpc18xx_pwm_config_period(struct pwm_chip *chip, u64 period_ns) 169 static void lpc18xx_pwm_config_duty(struct pwm_chip *chip, 191 static int lpc18xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 234 static int lpc18xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) 269 static void lpc18xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 280 static int lpc18xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 301 static void lpc18xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 309 static int lpc18xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 350 struct pwm_chip *chi [all...] |
H A D | pwm-img.c | 73 static inline struct img_pwm_chip *to_img_pwm_chip(struct pwm_chip *chip) 89 static int img_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 148 static int img_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 169 static void img_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 182 static int img_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 226 struct pwm_chip *chip = dev_get_drvdata(dev); 237 struct pwm_chip *chip = dev_get_drvdata(dev); 262 struct pwm_chip *chip; 341 struct pwm_chip *chip = platform_get_drvdata(pdev); 353 struct pwm_chip *chi [all...] |
H A D | pwm-mediatek.c | 68 to_pwm_mediatek_chip(struct pwm_chip *chip) 73 static int pwm_mediatek_clk_enable(struct pwm_chip *chip, 101 static void pwm_mediatek_clk_disable(struct pwm_chip *chip, 118 static int pwm_mediatek_config(struct pwm_chip *chip, struct pwm_device *pwm, 173 static int pwm_mediatek_enable(struct pwm_chip *chip, struct pwm_device *pwm) 190 static void pwm_mediatek_disable(struct pwm_chip *chip, struct pwm_device *pwm) 202 static int pwm_mediatek_apply(struct pwm_chip *chip, struct pwm_device *pwm, 233 struct pwm_chip *chip;
|
H A D | pwm-imx-tpm.c | 75 to_imx_tpm_pwm_chip(struct pwm_chip *chip) 86 static int pwm_imx_tpm_round_state(struct pwm_chip *chip, 134 static int pwm_imx_tpm_get_state(struct pwm_chip *chip, 171 static int pwm_imx_tpm_apply_hw(struct pwm_chip *chip, 289 static int pwm_imx_tpm_apply(struct pwm_chip *chip, 309 static int pwm_imx_tpm_request(struct pwm_chip *chip, struct pwm_device *pwm) 320 static void pwm_imx_tpm_free(struct pwm_chip *chip, struct pwm_device *pwm) 338 struct pwm_chip *chip;
|
H A D | pwm-rcar.c | 45 static inline struct rcar_pwm_chip *to_rcar_pwm_chip(struct pwm_chip *chip) 132 static int rcar_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 137 static void rcar_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 162 static int rcar_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 204 struct pwm_chip *chip; 241 struct pwm_chip *chip = platform_get_drvdata(pdev);
|
H A D | pwm-spear.c | 57 static inline struct spear_pwm_chip *to_spear_pwm_chip(struct pwm_chip *chip) 75 static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 135 static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 152 static void spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 164 static int spear_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 195 struct pwm_chip *chip;
|
H A D | pwm-stmpe.c | 33 static inline struct stmpe_pwm *to_stmpe_pwm(struct pwm_chip *chip) 38 static int stmpe_24xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 63 static int stmpe_24xx_pwm_disable(struct pwm_chip *chip, 97 static int stmpe_24xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 262 static int stmpe_24xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 294 struct pwm_chip *chip;
|
H A D | pwm-atmel-hlcdc.c | 36 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 D | pwm-meson.c | 101 int (*channels_init)(struct pwm_chip *chip); 115 static inline struct meson_pwm *to_meson_pwm(struct pwm_chip *chip) 120 static int meson_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 137 static void meson_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 145 static int meson_pwm_calc(struct pwm_chip *chip, struct pwm_device *pwm, 207 static void meson_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 235 static void meson_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 250 static int meson_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 290 static u64 meson_pwm_cnt_to_ns(struct pwm_chip *chip, struct pwm_device *pwm, 307 static int meson_pwm_get_state(struct pwm_chip *chi [all...] |
H A D | pwm-sifive.c | 55 struct pwm_sifive_ddata *pwm_sifive_chip_to_ddata(struct pwm_chip *chip) 60 static int pwm_sifive_request(struct pwm_chip *chip, struct pwm_device *pwm) 71 static void pwm_sifive_free(struct pwm_chip *chip, struct pwm_device *pwm) 109 static int pwm_sifive_get_state(struct pwm_chip *chip, struct pwm_device *pwm, 131 static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device *pwm, 228 struct pwm_chip *chip; 316 struct pwm_chip *chip = platform_get_drvdata(dev);
|
H A D | pwm-microchip-core.c | 65 static inline struct mchp_core_pwm_chip *to_mchp_core_pwm(struct pwm_chip *chip) 70 static void mchp_core_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, 150 static void mchp_core_pwm_apply_duty(struct pwm_chip *chip, struct pwm_device *pwm, 273 static int mchp_core_pwm_apply_locked(struct pwm_chip *chip, struct pwm_device *pwm, 359 static int mchp_core_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 376 static int mchp_core_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, 449 struct pwm_chip *chip;
|
H A D | pwm-bcm-kona.c | 63 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 D | pwm-samsung.c | 109 struct samsung_pwm_chip *to_samsung_pwm_chip(struct pwm_chip *chip) 182 static unsigned long pwm_samsung_calc_tin(struct pwm_chip *chip, 229 static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm) 245 static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm) 271 static void pwm_samsung_disable(struct pwm_chip *chip, struct pwm_device *pwm) 308 static int __pwm_samsung_config(struct pwm_chip *chip, struct pwm_device *pwm, 380 static int pwm_samsung_config(struct pwm_chip *chip, struct pwm_device *pwm, 410 static int pwm_samsung_set_polarity(struct pwm_chip *chip, 423 static int pwm_samsung_apply(struct pwm_chip *chip, struct pwm_device *pwm, 508 static int pwm_samsung_parse_dt(struct pwm_chip *chi [all...] |
H A D | pwm-tiehrpwm.c | 116 static inline struct ehrpwm_pwm_chip *to_ehrpwm_pwm_chip(struct pwm_chip *chip) 217 static int ehrpwm_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 306 static int ehrpwm_pwm_set_polarity(struct pwm_chip *chip, 318 static int ehrpwm_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 356 static void ehrpwm_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 390 static void ehrpwm_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 403 static int ehrpwm_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 452 struct pwm_chip *chip; 514 struct pwm_chip *chip = platform_get_drvdata(pdev); 524 static void ehrpwm_pwm_save_context(struct pwm_chip *chi [all...] |
H A D | pwm-renesas-tpu.c | 89 static inline struct tpu_device *to_tpu_device(struct pwm_chip *chip) 212 static int tpu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 234 static void tpu_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 242 static int tpu_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 351 static int tpu_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, 362 static int tpu_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 385 static void tpu_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 396 static int tpu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 443 struct pwm_chip *chip;
|
H A D | pwm-atmel.c | 99 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 D | pwm-cros-ec.c | 39 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 D | pwm-xilinx.c | 84 *xilinx_pwm_chip_to_priv(struct pwm_chip *chip) 95 static int xilinx_pwm_apply(struct pwm_chip *chip, struct pwm_device *unused, 167 static int xilinx_pwm_get_state(struct pwm_chip *chip, 212 struct pwm_chip *chip; 289 struct pwm_chip *chip = platform_get_drvdata(pdev);
|
H A D | pwm-stm32-lp.c | 25 static inline struct stm32_pwm_lp *to_stm32_pwm_lp(struct pwm_chip *chip) 33 static int stm32_pwm_lp_apply(struct pwm_chip *chip, struct pwm_device *pwm, 158 static int stm32_pwm_lp_get_state(struct pwm_chip *chip, 199 struct pwm_chip *chip; 222 struct pwm_chip *chip = dev_get_drvdata(dev);
|
H A D | pwm-lpss.c | 69 static inline struct pwm_lpss_chip *to_lpwm(struct pwm_chip *chip) 185 static int pwm_lpss_apply(struct pwm_chip *chip, struct pwm_device *pwm, 208 static int pwm_lpss_get_state(struct pwm_chip *chip, struct pwm_device *pwm, 248 struct pwm_chip *devm_pwm_lpss_probe(struct device *dev, void __iomem *base, 252 struct pwm_chip *chip;
|