Lines Matching refs:pwm_info
75 struct pwm_nxp_flexio_channel_config *pwm_info; member
100 struct pwm_nxp_flexio_channel_config *pwm_info; in pwm_nxp_flexio_set_cycles() local
131 pwm_info = &config->pulse_info->pwm_info[channel]; in pwm_nxp_flexio_set_cycles()
154 timerConfig.timerDecrement = pwm_info->prescaler; in pwm_nxp_flexio_set_cycles()
167 timerConfig.pinSelect = pwm_info->pin_id; in pwm_nxp_flexio_set_cycles()
173 if (FLEXIO_GetPinOverride(flexio_base, pwm_info->pin_id)) { in pwm_nxp_flexio_set_cycles()
174 FLEXIO_ConfigPinOverride(flexio_base, pwm_info->pin_id, false); in pwm_nxp_flexio_set_cycles()
186 struct pwm_nxp_flexio_channel_config *pwm_info; in pwm_nxp_flexio_get_cycles_per_sec() local
194 pwm_info = &config->pulse_info->pwm_info[channel]; in pwm_nxp_flexio_get_cycles_per_sec()
196 ((data->period_cycles[channel]) * (pwm_info->prescaler_div))); in pwm_nxp_flexio_get_cycles_per_sec()
208 struct pwm_nxp_flexio_channel_config *pwm_info; in mcux_flexio_pwm_init() local
232 pwm_info = &config->pulse_info->pwm_info[ch_id]; in mcux_flexio_pwm_init()
240 FLEXIO_SetPinLevel(flexio_base, pwm_info->pin_id, false); in mcux_flexio_pwm_init()
241 FLEXIO_ConfigPinOverride(flexio_base, pwm_info->pin_id, false); in mcux_flexio_pwm_init()
249 timerConfig.timerDecrement = pwm_info->prescaler; in mcux_flexio_pwm_init()
267 timerConfig.pinSelect = pwm_info->pin_id; in mcux_flexio_pwm_init()
293 .pwm_info = flexio_pwm_##n##_init, \