Lines Matching +full:remote +full:- +full:endpoint
3 * @brief Port / Endpoint Devicetree macro public API header file.
10 * SPDX-License-Identifier: Apache-2.0
21 * @defgroup devicetree-port-endpoint Devicetree Port Endpoint API
57 * #address-cells = <1>;
58 * #size-cells = <0>;
68 * #address-cells = <1>;
69 * #size-cells = <0>;
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 {
132 * #address-cells = <1>;
133 * #size-cells = <0>;
134 * endpoint@0 {
144 * #address-cells = <1>;
145 * #size-cells = <0>;
148 * #address-cells = <1>;
149 * #size-cells = <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
186 * #address-cells = <1>;
187 * #size-cells = <0>;
188 * ep0: endpoint@0 {
198 * #address-cells = <1>;
199 * #size-cells = <0>;
202 * #address-cells = <1>;
203 * #size-cells = <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
226 * Example usage with DT_NODE_REMOTE_DEVICE() to get the remote device node @c &device1 from the
227 * local endpoint @c endpoint@0 node of the device @c &device0 node:
238 * #address-cells = <1>;
239 * #size-cells = <0>;
240 * device0_ep_out: endpoint@0 {
242 * remote-endpoint-label = "device1_ep_in";
249 * #address-cells = <1>;
250 * #size-cells = <0>;
253 * device1_ep_in: endpoint {
254 * remote-endpoint-label = "device0_ep_out";
261 * @param ep endpoint node
262 * @return remote device node that connects to this device via @p ep