Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/platform/cadence/
Dcdns-csi2tx.c500 struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type = 0 }; in csi2tx_check_lanes() local
508 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep), &v4l2_ep); in csi2tx_check_lanes()
514 if (v4l2_ep.bus_type != V4L2_MBUS_CSI2_DPHY) { in csi2tx_check_lanes()
516 v4l2_ep.bus_type); in csi2tx_check_lanes()
521 csi2tx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2tx_check_lanes()
530 if (v4l2_ep.bus.mipi_csi2.data_lanes[i] < 1) { in csi2tx_check_lanes()
532 i, v4l2_ep.bus.mipi_csi2.data_lanes[i]); in csi2tx_check_lanes()
538 memcpy(csi2tx->lanes, v4l2_ep.bus.mipi_csi2.data_lanes, in csi2tx_check_lanes()
Dcdns-csi2rx.c369 struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type = 0 }; in csi2rx_parse_dt() local
380 ret = v4l2_fwnode_endpoint_parse(fwh, &v4l2_ep); in csi2rx_parse_dt()
387 if (v4l2_ep.bus_type != V4L2_MBUS_CSI2_DPHY) { in csi2rx_parse_dt()
389 v4l2_ep.bus_type); in csi2rx_parse_dt()
394 memcpy(csi2rx->lanes, v4l2_ep.bus.mipi_csi2.data_lanes, in csi2rx_parse_dt()
396 csi2rx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2rx_parse_dt()
/Linux-v5.15/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c60 if ((sdev->csi.v4l2_ep.bus_type == V4L2_MBUS_PARALLEL in sun6i_csi_is_format_supported()
61 || sdev->csi.v4l2_ep.bus_type == V4L2_MBUS_BT656) in sun6i_csi_is_format_supported()
62 && sdev->csi.v4l2_ep.bus.parallel.bus_width == 16) { in sun6i_csi_is_format_supported()
375 struct v4l2_fwnode_endpoint *endpoint = &sdev->csi.v4l2_ep; in sun6i_csi_setup_bus()
709 csi->v4l2_ep = *vep; in sun6i_csi_fwnode_parse()
Dsun6i_csi.h44 struct v4l2_fwnode_endpoint v4l2_ep; member
/Linux-v5.15/drivers/staging/media/tegra-video/
Dcsi.c477 struct v4l2_fwnode_endpoint v4l2_ep = { in tegra_csi_channels_alloc() local
506 ret = v4l2_fwnode_endpoint_parse(fwh, &v4l2_ep); in tegra_csi_channels_alloc()
515 lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in tegra_csi_channels_alloc()
Dvi.c1349 struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type = 0 }; in tegra_vi_channels_alloc() local
1385 &v4l2_ep); in tegra_vi_channels_alloc()
1390 lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in tegra_vi_channels_alloc()
/Linux-v5.15/drivers/media/platform/rcar-vin/
Drcar-csi2.c891 struct v4l2_fwnode_endpoint v4l2_ep = { in rcsi2_parse_dt() local
902 ret = v4l2_fwnode_endpoint_parse(ep, &v4l2_ep); in rcsi2_parse_dt()
909 ret = rcsi2_parse_v4l2(priv, &v4l2_ep); in rcsi2_parse_dt()