Home
last modified time | relevance | path

Searched refs:mbus_cfg (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/staging/media/imx/
Dimx-media-csi.c101 struct v4l2_mbus_config mbus_cfg; member
128 static inline bool is_parallel_bus(struct v4l2_mbus_config *mbus_cfg) in is_parallel_bus() argument
130 return mbus_cfg->type != V4L2_MBUS_CSI2_DPHY; in is_parallel_bus()
133 static inline bool is_parallel_16bit_bus(struct v4l2_mbus_config *mbus_cfg) in is_parallel_16bit_bus() argument
135 return is_parallel_bus(mbus_cfg) && mbus_cfg->bus.parallel.bus_width >= 16; in is_parallel_16bit_bus()
148 static inline bool requires_passthrough(struct v4l2_mbus_config *mbus_cfg, in requires_passthrough() argument
152 if (mbus_cfg->type == V4L2_MBUS_BT656) // including BT.1120 in requires_passthrough()
155 return incc->bayer || is_parallel_16bit_bus(mbus_cfg) || in requires_passthrough()
156 (is_parallel_bus(mbus_cfg) && in requires_passthrough()
168 struct v4l2_mbus_config *mbus_cfg) in csi_get_upstream_mbus_config() argument
[all …]
/linux-6.12.1/drivers/gpu/ipu-v3/
Dipu-csi.c346 const struct v4l2_mbus_config *mbus_cfg, in fill_csi_bus_cfg() argument
353 ret = mbus_code_to_bus_cfg(csicfg, mbus_fmt->code, mbus_cfg->type); in fill_csi_bus_cfg()
357 switch (mbus_cfg->type) { in fill_csi_bus_cfg()
360 csicfg->vsync_pol = (mbus_cfg->bus.parallel.flags & in fill_csi_bus_cfg()
362 csicfg->hsync_pol = (mbus_cfg->bus.parallel.flags & in fill_csi_bus_cfg()
364 csicfg->pixclk_pol = (mbus_cfg->bus.parallel.flags & in fill_csi_bus_cfg()
449 const struct v4l2_mbus_config *mbus_cfg, in ipu_csi_init_interface() argument
459 ret = fill_csi_bus_cfg(&cfg, mbus_cfg, infmt); in ipu_csi_init_interface()
/linux-6.12.1/include/video/
Dimx-ipu-v3.h361 const struct v4l2_mbus_config *mbus_cfg,