Lines Matching refs:pad

60 	struct media_pad pad[CSI_NUM_PADS];  member
211 ret = v4l2_subdev_call(remote_sd, pad, get_mbus_config, in csi_get_upstream_mbus_config()
910 if (fi->pad >= CSI_NUM_PADS) in csi_g_frame_interval()
915 fi->interval = priv->frame_interval[fi->pad]; in csi_g_frame_interval()
933 switch (fi->pad) { in csi_s_frame_interval()
963 priv->frame_interval[fi->pad] = fi->interval; in csi_s_frame_interval()
1148 unsigned int pad, enum v4l2_subdev_format_whence which) in __csi_get_fmt() argument
1151 return v4l2_subdev_get_try_format(&priv->sd, sd_state, pad); in __csi_get_fmt()
1153 return &priv->format_mbus[pad]; in __csi_get_fmt()
1233 switch (code->pad) { in csi_enum_mbus_code()
1280 if (fse->pad >= CSI_NUM_PADS || in csi_enum_frame_size()
1281 fse->index > (fse->pad == CSI_SINK_PAD ? 0 : 3)) in csi_enum_frame_size()
1286 if (fse->pad == CSI_SINK_PAD) { in csi_enum_frame_size()
1315 if (fie->pad >= CSI_NUM_PADS || in csi_enum_frame_interval()
1316 fie->index >= (fie->pad != CSI_SRC_PAD_IDMAC ? in csi_enum_frame_interval()
1333 if (fie->pad == CSI_SRC_PAD_IDMAC) in csi_enum_frame_interval()
1350 if (sdformat->pad >= CSI_NUM_PADS) in csi_get_fmt()
1355 fmt = __csi_get_fmt(priv, sd_state, sdformat->pad, sdformat->which); in csi_get_fmt()
1378 if (sdformat->pad == CSI_SINK_PAD) { in csi_try_field()
1430 switch (sdformat->pad) { in csi_try_fmt()
1512 if (sdformat->pad >= CSI_NUM_PADS) in csi_set_fmt()
1534 fmt = __csi_get_fmt(priv, sd_state, sdformat->pad, sdformat->which); in csi_set_fmt()
1537 if (sdformat->pad == CSI_SINK_PAD) { in csi_set_fmt()
1538 int pad; in csi_set_fmt() local
1541 for (pad = CSI_SINK_PAD + 1; pad < CSI_NUM_PADS; pad++) { in csi_set_fmt()
1546 format.pad = pad; in csi_set_fmt()
1552 outfmt = __csi_get_fmt(priv, sd_state, pad, in csi_set_fmt()
1557 priv->cc[pad] = outcc; in csi_set_fmt()
1562 priv->cc[sdformat->pad] = cc; in csi_set_fmt()
1578 if (sel->pad != CSI_SINK_PAD) in csi_get_selection()
1641 int pad, ret; in csi_set_selection() local
1643 if (sel->pad != CSI_SINK_PAD) in csi_set_selection()
1716 for (pad = CSI_SINK_PAD + 1; pad < CSI_NUM_PADS; pad++) { in csi_set_selection()
1719 outfmt = __csi_get_fmt(priv, sd_state, pad, sel->which); in csi_set_selection()
1885 .pad = &csi_pad_ops,
2000 priv->pad[i].flags = (i == CSI_SINK_PAD) ? in imx_csi_probe()
2004 priv->pad); in imx_csi_probe()