Searched refs:CONTAINER_OF (Results 1 – 5 of 5) sorted by relevance
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/ |
D | hal_spi_m_sync.c | 147 struct spi_m_sync_descriptor *spi = CONTAINER_OF(io, struct spi_m_sync_descriptor, io); in _spi_m_sync_io_read() 175 struct spi_m_sync_descriptor *spi = CONTAINER_OF(io, struct spi_m_sync_descriptor, io); in _spi_m_sync_io_write()
|
D | hal_i2c_m_sync.c | 47 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_read() 70 struct i2c_m_sync_desc *i2c = CONTAINER_OF(io, struct i2c_m_sync_desc, io); in i2c_m_sync_write()
|
D | hal_usart_sync.c | 249 struct usart_sync_descriptor *descr = CONTAINER_OF(io_descr, struct usart_sync_descriptor, io); in usart_sync_write() 275 struct usart_sync_descriptor *descr = CONTAINER_OF(io_descr, struct usart_sync_descriptor, io); in usart_sync_read()
|
D | hal_timer.c | 239 struct timer_descriptor *timer = CONTAINER_OF(device, struct timer_descriptor, device); in timer_process_counted()
|
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/utils/include/ |
D | utils.h | 60 #define CONTAINER_OF(ptr, type, field_name) ((type *)(((uint8_t *)ptr) - offsetof(type, field_name)… macro
|