amlpwm_set_state
sc->sc_pd.pd_set_state = amlpwm_set_state;
int amlpwm_set_state(void *, uint32_t *, struct pwm_state *);