Home
last modified time | relevance | path

Searched defs:pwm (Results 76 - 100 of 305) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/drivers/input/misc/
H A Dmax8997_haptic.c44 struct pwm_device *pwm; member
[all...]
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-tlc591xx.c103 u8 pwm = TLC591XX_REG_PWM(led->led_no); in tlc591xx_set_pwm() local
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dtc654.c369 int pwm; in pwm_show() local
H A Dpwm-fan.c27 struct pwm_device *pwm; member
72 static int __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in __set_pwm() argument
95 pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm) pwm_fan_update_state() argument
110 unsigned long pwm; pwm_store() local
[all...]
H A Dmlxreg-fan.c105 struct mlxreg_fan_pwm pwm; member
[all...]
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dlp8788_bl.c48 struct pwm_device *pwm; member
126 struct pwm_device *pwm; in lp8788_pwm_ctrl() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-atmel-tcb.c130 static void atmel_tcb_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in atmel_tcb_pwm_free() argument
61 atmel_tcb_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) atmel_tcb_pwm_set_polarity() argument
72 atmel_tcb_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) atmel_tcb_pwm_request() argument
141 atmel_tcb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) atmel_tcb_pwm_disable() argument
200 atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) atmel_tcb_pwm_enable() argument
283 atmel_tcb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, int period_ns) atmel_tcb_pwm_config() argument
[all...]
H A Dpwm-bcm-kona.c111 static int kona_pwmc_config(struct pwm_chip *chip, struct pwm_device *pwm, in kona_pwmc_config() argument
176 static int kona_pwmc_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, in kona_pwmc_set_polarity() argument
208 static int kona_pwmc_enable(struct pwm_chip *chip, struct pwm_device *pwm) in kona_pwmc_enable() argument
229 kona_pwmc_disable(struct pwm_chip *chip, struct pwm_device *pwm) kona_pwmc_disable() argument
[all...]
H A Dpwm-brcmstb.c97 static int brcmstb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in brcmstb_pwm_config() argument
205 static int brcmstb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in brcmstb_pwm_enable() argument
214 static void brcmstb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in brcmstb_pwm_disable() argument
[all...]
H A Dpwm-berlin.c72 static int berlin_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in berlin_pwm_request() argument
83 static void berlin_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in berlin_pwm_free() argument
93 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); in berlin_pwm_config() local
132 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); berlin_pwm_set_polarity() local
149 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); berlin_pwm_enable() local
162 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); berlin_pwm_disable() local
188 struct berlin_pwm_chip *pwm; berlin_pwm_probe() local
230 struct berlin_pwm_chip *pwm = platform_get_drvdata(pdev); berlin_pwm_remove() local
242 struct berlin_pwm_chip *pwm = dev_get_drvdata(dev); berlin_pwm_suspend() local
265 struct berlin_pwm_chip *pwm = dev_get_drvdata(dev); berlin_pwm_resume() local
[all...]
H A Dpwm-bcm-iproc.c81 static void iproc_pwmc_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in iproc_pwmc_get_state() argument
122 static int iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm, in iproc_pwmc_apply() argument
[all...]
H A Dpwm-imx-tpm.c135 pwm_imx_tpm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) pwm_imx_tpm_get_state() argument
170 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
288 pwm_imx_tpm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_imx_tpm_apply() argument
308 pwm_imx_tpm_request(struct pwm_chip *chip, struct pwm_device *pwm) pwm_imx_tpm_request() argument
319 pwm_imx_tpm_free(struct pwm_chip *chip, struct pwm_device *pwm) pwm_imx_tpm_free() argument
[all...]
H A Dpwm-img.c92 static int img_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in img_pwm_config() argument
153 static int img_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in img_pwm_enable() argument
174 img_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) img_pwm_disable() argument
244 struct img_pwm_chip *pwm; img_pwm_probe() local
[all...]
H A Dpwm-hibvt.c83 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
152 hibvt_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) hibvt_pwm_apply() argument
[all...]
H A Dpwm-mediatek.c121 static int pwm_mediatek_config(struct pwm_chip *chip, struct pwm_device *pwm, in pwm_mediatek_config() argument
70 pwm_mediatek_clk_enable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_mediatek_clk_enable() argument
98 pwm_mediatek_clk_disable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_mediatek_clk_disable() argument
172 pwm_mediatek_enable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_mediatek_enable() argument
189 pwm_mediatek_disable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_mediatek_disable() argument
[all...]
H A Dpwm-lp3943.c61 static int lp3943_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in lp3943_pwm_request() argument
87 static void lp3943_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in lp3943_pwm_free() argument
95 static int lp3943_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in lp3943_pwm_config() argument
154 static int lp3943_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in lp3943_pwm_enable() argument
173 lp3943_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) lp3943_pwm_disable() argument
[all...]
H A Dpwm-omap-dmtimer.c151 pwm_omap_dmtimer_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, int period_ns) pwm_omap_dmtimer_config() argument
246 pwm_omap_dmtimer_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) pwm_omap_dmtimer_set_polarity() argument
275 pwm_omap_dmtimer_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_omap_dmtimer_apply() argument
[all...]
H A Dpwm-rockchip.c96 static void rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in rockchip_pwm_config() argument
180 static int rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in rockchip_pwm_apply() argument
60 rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) rockchip_pwm_get_state() argument
150 rockchip_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, bool enable) rockchip_pwm_enable() argument
[all...]
H A Dpwm-rcar.c133 static int rcar_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in rcar_pwm_request() argument
138 static void rcar_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in rcar_pwm_free() argument
163 static int rcar_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in rcar_pwm_apply() argument
H A Dpwm-mtk-disp.c69 static int mtk_disp_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in mtk_disp_pwm_config() argument
152 static int mtk_disp_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in mtk_disp_pwm_enable() argument
176 static void mtk_disp_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in mtk_disp_pwm_disable() argument
H A Dpwm-sifive.c59 static int pwm_sifive_request(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_sifive_request() argument
70 static void pwm_sifive_free(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_sifive_free() argument
108 static void pwm_sifive_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in pwm_sifive_get_state() argument
147 static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device *pwm, in pwm_sifive_apply() argument
337 struct pwm_device *pwm; in pwm_sifive_remove() local
[all...]
H A Dpwm-sprd.c68 static void sprd_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in sprd_pwm_get_state() argument
119 static int sprd_pwm_config(struct sprd_pwm_chip *spc, struct pwm_device *pwm, in sprd_pwm_config() argument
159 sprd_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) sprd_pwm_apply() argument
[all...]
H A Dpwm-spear.c77 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
[all...]
H A Dsysfs.c19 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
532 struct pwm_device *pwm = &chip->pwms[i]; pwmchip_sysfs_unexport() local
[all...]
H A Dpwm-tegra.c95 static int tegra_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in tegra_pwm_config() argument
201 static int tegra_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in tegra_pwm_enable() argument
218 tegra_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) tegra_pwm_disable() argument
239 struct tegra_pwm_chip *pwm; tegra_pwm_probe() local
[all...]

Completed in 13 milliseconds

12345678910>>...13