Searched refs:_ctx_name (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-2.7.6/drivers/adc/ |
D | adc_context.h | 63 #define ADC_CONTEXT_INIT_TIMER(_data, _ctx_name) \ argument 64 ._ctx_name.timer = Z_TIMER_INITIALIZER(_data._ctx_name.timer, \ 69 #define ADC_CONTEXT_INIT_LOCK(_data, _ctx_name) \ argument 70 ._ctx_name.lock = Z_SEM_INITIALIZER(_data._ctx_name.lock, 0, 1) 72 #define ADC_CONTEXT_INIT_SYNC(_data, _ctx_name) \ argument 73 ._ctx_name.sync = Z_SEM_INITIALIZER(_data._ctx_name.sync, 0, 1)
|
/Zephyr-Core-2.7.6/drivers/spi/ |
D | spi_context.h | 54 #define SPI_CONTEXT_INIT_LOCK(_data, _ctx_name) \ argument 55 ._ctx_name.lock = Z_SEM_INITIALIZER(_data._ctx_name.lock, 0, 1) 57 #define SPI_CONTEXT_INIT_SYNC(_data, _ctx_name) \ argument 58 ._ctx_name.sync = Z_SEM_INITIALIZER(_data._ctx_name.sync, 0, 1)
|