/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | pwm-tiecap.c | 50 static int ecap_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in ecap_pwm_config() argument 111 static int ecap_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, in ecap_pwm_set_polarity() argument 135 static int ecap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in ecap_pwm_enable() argument 154 static void ecap_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in ecap_pwm_disable() argument 171 static void ecap_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in ecap_pwm_free() argument 279 struct pwm_device *pwm in ecap_pwm_suspend() local 293 struct pwm_device *pwm = pc->chip.pwms; ecap_pwm_resume() local [all...] |
H A D | pwm-twl.c | 60 static int twl_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in twl_pwm_config() argument 94 static int twl4030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in twl4030_pwm_enable() argument 124 twl4030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwm_disable() argument 153 twl4030_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwm_request() argument 191 twl4030_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwm_free() argument 221 twl6030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwm_enable() argument 244 twl6030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwm_disable() argument [all...] |
H A D | pwm-twl-led.c | 58 static int twl4030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm, in twl4030_pwmled_config() argument 92 static int twl4030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm) in twl4030_pwmled_enable() argument 116 twl4030_pwmled_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwmled_disable() argument 140 twl6030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, int period_ns) twl6030_pwmled_config() argument 157 twl6030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_enable() argument 183 twl6030_pwmled_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_disable() argument 209 twl6030_pwmled_request(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_request() argument 235 twl6030_pwmled_free(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_free() argument [all...] |
H A D | pwm-vt8500.c | 72 vt8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, int period_ns) vt8500_pwm_config() argument 126 vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) vt8500_pwm_enable() argument 146 vt8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) vt8500_pwm_disable() argument 159 vt8500_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) vt8500_pwm_set_polarity() argument [all...] |
H A D | pwm-zx.c | 64 static void zx_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in zx_pwm_get_state() argument 97 static int zx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in zx_pwm_config() argument 150 zx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) zx_pwm_apply() argument [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | pwm-regulator.c | 29 struct pwm_device *pwm; member [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | Makefile | |
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | Makefile | |
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | lp8788_bl.c | 48 struct pwm_device *pwm; member 126 struct pwm_device *pwm; in lp8788_pwm_ctrl() local [all...] |
/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | pwm-bcm-kona.c | 101 static int kona_pwmc_config(struct pwm_chip *chip, struct pwm_device *pwm, in kona_pwmc_config() argument 157 static int kona_pwmc_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, in kona_pwmc_set_polarity() argument 189 static int kona_pwmc_enable(struct pwm_chip *chip, struct pwm_device *pwm) in kona_pwmc_enable() argument 203 static void kona_pwmc_disable(struct pwm_chip *chip, struct pwm_device *pwm) in kona_pwmc_disable() argument 225 static int kona_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm, in kona_pwmc_apply() argument [all...] |
H A D | pwm-brcmstb.c | 96 static int brcmstb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in brcmstb_pwm_config() argument 195 static int brcmstb_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in brcmstb_pwm_apply() argument [all...] |
H A D | pwm-berlin.c | 73 static int berlin_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in berlin_pwm_request() argument 84 static void berlin_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in berlin_pwm_free() argument 91 static int berlin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in berlin_pwm_config() argument 129 berlin_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) berlin_pwm_set_polarity() argument 148 berlin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) berlin_pwm_enable() argument 160 berlin_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) berlin_pwm_disable() argument 171 berlin_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) berlin_pwm_apply() argument [all...] |
H A D | pwm-atmel-hlcdc.c | 42 static int atmel_hlcdc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in atmel_hlcdc_pwm_apply() argument
|
H A D | pwm-bcm-iproc.c | 71 static int iproc_pwmc_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in iproc_pwmc_get_state() argument 114 static int iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm, in iproc_pwmc_apply() argument [all...] |
H A D | pwm-imx-tpm.c | 135 pwm_imx_tpm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) pwm_imx_tpm_get_state() argument 172 pwm_imx_tpm_apply_hw(struct pwm_chip *chip, struct imx_tpm_pwm_param *p, struct pwm_state *state, struct pwm_device *pwm) pwm_imx_tpm_apply_hw() argument 290 pwm_imx_tpm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_imx_tpm_apply() argument 310 pwm_imx_tpm_request(struct pwm_chip *chip, struct pwm_device *pwm) pwm_imx_tpm_request() argument 321 pwm_imx_tpm_free(struct pwm_chip *chip, struct pwm_device *pwm) pwm_imx_tpm_free() argument [all...] |
H A D | pwm-dwc.c | 70 static void __dwc_pwm_set_enable(struct dwc_pwm *dwc, int pwm, int enabled) in __dwc_pwm_set_enable() argument 84 __dwc_pwm_configure_timer(struct dwc_pwm *dwc, struct pwm_device *pwm, const struct pwm_state *state) __dwc_pwm_configure_timer() argument 144 dwc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) dwc_pwm_apply() argument 166 dwc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) dwc_pwm_get_state() argument [all...] |
H A D | pwm-hibvt.c | 83 static void hibvt_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in hibvt_pwm_enable() argument 91 static void hibvt_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in hibvt_pwm_disable() argument 99 static void hibvt_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in hibvt_pwm_config() argument 117 hibvt_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) hibvt_pwm_set_polarity() argument 131 hibvt_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) hibvt_pwm_get_state() argument 154 hibvt_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) hibvt_pwm_apply() argument [all...] |
H A D | pwm-microchip-core.c | 71 static void mchp_core_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, in mchp_core_pwm_enable() argument 151 static void mchp_core_pwm_apply_duty(struct pwm_chip *chip, struct pwm_device *pwm, in mchp_core_pwm_apply_duty() argument 274 mchp_core_pwm_apply_locked(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) mchp_core_pwm_apply_locked() argument 360 mchp_core_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) mchp_core_pwm_apply() argument 377 mchp_core_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) mchp_core_pwm_get_state() argument [all...] |
H A D | pwm-mtk-disp.c | 70 static int mtk_disp_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in mtk_disp_pwm_apply() argument 173 mtk_disp_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) mtk_disp_pwm_get_state() argument
|
H A D | pwm-lpss.c | 74 static inline u32 pwm_lpss_read(const struct pwm_device *pwm) in pwm_lpss_read() argument 81 static inline void pwm_lpss_write(const struct pwm_device *pwm, u32 value) in pwm_lpss_write() argument 88 static int pwm_lpss_wait_for_update(struct pwm_device *pwm) in pwm_lpss_wait_for_update() argument 114 pwm_lpss_is_updating(struct pwm_device *pwm) pwm_lpss_is_updating() argument 124 pwm_lpss_prepare(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm, int duty_ns, int period_ns) pwm_lpss_prepare() argument 159 pwm_lpss_cond_enable(struct pwm_device *pwm, bool cond) pwm_lpss_cond_enable() argument 165 pwm_lpss_prepare_enable(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm, const struct pwm_state *state) pwm_lpss_prepare_enable() argument 185 pwm_lpss_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_lpss_apply() argument 208 pwm_lpss_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) pwm_lpss_get_state() argument [all...] |
H A D | pwm-sifive.c | 60 static int pwm_sifive_request(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_sifive_request() argument 71 static void pwm_sifive_free(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_sifive_free() argument 109 static int pwm_sifive_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in pwm_sifive_get_state() argument 131 static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device *pwm, in pwm_sifive_apply() argument 319 struct pwm_device *pwm; in pwm_sifive_remove() local [all...] |
H A D | pwm-sprd.c | 69 static int sprd_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in sprd_pwm_get_state() argument 122 static int sprd_pwm_config(struct sprd_pwm_chip *spc, struct pwm_device *pwm, in sprd_pwm_config() argument 162 sprd_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) sprd_pwm_apply() argument [all...] |
H A D | pwm-spear.c | 77 static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in spear_pwm_config() argument 137 static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in spear_pwm_enable() argument 154 spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) spear_pwm_disable() argument 166 spear_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) spear_pwm_apply() argument [all...] |
H A D | pwm-stmpe.c | 39 static int stmpe_24xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in stmpe_24xx_pwm_enable() argument 98 static int stmpe_24xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in stmpe_24xx_pwm_config() argument 64 stmpe_24xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) stmpe_24xx_pwm_disable() argument 263 stmpe_24xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) stmpe_24xx_pwm_apply() argument [all...] |
H A D | sysfs.c | 19 struct pwm_device *pwm; member 40 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show() local 53 struct pwm_device *pwm = export->pwm; in period_store() local 75 const struct pwm_device *pwm in duty_cycle_show() local 88 struct pwm_device *pwm = export->pwm; duty_cycle_store() local 110 const struct pwm_device *pwm = child_to_pwm_device(child); enable_show() local 123 struct pwm_device *pwm = export->pwm; enable_store() local 158 const struct pwm_device *pwm = child_to_pwm_device(child); polarity_show() local 182 struct pwm_device *pwm = export->pwm; polarity_store() local 207 struct pwm_device *pwm = child_to_pwm_device(child); capture_show() local 232 ATTRIBUTE_GROUPS(pwm); global() variable 241 pwm_export_child(struct device *parent, struct pwm_device *pwm) pwm_export_child() argument 285 pwm_unexport_child(struct device *parent, struct pwm_device *pwm) pwm_unexport_child() argument 315 struct pwm_device *pwm; export_store() local 377 pwm_class_get_state(struct device *parent, struct pwm_device *pwm, struct pwm_state *state) pwm_class_get_state() argument 400 pwm_class_apply_state(struct pwm_export *export, struct pwm_device *pwm, struct pwm_state *state) pwm_class_apply_state() argument 419 struct pwm_device *pwm = &chip->pwms[i]; pwm_class_resume_npwm() local 450 struct pwm_device *pwm = &chip->pwms[i]; pwm_class_suspend() local 531 struct pwm_device *pwm = &chip->pwms[i]; pwmchip_sysfs_unexport() local [all...] |