Home
last modified time | relevance | path

Searched refs:SAMPLE_FUNCTION_ENABLED (Results 1 – 2 of 2) sorted by relevance

/Zephyr-4.3.0/samples/subsys/usb/webusb/src/
Dsfunc.c33 #define SAMPLE_FUNCTION_ENABLED 0 macro
79 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()
/Zephyr-4.3.0/subsys/dap/
Ddap_backend_usb.c36 #define SAMPLE_FUNCTION_ENABLED 0 macro
83 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()