Lines Matching refs:csicfg
345 static int fill_csi_bus_cfg(struct ipu_csi_bus_config *csicfg,
351 memset(csicfg, 0, sizeof(*csicfg));
353 ret = mbus_code_to_bus_cfg(csicfg, mbus_fmt->code, mbus_cfg->type);
359 csicfg->ext_vsync = 1;
360 csicfg->vsync_pol = (mbus_cfg->bus.parallel.flags &
362 csicfg->hsync_pol = (mbus_cfg->bus.parallel.flags &
364 csicfg->pixclk_pol = (mbus_cfg->bus.parallel.flags &
366 csicfg->clk_mode = IPU_CSI_CLK_MODE_GATED_CLK;
369 csicfg->ext_vsync = 0;
375 csicfg->clk_mode = is_bt1120 ?
379 csicfg->clk_mode = is_bt1120 ?
388 csicfg->clk_mode = IPU_CSI_CLK_MODE_NONGATED_CLK;