Lines Matching refs:INST_DT_AT2X
616 #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), \
641 .addr_width = DT_PROP(INST_DT_AT2X(n, t), address_width), \
642 .readonly = DT_PROP(INST_DT_AT2X(n, t), read_only), \
643 .timeout = DT_PROP(INST_DT_AT2X(n, t), timeout), \
649 DEVICE_DT_DEFINE(INST_DT_AT2X(n, t), eeprom_at2x_init, \