Home
last modified time | relevance | path

Searched refs:pwm_waveform (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/pwm/
H A Dcore.c56 static bool pwm_wf_valid(const struct pwm_waveform *wf) in DEFINE_GUARD()
80 static void pwm_wf2state(const struct pwm_waveform *wf, struct pwm_state *state) in pwm_wf2state()
104 static void pwm_state2wf(const struct pwm_state *state, struct pwm_waveform *wf) in pwm_state2wf()
108 *wf = (struct pwm_waveform){ in pwm_state2wf()
114 *wf = (struct pwm_waveform){ in pwm_state2wf()
120 *wf = (struct pwm_waveform){ in pwm_state2wf()
126 static int pwmwfcmp(const struct pwm_waveform *a, const struct pwm_waveform *b) in pwmwfcmp()
149 static bool pwm_check_rounding(const struct pwm_waveform *wf, in pwm_check_rounding()
150 const struct pwm_waveform *wf_rounded) in pwm_check_rounding()
168 const struct pwm_waveform *wf, void *wfhw) in __pwm_round_waveform_tohw()
[all …]
H A Dpwm-argon-fan-hat.c23 const struct pwm_waveform *wf, in argon_fan_hat_round_waveform_tohw()
39 struct pwm_waveform *wf) in argon_fan_hat_round_waveform_fromhw()
H A Dpwm-axi-pwmgen.c73 const struct pwm_waveform *wf, in axi_pwmgen_round_waveform_tohw()
122 const void *_wfhw, struct pwm_waveform *wf) in axi_pwmgen_round_waveform_fromhw()
H A Dpwm-stm32.c64 const struct pwm_waveform *wf, in stm32_pwm_round_waveform_tohw()
213 struct pwm_waveform *wf) in stm32_pwm_round_waveform_fromhw()
241 *wf = (struct pwm_waveform){ in stm32_pwm_round_waveform_fromhw()
/linux/include/linux/
H A Dpwm.h72 struct pwm_waveform { struct
300 const struct pwm_waveform *wf, void *wfhw);
302 const void *wfhw, struct pwm_waveform *wf);
392 int pwm_round_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf);
393 int pwm_get_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf);
394 int pwm_set_waveform_might_sleep(struct pwm_device *pwm, const struct pwm_waveform *wf, bool exact);
/linux/include/trace/events/
H A Dpwm.h50 TP_PROTO_pwm(const struct pwm_waveform *wf, void *wfhw, int err),
72 TP_PROTO_pwm(const void *wfhw, struct pwm_waveform *wf, int err),