Lines Matching refs:pad
30 /* Frame format for both sink and src pad */
137 struct v4l2_subdev_state *sd_state, u32 pad,
141 return v4l2_subdev_get_try_format(&vscaler->sd, sd_state, pad);
143 return &vscaler->fmt[pad];
164 format->format = *vimc_scaler_pad_format(vscaler, sd_state, format->pad,
180 fmt = vimc_scaler_pad_format(vscaler, sd_state, format->pad, format->which);
184 * pad, the source pad only follows.
186 if (format->pad == VIMC_SCALER_SINK) {
211 * Propagate the sink pad format to the crop rectangle and the source
212 * pad.
214 if (format->pad == VIMC_SCALER_SINK) {
241 if (VIMC_IS_SRC(sel->pad))
279 /* Only support setting the crop of the sink pad */
280 if (VIMC_IS_SRC(sel->pad) || sel->target != V4L2_SEL_TGT_CROP)
320 /* Calculate the frame size of the source pad */
347 .pad = &vimc_scaler_pad_ops,