Lines Matching refs:ledc_spinlock
51 static portMUX_TYPE ledc_spinlock = portMUX_INITIALIZER_UNLOCKED; variable
118 portENTER_CRITICAL(&ledc_spinlock); in ledc_enable_intr_type()
124 portEXIT_CRITICAL(&ledc_spinlock); in ledc_enable_intr_type()
175 portENTER_CRITICAL(&ledc_spinlock); in ledc_timer_set()
180 portEXIT_CRITICAL(&ledc_spinlock); in ledc_timer_set()
187 portENTER_CRITICAL_SAFE(&ledc_spinlock); in ledc_duty_config()
199 portEXIT_CRITICAL_SAFE(&ledc_spinlock); in ledc_duty_config()
208 portENTER_CRITICAL(&ledc_spinlock); in ledc_bind_channel_timer()
211 portEXIT_CRITICAL(&ledc_spinlock); in ledc_bind_channel_timer()
220 portENTER_CRITICAL(&ledc_spinlock); in ledc_timer_rst()
223 portEXIT_CRITICAL(&ledc_spinlock); in ledc_timer_rst()
232 portENTER_CRITICAL(&ledc_spinlock); in ledc_timer_pause()
235 portEXIT_CRITICAL(&ledc_spinlock); in ledc_timer_pause()
244 portENTER_CRITICAL(&ledc_spinlock); in ledc_timer_resume()
247 portEXIT_CRITICAL(&ledc_spinlock); in ledc_timer_resume()
255 portENTER_CRITICAL(&ledc_spinlock); in ledc_isr_register()
257 portEXIT_CRITICAL(&ledc_spinlock); in ledc_isr_register()
300 portENTER_CRITICAL(&ledc_spinlock); in ledc_set_timer_div()
302 portEXIT_CRITICAL(&ledc_spinlock); in ledc_set_timer_div()
410 portENTER_CRITICAL(&ledc_spinlock); in ledc_update_duty()
414 portEXIT_CRITICAL(&ledc_spinlock); in ledc_update_duty()
423 portENTER_CRITICAL(&ledc_spinlock); in ledc_stop()
428 portEXIT_CRITICAL(&ledc_spinlock); in ledc_stop()
534 portENTER_CRITICAL(&ledc_spinlock); in ledc_get_freq()
543 portEXIT_CRITICAL(&ledc_spinlock); in ledc_get_freq()
571 portENTER_CRITICAL_ISR(&ledc_spinlock); in ledc_fade_isr()
573 portEXIT_CRITICAL_ISR(&ledc_spinlock); in ledc_fade_isr()
623 portENTER_CRITICAL_ISR(&ledc_spinlock); in ledc_fade_isr()
625 portEXIT_CRITICAL_ISR(&ledc_spinlock); in ledc_fade_isr()
685 portENTER_CRITICAL(&ledc_spinlock); in _ledc_set_fade_with_step()
711 portEXIT_CRITICAL(&ledc_spinlock); in _ledc_set_fade_with_step()