Lines Matching full:endpoint
3 * @brief Port / Endpoint Devicetree macro public API header file.
21 * @defgroup devicetree-port-endpoint Devicetree Port Endpoint API
95 * a single endpoint without address.
99 * @param eid endpoint ID
100 * @return endpoint node associated with @p eid and @p pid
106 * @brief Get an endpoint node from its id and its parent port id
108 * Given a device instance number, a port ID and an endpoint ID, return the endpoint node.
109 * It handles various ways of how a port and an endpoint could be defined as described in
112 * Example usage with DT_INST_ENDPOINT_BY_ID() to get the @c endpoint or @c endpoint@0 node:
123 * endpoint {
134 * endpoint@0 {
150 * endpoint@0 {
160 * @param eid endpoint ID
161 * @return endpoint node associated with @p eid and @p pid
166 (DT_CHILD(DT_INST_PORT_BY_ID(inst, pid), endpoint)))
169 * @brief Get the device node from its endpoint node.
171 * Given an endpoint node id, return its device node id.
172 * This handles various ways of how a port and an endpoint could be defined as described in
188 * ep0: endpoint@0 {
204 * ep0: endpoint@0 {
212 * @param ep endpoint node
220 * @brief Get the remote device node from a local endpoint node.
222 * Given an endpoint node id, return the remote device node that connects to this device via this
223 * local endpoint. This handles various ways of how a port and an endpoint could be defined as
227 * local endpoint @c endpoint@0 node of the device @c &device0 node:
240 * device0_ep_out: endpoint@0 {
242 * remote-endpoint-label = "device1_ep_in";
253 * device1_ep_in: endpoint {
254 * remote-endpoint-label = "device0_ep_out";
261 * @param ep endpoint node