Home
last modified time | relevance | path

Searched refs:pwm_state (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dpwm.h58 struct pwm_state { struct
86 struct pwm_state state;
87 struct pwm_state last;
96 struct pwm_state *state) in pwm_get_state()
103 struct pwm_state state; in pwm_is_enabled()
118 struct pwm_state state; in pwm_get_period()
133 struct pwm_state state; in pwm_get_duty_cycle()
142 struct pwm_state state; in pwm_get_polarity()
173 struct pwm_state *state) in pwm_init_state()
202 pwm_get_relative_duty_cycle(const struct pwm_state *state, unsigned int scale) in pwm_get_relative_duty_cycle()
[all …]
/kernel/linux/linux-5.10/drivers/pwm/
Dsysfs.c21 struct pwm_state suspend;
41 struct pwm_state state; in period_show()
54 struct pwm_state state; in period_store()
76 struct pwm_state state; in duty_cycle_show()
89 struct pwm_state state; in duty_cycle_store()
111 struct pwm_state state; in enable_show()
124 struct pwm_state state; in enable_store()
160 struct pwm_state state; in polarity_show()
184 struct pwm_state state; in polarity_store()
379 struct pwm_state *state) in pwm_class_get_state()
[all …]
Dpwm-imx-tpm.c89 struct pwm_state *real_state, in pwm_imx_tpm_round_state()
90 const struct pwm_state *state) in pwm_imx_tpm_round_state()
137 struct pwm_state *state) in pwm_imx_tpm_get_state()
172 struct pwm_state *state, in pwm_imx_tpm_apply_hw()
180 struct pwm_state c; in pwm_imx_tpm_apply_hw()
290 const struct pwm_state *state) in pwm_imx_tpm_apply()
294 struct pwm_state real_state; in pwm_imx_tpm_apply()
Dpwm-stm32-lp.c35 const struct pwm_state *state) in stm32_pwm_lp_apply()
39 struct pwm_state cstate; in stm32_pwm_lp_apply()
162 struct pwm_state *state) in stm32_pwm_lp_get_state()
234 struct pwm_state state; in stm32_pwm_lp_suspend()
Dpwm-atmel.c127 const struct pwm_state *state, in atmel_pwm_calculate_cprd_and_pres()
160 static void atmel_pwm_calculate_cdty(const struct pwm_state *state, in atmel_pwm_calculate_cdty()
236 const struct pwm_state *state) in atmel_pwm_apply()
239 struct pwm_state cstate; in atmel_pwm_apply()
299 struct pwm_state *state) in atmel_pwm_get_state()
Dpwm-sprd.c69 struct pwm_state *state) in sprd_pwm_get_state()
160 const struct pwm_state *state) in sprd_pwm_apply()
165 struct pwm_state *cstate = &pwm->state; in sprd_pwm_apply()
Dpwm-lpss.c125 const struct pwm_state *state) in pwm_lpss_prepare_enable()
144 const struct pwm_state *state) in pwm_lpss_apply()
167 struct pwm_state *state) in pwm_lpss_get_state()
Dpwm-zx.c65 struct pwm_state *state) in zx_pwm_get_state()
151 const struct pwm_state *state) in zx_pwm_apply()
154 struct pwm_state cstate; in zx_pwm_apply()
Dpwm-rockchip.c62 struct pwm_state *state) in rockchip_pwm_get_state()
97 const struct pwm_state *state) in rockchip_pwm_config()
181 const struct pwm_state *state) in rockchip_pwm_apply()
184 struct pwm_state curstate; in rockchip_pwm_apply()
Dpwm-crc.c55 const struct pwm_state *state) in crc_pwm_apply()
125 struct pwm_state *state) in crc_pwm_get_state()
Dpwm-imx27.c122 struct pwm_device *pwm, struct pwm_state *state) in pwm_imx27_get_state()
216 const struct pwm_state *state) in pwm_imx27_apply()
220 struct pwm_state cstate; in pwm_imx27_apply()
Dpwm-sifive.c109 struct pwm_state *state) in pwm_sifive_get_state()
148 const struct pwm_state *state) in pwm_sifive_apply()
151 struct pwm_state cur_state; in pwm_sifive_apply()
Dpwm-sun4i.c114 struct pwm_state *state) in sun4i_pwm_get_state()
169 const struct pwm_state *state, in sun4i_pwm_calculate()
232 const struct pwm_state *state) in sun4i_pwm_apply()
235 struct pwm_state cstate; in sun4i_pwm_apply()
Dpwm-sl28cpld.c92 struct pwm_state *state) in sl28cpld_pwm_get_state()
121 const struct pwm_state *state) in sl28cpld_pwm_apply()
Dpwm-iqs620a.c45 const struct pwm_state *state) in iqs620_pwm_apply()
113 struct pwm_state *state) in iqs620_pwm_get_state()
Dpwm-cros-ec.c116 const struct pwm_state *state) in cros_ec_pwm_apply()
143 struct pwm_state *state) in cros_ec_pwm_get_state()
Dpwm-atmel-hlcdc.c42 const struct pwm_state *state) in atmel_hlcdc_pwm_apply()
198 struct pwm_state state; in atmel_hlcdc_pwm_resume()
Dcore.c468 const struct pwm_state *state) in pwm_apply_state_debug()
470 struct pwm_state *last = &pwm->last; in pwm_apply_state_debug()
472 struct pwm_state s1, s2; in pwm_apply_state_debug()
573 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state()
696 struct pwm_state state; in pwm_adjust_config()
1275 struct pwm_state state; in pwm_dbg_show()
Dpwm-bcm-iproc.c82 struct pwm_state *state) in iproc_pwmc_get_state()
123 const struct pwm_state *state) in iproc_pwmc_apply()
Dpwm-meson.c162 const struct pwm_state *state) in meson_pwm_calc()
274 const struct pwm_state *state) in meson_pwm_apply()
337 struct pwm_state *state) in meson_pwm_get_state()
/kernel/linux/linux-5.10/include/trace/events/
Dpwm.h13 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state),
41 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state),
49 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state),
/kernel/linux/linux-5.10/drivers/regulator/
Dpwm-regulator.c57 struct pwm_state pwm_state; in pwm_regulator_init_state() local
61 pwm_get_state(drvdata->pwm, &pwm_state); in pwm_regulator_init_state()
62 dutycycle = pwm_get_relative_duty_cycle(&pwm_state, 100); in pwm_regulator_init_state()
86 struct pwm_state pstate; in pwm_regulator_set_voltage_sel()
154 struct pwm_state pstate; in pwm_regulator_get_voltage()
191 struct pwm_state pstate; in pwm_regulator_set_voltage()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dpwm_bl.c44 struct pwm_state state; in pwm_backlight_power_on()
69 struct pwm_state state; in pwm_backlight_power_off()
92 struct pwm_state state; in compute_duty_cycle()
112 struct pwm_state state; in pwm_backlight_update_status()
469 struct pwm_state state; in pwm_backlight_probe()
/kernel/linux/linux-5.10/drivers/input/misc/
Dpwm-beeper.c33 struct pwm_state state; in pwm_beeper_on()
126 struct pwm_state state; in pwm_beeper_probe()
Dpwm-vibra.c39 struct pwm_state state; in pwm_vibrator_start()
125 struct pwm_state state; in pwm_vibrator_probe()

12