Lines Matching defs:link

77 	struct v4l2_fwnode_link link;
84 /* Get the next endpoint and parse its link. */
92 ret = v4l2_fwnode_parse_link(ep, &link);
94 dev_err(xdev->dev, "failed to parse link for %p\n",
100 * the link.
102 if (link.local_port >= local->num_pads) {
104 link.local_port, link.local_node);
105 v4l2_fwnode_put_link(&link);
110 local_pad = &local->pads[link.local_port];
114 link.local_node, link.local_port);
115 v4l2_fwnode_put_link(&link);
120 if (link.remote_node == of_fwnode_handle(xdev->dev->of_node)) {
122 link.local_node, link.local_port);
123 v4l2_fwnode_put_link(&link);
128 ent = xvip_graph_find_entity(xdev, link.remote_node);
131 link.remote_node);
132 v4l2_fwnode_put_link(&link);
139 if (link.remote_port >= remote->num_pads) {
141 link.remote_port, link.remote_node);
142 v4l2_fwnode_put_link(&link);
147 remote_pad = &remote->pads[link.remote_port];
149 v4l2_fwnode_put_link(&link);
151 /* Create the media link. */
152 dev_dbg(xdev->dev, "creating %s:%u -> %s:%u link\n",
161 "failed to create %s:%u -> %s:%u link\n",
194 struct v4l2_fwnode_link link;
202 /* Get the next endpoint and parse its link. */
209 ret = v4l2_fwnode_parse_link(of_fwnode_handle(ep), &link);
211 dev_err(xdev->dev, "failed to parse link for %pOF\n",
217 dma = xvip_graph_find_dma(xdev, link.local_port);
220 link.local_port);
221 v4l2_fwnode_put_link(&link);
226 dev_dbg(xdev->dev, "creating link for DMA engine %s\n",
230 ent = xvip_graph_find_entity(xdev, link.remote_node);
233 to_of_node(link.remote_node));
234 v4l2_fwnode_put_link(&link);
239 if (link.remote_port >= ent->entity->num_pads) {
241 link.remote_port,
242 to_of_node(link.remote_node));
243 v4l2_fwnode_put_link(&link);
252 sink_pad = &sink->pads[link.remote_port];
255 source_pad = &source->pads[link.remote_port];
260 v4l2_fwnode_put_link(&link);
262 /* Create the media link. */
263 dev_dbg(xdev->dev, "creating %s:%u -> %s:%u link\n",
272 "failed to create %s:%u -> %s:%u link\n",