linkd             202 drivers/media/mc/mc-device.c 	struct media_link_desc *linkd = arg;
linkd             209 drivers/media/mc/mc-device.c 	source = find_entity(mdev, linkd->source.entity);
linkd             210 drivers/media/mc/mc-device.c 	sink = find_entity(mdev, linkd->sink.entity);
linkd             215 drivers/media/mc/mc-device.c 	if (linkd->source.index >= source->num_pads ||
linkd             216 drivers/media/mc/mc-device.c 	    linkd->sink.index >= sink->num_pads)
linkd             219 drivers/media/mc/mc-device.c 	link = media_entity_find_link(&source->pads[linkd->source.index],
linkd             220 drivers/media/mc/mc-device.c 				      &sink->pads[linkd->sink.index]);
linkd             224 drivers/media/mc/mc-device.c 	memset(linkd->reserved, 0, sizeof(linkd->reserved));
linkd             227 drivers/media/mc/mc-device.c 	return __media_entity_setup_link(link, linkd->flags);