Lines Matching full:pid
33 * @param pid port ID
34 * @return port node associated with @p pid
36 #define _DT_INST_PORT_BY_ID(inst, pid) \ argument
38 (DT_CHILD(DT_INST_CHILD(inst, ports), port_##pid)), (DT_INST_CHILD(inst, port_##pid)))
84 * @param pid port ID
85 * @return port node associated with @p pid
87 #define DT_INST_PORT_BY_ID(inst, pid) \ argument
88 COND_CODE_1(DT_NODE_EXISTS(_DT_INST_PORT_BY_ID(inst, pid)), \
89 (_DT_INST_PORT_BY_ID(inst, pid)), (DT_INST_CHILD(inst, port)))
98 * @param pid port ID
100 * @return endpoint node associated with @p eid and @p pid
102 #define _DT_INST_ENDPOINT_BY_ID(inst, pid, eid) \ argument
103 DT_CHILD(DT_INST_PORT_BY_ID(inst, pid), endpoint_##eid)
159 * @param pid port ID
161 * @return endpoint node associated with @p eid and @p pid
163 #define DT_INST_ENDPOINT_BY_ID(inst, pid, eid) \ argument
164 COND_CODE_1(DT_NODE_EXISTS(_DT_INST_ENDPOINT_BY_ID(inst, pid, eid)), \
165 (_DT_INST_ENDPOINT_BY_ID(inst, pid, eid)), \
166 (DT_CHILD(DT_INST_PORT_BY_ID(inst, pid), endpoint)))