Home
last modified time | relevance | path

Searched refs:mbus_config (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/staging/media/imx/
Dimx6-mipi-csi2.c306 struct v4l2_mbus_config mbus_config = { 0 }; in csi2_get_active_lanes() local
312 csi2->remote_pad, &mbus_config); in csi2_get_active_lanes()
323 if (mbus_config.type != V4L2_MBUS_CSI2_DPHY) { in csi2_get_active_lanes()
325 mbus_config.type); in csi2_get_active_lanes()
329 if (mbus_config.bus.mipi_csi2.num_data_lanes > csi2->data_lanes) { in csi2_get_active_lanes()
332 mbus_config.bus.mipi_csi2.num_data_lanes); in csi2_get_active_lanes()
336 *lanes = mbus_config.bus.mipi_csi2.num_data_lanes; in csi2_get_active_lanes()
/linux-6.12.1/drivers/media/platform/intel/
Dpxa_camera.c1543 int mbus_config; in pxa_camera_set_bus_param() local
1555 mbus_config = 0; in pxa_camera_set_bus_param()
1557 mbus_config |= V4L2_MBUS_MASTER; in pxa_camera_set_bus_param()
1559 mbus_config |= V4L2_MBUS_SLAVE; in pxa_camera_set_bus_param()
1562 mbus_config |= V4L2_MBUS_HSYNC_ACTIVE_HIGH; in pxa_camera_set_bus_param()
1564 mbus_config |= V4L2_MBUS_HSYNC_ACTIVE_LOW; in pxa_camera_set_bus_param()
1567 mbus_config |= V4L2_MBUS_VSYNC_ACTIVE_HIGH; in pxa_camera_set_bus_param()
1569 mbus_config |= V4L2_MBUS_VSYNC_ACTIVE_LOW; in pxa_camera_set_bus_param()
1572 mbus_config |= V4L2_MBUS_PCLK_SAMPLE_RISING; in pxa_camera_set_bus_param()
1574 mbus_config |= V4L2_MBUS_PCLK_SAMPLE_FALLING; in pxa_camera_set_bus_param()
[all …]
/linux-6.12.1/drivers/media/platform/microchip/
Dmicrochip-csi2dc.c342 struct v4l2_mbus_config mbus_config = { 0 }; in csi2dc_get_mbus_config() local
346 csi2dc->remote_pad, &mbus_config); in csi2dc_get_mbus_config()
361 csi2dc->clk_gated = mbus_config.bus.parallel.flags & in csi2dc_get_mbus_config()
/linux-6.12.1/drivers/media/platform/renesas/
Drcar-csi2.c776 struct v4l2_mbus_config mbus_config = { 0 }; in rcsi2_get_active_lanes() local
782 priv->remote_pad, &mbus_config); in rcsi2_get_active_lanes()
793 switch (mbus_config.type) { in rcsi2_get_active_lanes()
804 mbus_config.type); in rcsi2_get_active_lanes()
808 if (mbus_config.bus.mipi_csi2.num_data_lanes > priv->lanes) { in rcsi2_get_active_lanes()
811 mbus_config.bus.mipi_csi2.num_data_lanes); in rcsi2_get_active_lanes()
815 *lanes = mbus_config.bus.mipi_csi2.num_data_lanes; in rcsi2_get_active_lanes()
/linux-6.12.1/drivers/media/i2c/
Dgc0308.c438 unsigned int mbus_config; member
1152 if (gc0308->mbus_config & V4L2_MBUS_VSYNC_ACTIVE_LOW) in gc0308_start_stream()
1154 if (gc0308->mbus_config & V4L2_MBUS_HSYNC_ACTIVE_LOW) in gc0308_start_stream()
1224 gc0308->mbus_config = bus_cfg.bus.parallel.flags; in gc0308_bus_config()
Dov7670.c240 unsigned int mbus_config; /* Media bus configuration flags */ member
1052 if (info->mbus_config & V4L2_MBUS_VSYNC_ACTIVE_LOW) in ov7670_apply_fmt()
1054 if (info->mbus_config & V4L2_MBUS_HSYNC_ACTIVE_LOW) in ov7670_apply_fmt()
1819 info->mbus_config = bus_cfg.bus.parallel.flags; in ov7670_parse_dt()
/linux-6.12.1/drivers/media/platform/broadcom/
Dbcm2835-unicam.c1613 struct v4l2_mbus_config mbus_config = { 0 }; in unicam_num_data_lanes() local
1621 unicam->sensor.pad->index, &mbus_config); in unicam_num_data_lanes()
1630 num_data_lanes = mbus_config.bus.mipi_csi2.num_data_lanes; in unicam_num_data_lanes()