Lines Matching refs:prop
752 #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop) argument
786 #define DT_PROP_LEN(node_id, prop) DT_CAT4(node_id, _P_, prop, _LEN) argument
802 #define DT_PROP_LEN_OR(node_id, prop, default_value) \ argument
803 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
804 (DT_PROP_LEN(node_id, prop)), (default_value))
826 #define DT_PROP_HAS_IDX(node_id, prop, idx) \ argument
827 IS_ENABLED(DT_CAT6(node_id, _P_, prop, _IDX_, idx, _EXISTS))
861 #define DT_PROP_HAS_NAME(node_id, prop, name) \ argument
862 IS_ENABLED(DT_CAT6(node_id, _P_, prop, _NAME_, name, _EXISTS))
898 #define DT_PROP_BY_IDX(node_id, prop, idx) \ argument
899 DT_CAT5(node_id, _P_, prop, _IDX_, idx)
909 #define DT_PROP_LAST(node_id, prop) \ argument
910 DT_PROP_BY_IDX(node_id, prop, UTIL_DEC(DT_PROP_LEN(node_id, prop)))
925 #define DT_PROP_OR(node_id, prop, default_value) \ argument
926 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
927 (DT_PROP(node_id, prop)), (default_value))
984 #define DT_ENUM_IDX_BY_IDX(node_id, prop, idx) \ argument
985 DT_CAT6(node_id, _P_, prop, _IDX_, idx, _ENUM_IDX)
993 #define DT_ENUM_IDX(node_id, prop) DT_ENUM_IDX_BY_IDX(node_id, prop, 0) argument
1010 #define DT_ENUM_IDX_BY_IDX_OR(node_id, prop, idx, default_idx_value) \ argument
1011 COND_CODE_1(DT_PROP_HAS_IDX(node_id, prop, idx), \
1012 (DT_ENUM_IDX_BY_IDX(node_id, prop, idx)), (default_idx_value))
1022 #define DT_ENUM_IDX_OR(node_id, prop, default_idx_value) \ argument
1023 DT_ENUM_IDX_BY_IDX_OR(node_id, prop, 0, default_idx_value)
1034 #define DT_ENUM_HAS_VALUE_BY_IDX(node_id, prop, idx, value) \ argument
1035 IS_ENABLED(DT_CAT8(node_id, _P_, prop, _IDX_, idx, _ENUM_VAL_, value, _EXISTS))
1044 #define DT_ENUM_HAS_VALUE(node_id, prop, value) \ argument
1045 DT_ENUM_HAS_VALUE_BY_IDX(node_id, prop, 0, value)
1106 #define DT_STRING_TOKEN(node_id, prop) \ argument
1107 DT_CAT4(node_id, _P_, prop, _STRING_TOKEN)
1122 #define DT_STRING_TOKEN_OR(node_id, prop, default_value) \ argument
1123 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
1124 (DT_STRING_TOKEN(node_id, prop)), (default_value))
1183 #define DT_STRING_UPPER_TOKEN(node_id, prop) \ argument
1184 DT_CAT4(node_id, _P_, prop, _STRING_UPPER_TOKEN)
1200 #define DT_STRING_UPPER_TOKEN_OR(node_id, prop, default_value) \ argument
1201 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
1202 (DT_STRING_UPPER_TOKEN(node_id, prop)), (default_value))
1244 #define DT_STRING_UNQUOTED(node_id, prop) \ argument
1245 DT_CAT4(node_id, _P_, prop, _STRING_UNQUOTED)
1261 #define DT_STRING_UNQUOTED_OR(node_id, prop, default_value) \ argument
1262 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
1263 (DT_STRING_UNQUOTED(node_id, prop)), (default_value))
1312 #define DT_STRING_TOKEN_BY_IDX(node_id, prop, idx) \ argument
1313 DT_CAT6(node_id, _P_, prop, _IDX_, idx, _STRING_TOKEN)
1362 #define DT_STRING_UPPER_TOKEN_BY_IDX(node_id, prop, idx) \ argument
1363 DT_CAT6(node_id, _P_, prop, _IDX_, idx, _STRING_UPPER_TOKEN)
1405 #define DT_STRING_UNQUOTED_BY_IDX(node_id, prop, idx) \ argument
1406 DT_CAT6(node_id, _P_, prop, _IDX_, idx, _STRING_UNQUOTED)
1461 #define DT_PROP_BY_PHANDLE_IDX(node_id, phs, idx, prop) \ argument
1462 DT_PROP(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop)
1483 #define DT_PROP_BY_PHANDLE_IDX_OR(node_id, phs, idx, prop, default_value) \ argument
1484 DT_PROP_OR(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop, default_value)
1497 #define DT_PROP_BY_PHANDLE(node_id, ph, prop) \ argument
1498 DT_PROP_BY_PHANDLE_IDX(node_id, ph, 0, prop)
1775 #define DT_PHANDLE_BY_IDX(node_id, prop, idx) \ argument
1776 DT_CAT6(node_id, _P_, prop, _IDX_, idx, _PH)
1789 #define DT_PHANDLE(node_id, prop) DT_PHANDLE_BY_IDX(node_id, prop, 0) argument
2904 #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop) argument
2912 #define DT_HAS_CHOSEN(prop) IS_ENABLED(DT_CAT3(DT_CHOSEN_, prop, _EXISTS)) argument
3282 #define DT_FOREACH_PROP_ELEM(node_id, prop, fn) \ argument
3283 DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM)(fn)
3327 #define DT_FOREACH_PROP_ELEM_SEP(node_id, prop, fn, sep) \ argument
3328 DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_SEP)(fn, sep)
3350 #define DT_FOREACH_PROP_ELEM_VARGS(node_id, prop, fn, ...) \ argument
3351 DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_VARGS)(fn, __VA_ARGS__)
3369 #define DT_FOREACH_PROP_ELEM_SEP_VARGS(node_id, prop, fn, sep, ...) \ argument
3370 DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_SEP_VARGS)( \
3744 #define DT_NODE_HAS_PROP(node_id, prop) \ argument
3745 IS_ENABLED(DT_CAT4(node_id, _P_, prop, _EXISTS))
4084 #define DT_INST_ENUM_IDX_BY_IDX(inst, prop, idx) \ argument
4085 DT_ENUM_IDX_BY_IDX(DT_DRV_INST(inst), prop, idx)
4093 #define DT_INST_ENUM_IDX(inst, prop) \ argument
4094 DT_ENUM_IDX(DT_DRV_INST(inst), prop)
4105 #define DT_INST_ENUM_IDX_BY_IDX_OR(inst, prop, idx, default_idx_value) \ argument
4106 DT_ENUM_IDX_BY_IDX_OR(DT_DRV_INST(inst), prop, idx, default_idx_value)
4116 #define DT_INST_ENUM_IDX_OR(inst, prop, default_idx_value) \ argument
4117 DT_ENUM_IDX_OR(DT_DRV_INST(inst), prop, default_idx_value)
4127 #define DT_INST_ENUM_HAS_VALUE_BY_IDX(inst, prop, idx, value) \ argument
4128 DT_ENUM_HAS_VALUE_BY_IDX(DT_DRV_INST(inst), prop, idx, value)
4138 #define DT_INST_ENUM_HAS_VALUE(inst, prop, value) \ argument
4139 DT_ENUM_HAS_VALUE(DT_DRV_INST(inst), prop, value)
4147 #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) argument
4155 #define DT_INST_PROP_LEN(inst, prop) DT_PROP_LEN(DT_DRV_INST(inst), prop) argument
4166 #define DT_INST_PROP_HAS_IDX(inst, prop, idx) \ argument
4167 DT_PROP_HAS_IDX(DT_DRV_INST(inst), prop, idx)
4177 #define DT_INST_PROP_HAS_NAME(inst, prop, name) \ argument
4178 DT_PROP_HAS_NAME(DT_DRV_INST(inst), prop, name)
4187 #define DT_INST_PROP_BY_IDX(inst, prop, idx) \ argument
4188 DT_PROP_BY_IDX(DT_DRV_INST(inst), prop, idx)
4197 #define DT_INST_PROP_OR(inst, prop, default_value) \ argument
4198 DT_PROP_OR(DT_DRV_INST(inst), prop, default_value)
4207 #define DT_INST_PROP_LEN_OR(inst, prop, default_value) \ argument
4208 DT_PROP_LEN_OR(DT_DRV_INST(inst), prop, default_value)
4219 #define DT_INST_STRING_TOKEN(inst, prop) \ argument
4220 DT_STRING_TOKEN(DT_DRV_INST(inst), prop)
4229 #define DT_INST_STRING_UPPER_TOKEN(inst, prop) \ argument
4230 DT_STRING_UPPER_TOKEN(DT_DRV_INST(inst), prop)
4240 #define DT_INST_STRING_UNQUOTED(inst, prop) \ argument
4241 DT_STRING_UNQUOTED(DT_DRV_INST(inst), prop)
4250 #define DT_INST_STRING_TOKEN_BY_IDX(inst, prop, idx) \ argument
4251 DT_STRING_TOKEN_BY_IDX(DT_DRV_INST(inst), prop, idx)
4260 #define DT_INST_STRING_UPPER_TOKEN_BY_IDX(inst, prop, idx) \ argument
4261 DT_STRING_UPPER_TOKEN_BY_IDX(DT_DRV_INST(inst), prop, idx)
4270 #define DT_INST_STRING_UNQUOTED_BY_IDX(inst, prop, idx) \ argument
4271 DT_STRING_UNQUOTED_BY_IDX(DT_DRV_INST(inst), prop, idx)
4281 #define DT_INST_PROP_BY_PHANDLE(inst, ph, prop) \ argument
4282 DT_INST_PROP_BY_PHANDLE_IDX(inst, ph, 0, prop)
4295 #define DT_INST_PROP_BY_PHANDLE_IDX(inst, phs, idx, prop) \ argument
4296 DT_PROP_BY_PHANDLE_IDX(DT_DRV_INST(inst), phs, idx, prop)
4386 #define DT_INST_PHANDLE_BY_IDX(inst, prop, idx) \ argument
4387 DT_PHANDLE_BY_IDX(DT_DRV_INST(inst), prop, idx)
4397 #define DT_INST_PHANDLE(inst, prop) DT_INST_PHANDLE_BY_IDX(inst, prop, 0) argument
4780 #define DT_ANY_INST_HAS_PROP_STATUS_OKAY(prop) \ argument
4781 COND_CODE_1(IS_EMPTY(DT_ANY_INST_HAS_PROP_STATUS_OKAY_(prop)), (0), (1))
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)
4877 #define DT_ANY_INST_HAS_BOOL_STATUS_OKAY(prop) \ argument
4878 COND_CODE_1(IS_EMPTY(DT_ANY_INST_HAS_BOOL_STATUS_OKAY_(prop)), (0), (1))
5005 #define DT_INST_FOREACH_PROP_ELEM(inst, prop, fn) \ argument
5006 DT_FOREACH_PROP_ELEM(DT_DRV_INST(inst), prop, fn)
5020 #define DT_INST_FOREACH_PROP_ELEM_SEP(inst, prop, fn, sep) \ argument
5021 DT_FOREACH_PROP_ELEM_SEP(DT_DRV_INST(inst), prop, fn, sep)
5037 #define DT_INST_FOREACH_PROP_ELEM_VARGS(inst, prop, fn, ...) \ argument
5038 DT_FOREACH_PROP_ELEM_VARGS(DT_DRV_INST(inst), prop, fn, __VA_ARGS__)
5057 #define DT_INST_FOREACH_PROP_ELEM_SEP_VARGS(inst, prop, fn, sep, ...) \ argument
5058 DT_FOREACH_PROP_ELEM_SEP_VARGS(DT_DRV_INST(inst), prop, fn, sep, \
5067 #define DT_INST_NODE_HAS_PROP(inst, prop) \ argument
5068 DT_NODE_HAS_PROP(DT_DRV_INST(inst), prop)
5160 #define DT_ANY_INST_HAS_PROP_STATUS_OKAY__(idx, prop) \ argument
5161 COND_CODE_1(DT_INST_NODE_HAS_PROP(idx, prop), (1,), ())
5174 #define DT_ANY_INST_HAS_PROP_STATUS_OKAY_(prop) \ argument
5175 DT_INST_FOREACH_STATUS_OKAY_VARGS(DT_ANY_INST_HAS_PROP_STATUS_OKAY__, prop)
5189 #define DT_ANY_INST_HAS_BOOL_STATUS_OKAY__(idx, prop) \ argument
5190 COND_CODE_1(DT_INST_PROP(idx, prop), (1,), ())
5203 #define DT_ANY_INST_HAS_BOOL_STATUS_OKAY_(prop) \ argument
5204 DT_INST_FOREACH_STATUS_OKAY_VARGS(DT_ANY_INST_HAS_BOOL_STATUS_OKAY__, prop)
5260 #define DT_COMPAT_NODE_HAS_PROP_AND_OR(inst, compat, prop) \ argument
5261 DT_NODE_HAS_PROP(DT_INST(inst, compat), prop) ||