Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_dw.h150 #define DEFINE_SET_BIT_OP(__reg_bit, __reg_off, __bit) \ argument
153 Z_REG_SET_BIT(addr + __reg_off, __bit); \
156 #define DEFINE_CLEAR_BIT_OP(__reg_bit, __reg_off, __bit) \ argument
159 Z_REG_CLEAR_BIT(addr + __reg_off, __bit); \
162 #define DEFINE_TEST_BIT_OP(__reg_bit, __reg_off, __bit) \ argument
165 return Z_REG_TEST_BIT(addr + __reg_off, __bit); \
/Zephyr-latest/drivers/spi/
Dspi_dw.h158 #define DEFINE_SET_BIT_OP(__reg_bit, __reg_off, __bit) \ argument
162 info->set_bit_func(__bit, (mm_reg_t)DEVICE_MMIO_GET(dev), __reg_off); \
165 #define DEFINE_CLEAR_BIT_OP(__reg_bit, __reg_off, __bit) \ argument
169 info->clear_bit_func(__bit, (mm_reg_t)DEVICE_MMIO_GET(dev), __reg_off); \
172 #define DEFINE_TEST_BIT_OP(__reg_bit, __reg_off, __bit) \ argument
176 return info->test_bit_func(__bit, (mm_reg_t)DEVICE_MMIO_GET(dev), __reg_off); \