Lines Matching refs:node
83 #define CHECK_RAMP_DT_DATA(node) \ argument
84 COND_CODE_1(DT_PROP_EXISTS(node, vstart), \
85 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vstart), TMC_RAMP_VSTART_MIN, \
87 COND_CODE_1(DT_PROP_EXISTS(node, v1), \
88 BUILD_ASSERT(IN_RANGE(DT_PROP(node, v1), TMC_RAMP_V1_MIN, \
90 COND_CODE_1(DT_PROP_EXISTS(node, vmax), \
91 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vmax), TMC_RAMP_VMAX_MIN, \
93 COND_CODE_1(DT_PROP_EXISTS(node, a1), \
94 BUILD_ASSERT(IN_RANGE(DT_PROP(node, a1), TMC_RAMP_A1_MIN, \
96 COND_CODE_1(DT_PROP_EXISTS(node, amax), \
97 BUILD_ASSERT(IN_RANGE(DT_PROP(node, amax), TMC_RAMP_AMAX_MIN, \
99 COND_CODE_1(DT_PROP_EXISTS(node, d1), \
100 BUILD_ASSERT(IN_RANGE(DT_PROP(node, d1), TMC_RAMP_D1_MIN, \
102 COND_CODE_1(DT_PROP_EXISTS(node, dmax), \
103 BUILD_ASSERT(IN_RANGE(DT_PROP(node, dmax), TMC_RAMP_DMAX_MIN, \
105 COND_CODE_1(DT_PROP_EXISTS(node, vstop), \
106 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vstop), TMC_RAMP_VSTOP_MIN, \
108 COND_CODE_1(DT_PROP_EXISTS(node, tzerowait), \
109 BUILD_ASSERT(IN_RANGE(DT_PROP(node, tzerowait), TMC_RAMP_TZEROWAIT_MIN, \
111 COND_CODE_1(DT_PROP_EXISTS(node, vcoolthrs), \
112 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vcoolthrs), TMC_RAMP_VCOOLTHRS_MIN, \
114 COND_CODE_1(DT_PROP_EXISTS(node, vhigh), \
115 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vhigh), TMC_RAMP_VHIGH_MIN, \
117 COND_CODE_1(DT_PROP_EXISTS(node, ihold), \
118 BUILD_ASSERT(IN_RANGE(DT_PROP(node, ihold), TMC_RAMP_IHOLD_IRUN_MIN, \
120 COND_CODE_1(DT_PROP_EXISTS(node, irun), \
121 BUILD_ASSERT(IN_RANGE(DT_PROP(node, irun), TMC_RAMP_IHOLD_IRUN_MIN, \
123 COND_CODE_1(DT_PROP_EXISTS(node, iholddelay), \
124 BUILD_ASSERT(IN_RANGE(DT_PROP(node, iholddelay), TMC_RAMP_IHOLDDELAY_MIN, \
134 #define TMC_RAMP_DT_SPEC_GET(node) \ argument
136 .vstart = DT_PROP(node, vstart), \
137 .v1 = DT_PROP(node, v1), \
138 .vmax = DT_PROP(node, vmax), \
139 .a1 = DT_PROP(node, a1), \
140 .amax = DT_PROP(node, amax), \
141 .d1 = DT_PROP(node, d1), \
142 .dmax = DT_PROP(node, dmax), \
143 .vstop = DT_PROP(node, vstop), \
144 .tzerowait = DT_PROP(node, tzerowait), \
145 .vcoolthrs = DT_PROP(node, vcoolthrs), \
146 .vhigh = DT_PROP(node, vhigh), \
147 .iholdrun = (TMC5XXX_IRUN(DT_PROP(node, irun)) | \
148 TMC5XXX_IHOLD(DT_PROP(node, ihold)) | \
149 TMC5XXX_IHOLDDELAY(DT_PROP(node, iholddelay))), \