Searched refs:SAMPLE_FUNCTION_ENABLED (Results 1 – 2 of 2) sorted by relevance
33 #define SAMPLE_FUNCTION_ENABLED 0 macro79 if (atomic_test_bit(&data->state, SAMPLE_FUNCTION_ENABLED) && err == 0) { in sfunc_request_handler()149 if (!atomic_test_and_set_bit(&data->state, SAMPLE_FUNCTION_ENABLED)) { in sfunc_enable()167 atomic_clear_bit(&data->state, SAMPLE_FUNCTION_ENABLED); in sfunc_disable()
36 #define SAMPLE_FUNCTION_ENABLED 0 macro83 if (atomic_test_bit(&data->state, SAMPLE_FUNCTION_ENABLED) && err == 0) { in dap_func_request_handler()160 if (!atomic_test_and_set_bit(&data->state, SAMPLE_FUNCTION_ENABLED)) { in dap_func_enable()184 atomic_clear_bit(&data->state, SAMPLE_FUNCTION_ENABLED); in dap_func_disable()