Lines Matching refs:compat
339 #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) argument
469 #define DT_COMPAT_GET_ANY_STATUS_OKAY(compat) \ argument
470 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
471 (DT_INST(0, compat)), \
3426 #define DT_FOREACH_STATUS_OKAY(compat, fn) \ argument
3427 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
3428 (UTIL_CAT(DT_FOREACH_OKAY_, compat)(fn)), \
3475 #define DT_FOREACH_STATUS_OKAY_VARGS(compat, fn, ...) \ argument
3476 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
3478 compat)(fn, __VA_ARGS__)), \
3493 #define DT_COMPAT_FOREACH_STATUS_OKAY_VARGS(compat, fn, ...) \ argument
3494 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
3496 compat)(fn, compat, __VA_ARGS__)), \
3671 #define DT_HAS_COMPAT_STATUS_OKAY(compat) \ argument
3672 IS_ENABLED(DT_CAT(DT_COMPAT_HAS_OKAY_, compat))
3680 #define DT_NUM_INST_STATUS_OKAY(compat) \ argument
3681 UTIL_AND(DT_HAS_COMPAT_STATUS_OKAY(compat), \
3682 UTIL_CAT(DT_N_INST, DT_DASH(compat, NUM_OKAY)))
3711 #define DT_NODE_HAS_COMPAT(node_id, compat) \ argument
3712 IS_ENABLED(DT_CAT3(node_id, _COMPAT_MATCHES_, compat))
3728 #define DT_NODE_HAS_COMPAT_STATUS(node_id, compat, status) \ argument
3729 UTIL_AND(DT_NODE_HAS_COMPAT(node_id, compat), DT_NODE_HAS_STATUS(node_id, status))
4698 #define DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(compat, bus) \ argument
4699 IS_ENABLED(DT_CAT4(DT_COMPAT_, compat, _BUS_, bus))
4827 #define DT_ANY_COMPAT_HAS_PROP_STATUS_OKAY(compat, prop) \ argument
4828 (DT_COMPAT_FOREACH_STATUS_OKAY_VARGS(compat, DT_COMPAT_NODE_HAS_PROP_AND_OR, prop) 0)
5076 #define DT_INST_NODE_HAS_COMPAT(inst, compat) \ argument
5077 DT_NODE_HAS_COMPAT(DT_DRV_INST(inst), compat)
5260 #define DT_COMPAT_NODE_HAS_PROP_AND_OR(inst, compat, prop) \ argument
5261 DT_NODE_HAS_PROP(DT_INST(inst, compat), prop) ||