Lines Matching +full:bus +full:- +full:width

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Media Bus API header
11 #include <linux/v4l2-mediabus.h>
17 * bus configuration parameter. One and only one bit of each group of flags
20 * reporting the media bus configuration. For example, it is invalid to set or
60 /* FIELD = 0/1 - Field1 (odd)/Field2 (even) */
62 /* FIELD = 1/0 - Field1 (odd)/Field2 (even) */
64 /* Active state of Sync-on-green (SoG) signal, 0/1 for LOW/HIGH respectively. */
71 /* Clock non-continuous mode support. */
77 * enum v4l2_mbus_csi2_cphy_line_orders_type - CSI-2 C-PHY line order
78 * @V4L2_MBUS_CSI2_CPHY_LINE_ORDER_ABC: C-PHY line order ABC (default)
79 * @V4L2_MBUS_CSI2_CPHY_LINE_ORDER_ACB: C-PHY line order ACB
80 * @V4L2_MBUS_CSI2_CPHY_LINE_ORDER_BAC: C-PHY line order BAC
81 * @V4L2_MBUS_CSI2_CPHY_LINE_ORDER_BCA: C-PHY line order BCA
82 * @V4L2_MBUS_CSI2_CPHY_LINE_ORDER_CAB: C-PHY line order CAB
83 * @V4L2_MBUS_CSI2_CPHY_LINE_ORDER_CBA: C-PHY line order CBA
95 * struct v4l2_mbus_config_mipi_csi2 - MIPI CSI-2 data bus configuration
96 * @flags: media bus (V4L2_MBUS_*) flags
115 * struct v4l2_mbus_config_parallel - parallel data bus configuration
116 * @flags: media bus (V4L2_MBUS_*) flags
117 * @bus_width: bus width in bits
127 * struct v4l2_mbus_config_mipi_csi1 - CSI-1/CCP2 data bus configuration
129 * false - not inverted, true - inverted
130 * @strobe: false - data/clock, true - data/strobe
145 * enum v4l2_mbus_type - media bus type
146 * @V4L2_MBUS_UNKNOWN: unknown bus type, no V4L2 mediabus configuration
150 * @V4L2_MBUS_CSI1: MIPI CSI-1 serial interface
152 * @V4L2_MBUS_CSI2_DPHY: MIPI CSI-2 serial interface, with D-PHY
153 * @V4L2_MBUS_CSI2_CPHY: MIPI CSI-2 serial interface, with C-PHY
155 * @V4L2_MBUS_INVALID: invalid bus type (keep as last)
170 * struct v4l2_mbus_config - media bus configuration
173 * @bus: bus configuration data structure
174 * @bus.parallel: embedded &struct v4l2_mbus_config_parallel.
175 * Used if the bus is parallel or BT.656.
176 * @bus.mipi_csi1: embedded &struct v4l2_mbus_config_mipi_csi1.
177 * Used if the bus is MIPI Alliance's Camera Serial
181 * @bus.mipi_csi2: embedded &struct v4l2_mbus_config_mipi_csi2.
182 * Used if the bus is MIPI Alliance's Camera Serial
192 } bus; member
196 * v4l2_fill_pix_format - Ancillary routine that fills a &struct
206 pix_fmt->width = mbus_fmt->width; in v4l2_fill_pix_format()
207 pix_fmt->height = mbus_fmt->height; in v4l2_fill_pix_format()
208 pix_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format()
209 pix_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format()
210 pix_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; in v4l2_fill_pix_format()
211 pix_fmt->quantization = mbus_fmt->quantization; in v4l2_fill_pix_format()
212 pix_fmt->xfer_func = mbus_fmt->xfer_func; in v4l2_fill_pix_format()
216 * v4l2_fill_mbus_format - Ancillary routine that fills a &struct
228 mbus_fmt->width = pix_fmt->width; in v4l2_fill_mbus_format()
229 mbus_fmt->height = pix_fmt->height; in v4l2_fill_mbus_format()
230 mbus_fmt->field = pix_fmt->field; in v4l2_fill_mbus_format()
231 mbus_fmt->colorspace = pix_fmt->colorspace; in v4l2_fill_mbus_format()
232 mbus_fmt->ycbcr_enc = pix_fmt->ycbcr_enc; in v4l2_fill_mbus_format()
233 mbus_fmt->quantization = pix_fmt->quantization; in v4l2_fill_mbus_format()
234 mbus_fmt->xfer_func = pix_fmt->xfer_func; in v4l2_fill_mbus_format()
235 mbus_fmt->code = code; in v4l2_fill_mbus_format()
239 * v4l2_fill_pix_format_mplane - Ancillary routine that fills a &struct
240 * v4l2_pix_format_mplane fields from a media bus structure.
249 pix_mp_fmt->width = mbus_fmt->width; in v4l2_fill_pix_format_mplane()
250 pix_mp_fmt->height = mbus_fmt->height; in v4l2_fill_pix_format_mplane()
251 pix_mp_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format_mplane()
252 pix_mp_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format_mplane()
253 pix_mp_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; in v4l2_fill_pix_format_mplane()
254 pix_mp_fmt->quantization = mbus_fmt->quantization; in v4l2_fill_pix_format_mplane()
255 pix_mp_fmt->xfer_func = mbus_fmt->xfer_func; in v4l2_fill_pix_format_mplane()
259 * v4l2_fill_mbus_format_mplane - Ancillary routine that fills a &struct
269 mbus_fmt->width = pix_mp_fmt->width; in v4l2_fill_mbus_format_mplane()
270 mbus_fmt->height = pix_mp_fmt->height; in v4l2_fill_mbus_format_mplane()
271 mbus_fmt->field = pix_mp_fmt->field; in v4l2_fill_mbus_format_mplane()
272 mbus_fmt->colorspace = pix_mp_fmt->colorspace; in v4l2_fill_mbus_format_mplane()
273 mbus_fmt->ycbcr_enc = pix_mp_fmt->ycbcr_enc; in v4l2_fill_mbus_format_mplane()
274 mbus_fmt->quantization = pix_mp_fmt->quantization; in v4l2_fill_mbus_format_mplane()
275 mbus_fmt->xfer_func = pix_mp_fmt->xfer_func; in v4l2_fill_mbus_format_mplane()