1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
3 * Copyright 2013-2016 Freescale Semiconductor Inc.
4 * Copyright 2016-2021 NXP
10 /** @addtogroup dprc Data Path Resource Container API
11 * Contains DPRC API for managing and querying DPAA resources
17 int dprc_open(struct fsl_mc_io *mc_io,
22 int dprc_close(struct fsl_mc_io *mc_io,
27 * struct dprc_endpoint - Endpoint description for link connect/disconnect
29 * @type: Endpoint object type: NULL terminated string
30 * @id: Endpoint object ID
31 * @if_id: Interface ID; should be set for endpoints with multiple
32 * interfaces ("dpsw", "dpdmux"); for others, always set to 0
34 struct dprc_endpoint {
40 int dprc_get_connection(struct fsl_mc_io *mc_io,
43 const struct dprc_endpoint *endpoint1,
44 struct dprc_endpoint *endpoint2,
46 #endif /* _FSL_DPRC_H */