Searched refs:clk_ref (Results 1 – 2 of 2) sorted by relevance
32 atomic_t clk_ref; variable73 atomic_set(&clk_ref, 0); in s5p_mfc_init_pm()101 atomic_inc(&clk_ref); in s5p_mfc_clock_on()102 mfc_debug(3, "+ %d", atomic_read(&clk_ref)); in s5p_mfc_clock_on()111 atomic_dec(&clk_ref); in s5p_mfc_clock_off()112 mfc_debug(3, "- %d", atomic_read(&clk_ref)); in s5p_mfc_clock_off()
63 atomic_t clk_ref; member88 if (atomic_inc_return(&adc->clk_ref) == 1) in jz4740_adc_clk_enable()94 if (atomic_dec_return(&adc->clk_ref) == 0) in jz4740_adc_clk_disable()265 atomic_set(&adc->clk_ref, 0); in jz4740_adc_probe()