Lines Matching refs:inst
339 #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) argument
3869 #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) argument
3878 #define DT_INST_PARENT(inst) DT_PARENT(DT_DRV_INST(inst)) argument
3887 #define DT_INST_GPARENT(inst) DT_GPARENT(DT_DRV_INST(inst)) argument
3898 #define DT_INST_CHILD(inst, child) \ argument
3899 DT_CHILD(DT_DRV_INST(inst), child)
3910 #define DT_INST_CHILD_NUM(inst) DT_CHILD_NUM(DT_DRV_INST(inst)) argument
3921 #define DT_INST_CHILD_NUM_STATUS_OKAY(inst) \ argument
3922 DT_CHILD_NUM_STATUS_OKAY(DT_DRV_INST(inst))
3932 #define DT_INST_NODELABEL_STRING_ARRAY(inst) DT_NODELABEL_STRING_ARRAY(DT_DRV_INST(inst)) argument
3942 #define DT_INST_NUM_NODELABELS(inst) DT_NUM_NODELABELS(DT_DRV_INST(inst)) argument
3958 #define DT_INST_FOREACH_CHILD(inst, fn) \ argument
3959 DT_FOREACH_CHILD(DT_DRV_INST(inst), fn)
3974 #define DT_INST_FOREACH_CHILD_SEP(inst, fn, sep) \ argument
3975 DT_FOREACH_CHILD_SEP(DT_DRV_INST(inst), fn, sep)
3992 #define DT_INST_FOREACH_CHILD_VARGS(inst, fn, ...) \ argument
3993 DT_FOREACH_CHILD_VARGS(DT_DRV_INST(inst), fn, __VA_ARGS__)
4009 #define DT_INST_FOREACH_CHILD_SEP_VARGS(inst, fn, sep, ...) \ argument
4010 DT_FOREACH_CHILD_SEP_VARGS(DT_DRV_INST(inst), fn, sep, __VA_ARGS__)
4023 #define DT_INST_FOREACH_CHILD_STATUS_OKAY(inst, fn) \ argument
4024 DT_FOREACH_CHILD_STATUS_OKAY(DT_DRV_INST(inst), fn)
4040 #define DT_INST_FOREACH_CHILD_STATUS_OKAY_SEP(inst, fn, sep) \ argument
4041 DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_DRV_INST(inst), fn, sep)
4056 #define DT_INST_FOREACH_CHILD_STATUS_OKAY_VARGS(inst, fn, ...) \ argument
4057 DT_FOREACH_CHILD_STATUS_OKAY_VARGS(DT_DRV_INST(inst), fn, __VA_ARGS__)
4074 #define DT_INST_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS(inst, fn, sep, ...) \ argument
4075 DT_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS(DT_DRV_INST(inst), fn, sep, __VA_ARGS__)
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)
4306 #define DT_INST_PHA_BY_IDX(inst, pha, idx, cell) \ argument
4307 DT_PHA_BY_IDX(DT_DRV_INST(inst), pha, idx, cell)
4318 #define DT_INST_PHA_BY_IDX_OR(inst, pha, idx, cell, default_value) \ argument
4319 DT_PHA_BY_IDX_OR(DT_DRV_INST(inst), pha, idx, cell, default_value)
4329 #define DT_INST_PHA(inst, pha, cell) DT_INST_PHA_BY_IDX(inst, pha, 0, cell) argument
4339 #define DT_INST_PHA_OR(inst, pha, cell, default_value) \ argument
4340 DT_INST_PHA_BY_IDX_OR(inst, pha, 0, cell, default_value)
4351 #define DT_INST_PHA_BY_NAME(inst, pha, name, cell) \ argument
4352 DT_PHA_BY_NAME(DT_DRV_INST(inst), pha, name, cell)
4363 #define DT_INST_PHA_BY_NAME_OR(inst, pha, name, cell, default_value) \ argument
4364 DT_PHA_BY_NAME_OR(DT_DRV_INST(inst), pha, name, cell, default_value)
4374 #define DT_INST_PHANDLE_BY_NAME(inst, pha, name) \ argument
4375 DT_PHANDLE_BY_NAME(DT_DRV_INST(inst), pha, name) \
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
4406 #define DT_INST_REG_HAS_IDX(inst, idx) DT_REG_HAS_IDX(DT_DRV_INST(inst), idx) argument
4415 #define DT_INST_REG_HAS_NAME(inst, name) DT_REG_HAS_NAME(DT_DRV_INST(inst), name) argument
4423 #define DT_INST_REG_ADDR_BY_IDX_RAW(inst, idx) DT_REG_ADDR_BY_IDX_RAW(DT_DRV_INST(inst), idx) argument
4431 #define DT_INST_REG_ADDR_BY_IDX(inst, idx) DT_REG_ADDR_BY_IDX(DT_DRV_INST(inst), idx) argument
4439 #define DT_INST_REG_SIZE_BY_IDX(inst, idx) \ argument
4440 DT_REG_SIZE_BY_IDX(DT_DRV_INST(inst), idx)
4448 #define DT_INST_REG_ADDR_BY_NAME(inst, name) \ argument
4449 DT_REG_ADDR_BY_NAME(DT_DRV_INST(inst), name)
4459 #define DT_INST_REG_ADDR_BY_NAME_OR(inst, name, default_value) \ argument
4460 DT_REG_ADDR_BY_NAME_OR(DT_DRV_INST(inst), name, default_value)
4474 #define DT_INST_REG_ADDR_BY_NAME_U64(inst, name) \ argument
4475 DT_REG_ADDR_BY_NAME_U64(DT_DRV_INST(inst), name)
4483 #define DT_INST_REG_SIZE_BY_NAME(inst, name) \ argument
4484 DT_REG_SIZE_BY_NAME(DT_DRV_INST(inst), name)
4494 #define DT_INST_REG_SIZE_BY_NAME_OR(inst, name, default_value) \ argument
4495 DT_REG_SIZE_BY_NAME_OR(DT_DRV_INST(inst), name, default_value)
4502 #define DT_INST_REG_ADDR_RAW(inst) DT_INST_REG_ADDR_BY_IDX_RAW(inst, 0) argument
4509 #define DT_INST_REG_ADDR(inst) DT_INST_REG_ADDR_BY_IDX(inst, 0) argument
4522 #define DT_INST_REG_ADDR_U64(inst) DT_REG_ADDR_U64(DT_DRV_INST(inst)) argument
4529 #define DT_INST_REG_SIZE(inst) DT_INST_REG_SIZE_BY_IDX(inst, 0) argument
4537 #define DT_INST_NUM_IRQS(inst) DT_NUM_IRQS(DT_DRV_INST(inst)) argument
4545 #define DT_INST_IRQ_LEVEL(inst) DT_IRQ_LEVEL(DT_DRV_INST(inst)) argument
4554 #define DT_INST_IRQ_BY_IDX(inst, idx, cell) \ argument
4555 DT_IRQ_BY_IDX(DT_DRV_INST(inst), idx, cell)
4563 #define DT_INST_IRQ_INTC_BY_IDX(inst, idx) \ argument
4564 DT_IRQ_INTC_BY_IDX(DT_DRV_INST(inst), idx)
4572 #define DT_INST_IRQ_INTC_BY_NAME(inst, name) \ argument
4573 DT_IRQ_INTC_BY_NAME(DT_DRV_INST(inst), name)
4582 #define DT_INST_IRQ_INTC(inst) \ argument
4583 DT_INST_IRQ_INTC_BY_IDX(inst, 0)
4592 #define DT_INST_IRQ_BY_NAME(inst, name, cell) \ argument
4593 DT_IRQ_BY_NAME(DT_DRV_INST(inst), name, cell)
4601 #define DT_INST_IRQ(inst, cell) DT_INST_IRQ_BY_IDX(inst, 0, cell) argument
4608 #define DT_INST_IRQN(inst) DT_IRQN(DT_DRV_INST(inst)) argument
4616 #define DT_INST_IRQN_BY_IDX(inst, idx) DT_IRQN_BY_IDX(DT_DRV_INST(inst), idx) argument
4623 #define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst)) argument
4632 #define DT_INST_ON_BUS(inst, bus) DT_ON_BUS(DT_DRV_INST(inst), bus) argument
4643 #define DT_INST_STRING_TOKEN_OR(inst, name, default_value) \ argument
4644 DT_STRING_TOKEN_OR(DT_DRV_INST(inst), name, default_value)
4654 #define DT_INST_STRING_UPPER_TOKEN_OR(inst, name, default_value) \ argument
4655 DT_STRING_UPPER_TOKEN_OR(DT_DRV_INST(inst), name, default_value)
4665 #define DT_INST_STRING_UNQUOTED_OR(inst, name, default_value) \ argument
4666 DT_STRING_UNQUOTED_OR(DT_DRV_INST(inst), name, default_value)
4978 #define DT_INST_FOREACH_NODELABEL(inst, fn) \ argument
4979 DT_FOREACH_NODELABEL(DT_DRV_INST(inst), fn)
4992 #define DT_INST_FOREACH_NODELABEL_VARGS(inst, fn, ...) \ argument
4993 DT_FOREACH_NODELABEL_VARGS(DT_DRV_INST(inst), fn, __VA_ARGS__)
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)
5076 #define DT_INST_NODE_HAS_COMPAT(inst, compat) \ argument
5077 DT_NODE_HAS_COMPAT(DT_DRV_INST(inst), compat)
5089 #define DT_INST_PHA_HAS_CELL_AT_IDX(inst, pha, idx, cell) \ argument
5090 DT_PHA_HAS_CELL_AT_IDX(DT_DRV_INST(inst), pha, idx, cell)
5101 #define DT_INST_PHA_HAS_CELL(inst, pha, cell) \ argument
5102 DT_INST_PHA_HAS_CELL_AT_IDX(inst, pha, 0, cell)
5111 #define DT_INST_IRQ_HAS_IDX(inst, idx) DT_IRQ_HAS_IDX(DT_DRV_INST(inst), idx) argument
5121 #define DT_INST_IRQ_HAS_CELL_AT_IDX(inst, idx, cell) \ argument
5122 DT_IRQ_HAS_CELL_AT_IDX(DT_DRV_INST(inst), idx, cell)
5131 #define DT_INST_IRQ_HAS_CELL(inst, cell) \ argument
5132 DT_INST_IRQ_HAS_CELL_AT_IDX(inst, 0, cell)
5140 #define DT_INST_IRQ_HAS_NAME(inst, name) \ argument
5141 DT_IRQ_HAS_NAME(DT_DRV_INST(inst), name)
5260 #define DT_COMPAT_NODE_HAS_PROP_AND_OR(inst, compat, prop) \ argument
5261 DT_NODE_HAS_PROP(DT_INST(inst, compat), prop) ||