Lines Matching full:pad

35 		 * sink pad.  in vsp1_entity_route_setup()
48 * sink pad. in vsp1_entity_route_setup()
134 * vsp1_subdev_get_pad_format - Subdev pad get_fmt handler
139 * This function implements the subdev get_fmt pad operation. It can be used as
154 fmt->format = *v4l2_subdev_state_get_format(state, fmt->pad); in vsp1_subdev_get_pad_format()
161 * vsp1_subdev_enum_mbus_code - Subdev pad enum_mbus_code handler
168 * This function implements the subdev enum_mbus_code pad operation for entities
170 * media bus codes on the sink pad and reports a source pad format identical to
171 * the sink pad.
180 if (code->pad == 0) { in vsp1_subdev_enum_mbus_code()
210 * vsp1_subdev_enum_frame_size - Subdev pad enum_frame_size handler
219 * This function implements the subdev enum_frame_size pad operation for
221 * minimum and maximum frame width and height on the sink pad, and a fixed
222 * source pad size identical to the sink pad.
239 format = v4l2_subdev_state_get_format(state, fse->pad); in vsp1_subdev_enum_frame_size()
248 if (fse->pad == 0) { in vsp1_subdev_enum_frame_size()
255 * The size on the source pad are fixed and always identical to in vsp1_subdev_enum_frame_size()
256 * the size on the sink pad. in vsp1_subdev_enum_frame_size()
270 * vsp1_subdev_set_pad_format - Subdev pad set_fmt handler
281 * This function implements the subdev set_fmt pad operation for entities that
284 * supplied minimum and maximum, and propagates the sink pad format to the
285 * source pad.
309 format = v4l2_subdev_state_get_format(state, fmt->pad); in vsp1_subdev_set_pad_format()
311 if (fmt->pad == entity->source_pad) { in vsp1_subdev_set_pad_format()
336 /* Propagate the format to the source pad. */ in vsp1_subdev_set_pad_format()
341 selection = v4l2_subdev_state_get_crop(state, fmt->pad); in vsp1_subdev_set_pad_format()
347 selection = v4l2_subdev_state_get_compose(state, fmt->pad); in vsp1_subdev_set_pad_format()
361 unsigned int pad; in vsp1_entity_init_state() local
363 /* Initialize all pad formats with default values. */ in vsp1_entity_init_state()
364 for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) { in vsp1_entity_init_state()
366 .pad = pad, in vsp1_entity_init_state()
371 v4l2_subdev_call(subdev, pad, set_fmt, sd_state, &format); in vsp1_entity_init_state()
459 * vsp1_entity_remote_pad - Find the pad at the remote end of a link
460 * @pad: Pad at the local end of the link
462 * Search for a remote pad connected to the given pad by iterating over all
463 * links originating or terminating at that pad until an enabled link is found.
472 * Return a pointer to the pad at the remote end of the first found enabled
475 struct media_pad *vsp1_entity_remote_pad(struct media_pad *pad) in vsp1_entity_remote_pad() argument
479 list_for_each_entry(link, &pad->entity->links, list) { in vsp1_entity_remote_pad()
486 if (link->sink == pad) in vsp1_entity_remote_pad()
489 if (link->source != pad) in vsp1_entity_remote_pad()
602 /* Single-pad entities only have a sink. */ in vsp1_entity_init()