Lines Matching refs:pwm_waveform
56 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()
180 const void *wfhw, struct pwm_waveform *wf) in __pwm_round_waveform_fromhw()
244 int pwm_round_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf) in pwm_round_waveform_might_sleep()
248 struct pwm_waveform wf_req = *wf; in pwm_round_waveform_might_sleep()
303 int pwm_get_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf) in pwm_get_waveform_might_sleep()
330 const struct pwm_waveform *wf, in __pwm_set_waveform()
336 struct pwm_waveform wf_rounded; in __pwm_set_waveform()
378 struct pwm_waveform wf_set; in __pwm_set_waveform()
443 const struct pwm_waveform *wf, bool exact) in pwm_set_waveform_might_sleep()
650 struct pwm_waveform wf; in __pwm_apply()
680 struct pwm_waveform wf_rounded; in __pwm_apply()
811 struct pwm_waveform wf; in pwm_get_state_hw()
2256 struct pwm_waveform wf; in pwm_cdev_ioctl()
2272 wf = (struct pwm_waveform) { in pwm_cdev_ioctl()
2296 struct pwm_waveform wf; in pwm_cdev_ioctl()
2331 struct pwm_waveform wf; in pwm_cdev_ioctl()
2343 wf = (struct pwm_waveform){ in pwm_cdev_ioctl()