Lines Matching refs:part
16 #define FLASH_AREA_FOO(part) \ argument
17 {.fa_id = DT_FIXED_PARTITION_ID(part), \
18 .fa_off = DT_REG_ADDR(part), \
19 .fa_dev = DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(part)), \
20 .fa_size = DT_REG_SIZE(part), \
21 .fa_label = DT_PROP_OR(part, label, NULL), },
23 #define FLASH_AREA_FOO(part) \ argument
24 {.fa_id = DT_FIXED_PARTITION_ID(part), \
25 .fa_off = DT_REG_ADDR(part), \
26 .fa_dev = DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(part)), \
27 .fa_size = DT_REG_SIZE(part), },
30 #define FLASH_AREA_FOOO(part) \ argument
31 COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(DT_MTD_FROM_FIXED_PARTITION(part)), \
32 (FLASH_AREA_FOO(part)), ())
50 #define DEFINE_PARTITION(part) DEFINE_PARTITION_1(part, DT_DEP_ORD(part)) argument
51 #define DEFINE_PARTITION_1(part, ord) \ argument
52 COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(DT_MTD_FROM_FIXED_PARTITION(part)), \
53 (DEFINE_PARTITION_0(part, ord)), ())
54 #define DEFINE_PARTITION_0(part, ord) \ argument
56 .fa_id = DT_FIXED_PARTITION_ID(part), \
57 .fa_off = DT_REG_ADDR(part), \
58 .fa_dev = DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(part)), \
59 .fa_size = DT_REG_SIZE(part), \