Home
last modified time | relevance | path

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

/Zephyr-latest/samples/userspace/prod_consumer/src/
Dapp_a.c52 APP_A_BSS const struct device *sample_device; variable
95 ret = sample_driver_state_set(sample_device, true); in monitor_entry()
139 ret = sample_driver_state_set(sample_device, false); in monitor_entry()
170 sample_driver_write(sample_device, data); in writeback_entry()
200 sample_device = device_get_binding(SAMPLE_DRIVER_NAME_0); in app_a_entry()
201 if (sample_device == NULL) { in app_a_entry()
226 sample_driver_set_callback(sample_device, sample_callback, NULL); in app_a_entry()
242 sample_device); in app_a_entry()
253 k_thread_access_grant(k_current_get(), &mqueue, sample_device, in app_a_entry()
/Zephyr-latest/samples/boards/nordic/clock_control/src/
Dmain.c12 #if DT_NODE_EXISTS(DT_ALIAS(sample_device))
13 #define SAMPLE_CLOCK_NODE DT_CLOCKS_CTLR(DT_ALIAS(sample_device))