Searched refs:_ctx_name (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/adc/ |
D | adc_context.h | 76 #define ADC_CONTEXT_INIT_TIMER(_data, _ctx_name) \ argument 77 ._ctx_name.timer = Z_TIMER_INITIALIZER(_data._ctx_name.timer, \ 82 #define ADC_CONTEXT_INIT_LOCK(_data, _ctx_name) \ argument 83 ._ctx_name.lock = Z_SEM_INITIALIZER(_data._ctx_name.lock, 0, 1) 85 #define ADC_CONTEXT_INIT_SYNC(_data, _ctx_name) \ argument 86 ._ctx_name.sync = Z_SEM_INITIALIZER(_data._ctx_name.sync, 0, 1)
|
/Zephyr-latest/drivers/spi/ |
D | spi_context.h | 58 #define SPI_CONTEXT_INIT_LOCK(_data, _ctx_name) \ argument 59 ._ctx_name.lock = Z_SEM_INITIALIZER(_data._ctx_name.lock, 0, 1) 61 #define SPI_CONTEXT_INIT_SYNC(_data, _ctx_name) \ argument 62 ._ctx_name.sync = Z_SEM_INITIALIZER(_data._ctx_name.sync, 0, 1) 71 #define SPI_CONTEXT_CS_GPIOS_INITIALIZE(_node_id, _ctx_name) \ argument 72 ._ctx_name.cs_gpios = (const struct gpio_dt_spec []) { \ 76 ._ctx_name.num_cs_gpios = DT_PROP_LEN_OR(_node_id, cs_gpios, 0),
|