Home
last modified time | relevance | path

Searched refs:mipi_csi2 (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.10/drivers/media/platform/ti-vpe/
Dcal-camerarx.c71 struct v4l2_fwnode_bus_mipi_csi2 *mipi_csi2 = in cal_camerarx_lane_config() local
72 &phy->endpoint.bus.mipi_csi2; in cal_camerarx_lane_config()
75 cal_set_field(&val, mipi_csi2->clock_lane + 1, lane_mask); in cal_camerarx_lane_config()
76 cal_set_field(&val, mipi_csi2->lane_polarities[0], polarity_mask); in cal_camerarx_lane_config()
77 for (lane = 0; lane < mipi_csi2->num_data_lanes; lane++) { in cal_camerarx_lane_config()
84 cal_set_field(&val, mipi_csi2->data_lanes[lane] + 1, lane_mask); in cal_camerarx_lane_config()
85 cal_set_field(&val, mipi_csi2->lane_polarities[lane + 1], in cal_camerarx_lane_config()
125 struct v4l2_fwnode_bus_mipi_csi2 *mipi_csi2 = in cal_camerarx_config() local
126 &phy->endpoint.bus.mipi_csi2; in cal_camerarx_config()
127 u32 num_lanes = mipi_csi2->num_data_lanes; in cal_camerarx_config()
[all …]
/Linux-v5.10/drivers/media/platform/qcom/camss/
Dcamss.c431 struct v4l2_fwnode_bus_mipi_csi2 *mipi_csi2; in camss_of_parse_endpoint_node() local
439 mipi_csi2 = &vep.bus.mipi_csi2; in camss_of_parse_endpoint_node()
440 lncfg->clk.pos = mipi_csi2->clock_lane; in camss_of_parse_endpoint_node()
441 lncfg->clk.pol = mipi_csi2->lane_polarities[0]; in camss_of_parse_endpoint_node()
442 lncfg->num_data = mipi_csi2->num_data_lanes; in camss_of_parse_endpoint_node()
451 lncfg->data[i].pos = mipi_csi2->data_lanes[i]; in camss_of_parse_endpoint_node()
452 lncfg->data[i].pol = mipi_csi2->lane_polarities[i + 1]; in camss_of_parse_endpoint_node()
/Linux-v5.10/drivers/media/i2c/
Dst-mipid02.c379 return pixel_clock * bpp / (2 * ep->bus.mipi_csi2.num_data_lanes); in mipid02_get_link_freq_from_cid_pixel_rate()
413 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_clk_lane()
416 if (ep->bus.mipi_csi2.clock_lane != 0) { in mipid02_configure_clk_lane()
462 bool are_lanes_swap = ep->bus.mipi_csi2.data_lanes[0] == 2; in mipid02_configure_from_rx()
463 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_from_rx()
464 int nb = ep->bus.mipi_csi2.num_data_lanes; in mipid02_configure_from_rx()
867 if (ep.bus.mipi_csi2.num_data_lanes > 2) { in mipid02_parse_rx_ep()
869 ep.bus.mipi_csi2.num_data_lanes); in mipid02_parse_rx_ep()
Dov5675.c1108 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV5675_DATA_LANES) { in ov5675_check_hwcfg()
1110 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov5675_check_hwcfg()
Dhi556.c1060 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2) { in hi556_check_hwcfg()
1062 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi556_check_hwcfg()
Dov2740.c887 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV2740_DATA_LANES) { in ov2740_check_hwcfg()
889 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov2740_check_hwcfg()
Dov8856.c1701 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV8856_DATA_LANES) { in ov8856_get_hwcfg()
1703 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov8856_get_hwcfg()
Dtc358743.c1928 endpoint.bus.mipi_csi2.num_data_lanes == 0 || in tc358743_probe_of()
1935 if (endpoint.bus.mipi_csi2.num_data_lanes > 4) { in tc358743_probe_of()
1941 state->bus = endpoint.bus.mipi_csi2; in tc358743_probe_of()
Dimx290.c974 imx290->nlanes = ep.bus.mipi_csi2.num_data_lanes; in imx290_probe()
/Linux-v5.10/drivers/media/platform/cadence/
Dcdns-csi2tx.c515 csi2tx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2tx_check_lanes()
524 if (v4l2_ep.bus.mipi_csi2.data_lanes[i] < 1) { in csi2tx_check_lanes()
526 i, v4l2_ep.bus.mipi_csi2.data_lanes[i]); in csi2tx_check_lanes()
532 memcpy(csi2tx->lanes, v4l2_ep.bus.mipi_csi2.data_lanes, in csi2tx_check_lanes()
Dcdns-csi2rx.c388 memcpy(csi2rx->lanes, v4l2_ep.bus.mipi_csi2.data_lanes, in csi2rx_parse_dt()
390 csi2rx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2rx_parse_dt()
/Linux-v5.10/include/media/
Dv4l2-fwnode.h105 struct v4l2_fwnode_bus_mipi_csi2 mipi_csi2; member
/Linux-v5.10/drivers/staging/media/rkisp1/
Drkisp1-dev.c273 rk_asd->mbus_flags = vep.bus.mipi_csi2.flags; in rkisp1_subdev_notifier()
274 rk_asd->lanes = vep.bus.mipi_csi2.num_data_lanes; in rkisp1_subdev_notifier()
/Linux-v5.10/Documentation/devicetree/bindings/media/
Dimx.txt24 mipi_csi2 node
Dimx7-mipi-csi2.txt4 mipi_csi2 node
/Linux-v5.10/drivers/media/platform/omap3isp/
Disp.c2077 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint()
2079 vep->bus.mipi_csi2.lane_polarities[0]; in isp_parse_of_csi2_endpoint()
2084 buscfg->bus.csi2.num_data_lanes = vep->bus.mipi_csi2.num_data_lanes; in isp_parse_of_csi2_endpoint()
2088 vep->bus.mipi_csi2.data_lanes[i]; in isp_parse_of_csi2_endpoint()
2090 vep->bus.mipi_csi2.lane_polarities[i + 1]; in isp_parse_of_csi2_endpoint()
/Linux-v5.10/drivers/media/platform/xilinx/
Dxilinx-csi2rxss.c947 vep.bus.mipi_csi2.num_data_lanes); in xcsi2rxss_parse_of()
949 xcsi2rxss->max_num_lanes = vep.bus.mipi_csi2.num_data_lanes; in xcsi2rxss_parse_of()
/Linux-v5.10/include/video/
Dimx-ipu-v3.h206 void ipu_set_csi_src_mux(struct ipu_soc *ipu, int csi_id, bool mipi_csi2);
/Linux-v5.10/drivers/media/platform/rcar-vin/
Drcar-csi2.c854 priv->lanes = vep->bus.mipi_csi2.num_data_lanes; in rcsi2_parse_v4l2()
863 vep->bus.mipi_csi2.data_lanes[i] : i; in rcsi2_parse_v4l2()
/Linux-v5.10/drivers/staging/media/imx/
Dimx6-mipi-csi2.c575 csi2->bus = vep.bus.mipi_csi2; in csi2_async_register()
/Linux-v5.10/drivers/media/i2c/adv748x/
Dadv748x-core.c604 num_lanes = vep.bus.mipi_csi2.num_data_lanes; in adv748x_parse_csi2_lanes()
/Linux-v5.10/drivers/gpu/ipu-v3/
Dipu-common.c630 void ipu_set_csi_src_mux(struct ipu_soc *ipu, int csi_id, bool mipi_csi2) in ipu_set_csi_src_mux() argument
641 if (mipi_csi2) in ipu_set_csi_src_mux()
/Linux-v5.10/drivers/staging/media/tegra-video/
Dcsi.c502 lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in tegra_csi_channels_alloc()
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-fwnode.c133 struct v4l2_fwnode_bus_mipi_csi2 *bus = &vep->bus.mipi_csi2; in v4l2_fwnode_endpoint_parse_csi2_bus()
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dmipi-csis.c753 state->num_lanes = endpoint.bus.mipi_csi2.num_data_lanes; in s5pcsis_parse_dt()

12