Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/eeprom/
Deeprom_at2x.c616 #define INST_DT_AT2X(inst, t) DT_INST(inst, atmel_at##t) macro
619 { .i2c = I2C_DT_SPEC_GET(INST_DT_AT2X(n, t)) }
622 { .spi = SPI_DT_SPEC_GET(INST_DT_AT2X(n, t), \
631 ASSERT_PAGESIZE_IS_POWER_OF_2(DT_PROP(INST_DT_AT2X(n, t), pagesize)); \
632 ASSERT_SIZE_PAGESIZE_VALID(DT_PROP(INST_DT_AT2X(n, t), size), \
633 DT_PROP(INST_DT_AT2X(n, t), pagesize)); \
634 ASSERT_AT##t##_ADDR_W_VALID(DT_PROP(INST_DT_AT2X(n, t), \
638 EEPROM_AT2X_WP_GPIOS(INST_DT_AT2X(n, t)) \
639 .size = DT_PROP(INST_DT_AT2X(n, t), size), \
640 .pagesize = DT_PROP(INST_DT_AT2X(n, t), pagesize), \
[all …]