Searched refs:pwm_channel_cfg (Results 1 – 1 of 1) sorted by relevance
44 struct pwm_siwx91x_channel_config pwm_channel_cfg[PWM_CHANNELS]; member114 if (channel >= ARRAY_SIZE(data->pwm_channel_cfg)) { in pwm_siwx91x_set_cycles()123 if (data->pwm_channel_cfg[channel].is_chan_active == false) { in pwm_siwx91x_set_cycles()148 if (duty_cycle != data->pwm_channel_cfg[channel].duty_cycle) { in pwm_siwx91x_set_cycles()153 data->pwm_channel_cfg[channel].duty_cycle = duty_cycle; in pwm_siwx91x_set_cycles()156 if (data->pwm_channel_cfg[channel].is_chan_active == false) { in pwm_siwx91x_set_cycles()162 data->pwm_channel_cfg[channel].is_chan_active = true; in pwm_siwx91x_set_cycles()173 if (channel >= ARRAY_SIZE(data->pwm_channel_cfg)) { in pwm_siwx91x_get_cycles_per_sec()177 *cycles = (uint64_t)data->pwm_channel_cfg[channel].frequency; in pwm_siwx91x_get_cycles_per_sec()205 ARRAY_FOR_EACH(data->pwm_channel_cfg, i) { in pwm_siwx91x_init()[all …]