Lines Matching refs: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)))
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)))
102 #define _DT_INST_ENDPOINT_BY_ID(inst, pid, eid) \ argument
103 DT_CHILD(DT_INST_PORT_BY_ID(inst, pid), endpoint_##eid)
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)))