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