Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/platform/cadence/
Dcdns-csi2tx.c494 struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type = 0 }; in csi2tx_check_lanes() local
502 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep), &v4l2_ep); in csi2tx_check_lanes()
508 if (v4l2_ep.bus_type != V4L2_MBUS_CSI2_DPHY) { in csi2tx_check_lanes()
510 v4l2_ep.bus_type); in csi2tx_check_lanes()
515 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.c364 struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type = 0 }; in csi2rx_parse_dt() local
374 ret = v4l2_fwnode_endpoint_parse(fwh, &v4l2_ep); in csi2rx_parse_dt()
381 if (v4l2_ep.bus_type != V4L2_MBUS_CSI2_DPHY) { in csi2rx_parse_dt()
383 v4l2_ep.bus_type); in csi2rx_parse_dt()
388 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/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.h44 struct v4l2_fwnode_endpoint v4l2_ep; member
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()
/Linux-v5.10/drivers/staging/media/tegra-video/
Dcsi.c464 struct v4l2_fwnode_endpoint v4l2_ep = { in tegra_csi_channels_alloc() local
493 ret = v4l2_fwnode_endpoint_parse(fwh, &v4l2_ep); in tegra_csi_channels_alloc()
502 lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in tegra_csi_channels_alloc()
/Linux-v5.10/drivers/media/platform/rcar-vin/
Drcar-csi2.c880 struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type = 0 }; in rcsi2_parse_dt() local
889 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep), &v4l2_ep); in rcsi2_parse_dt()
896 ret = rcsi2_parse_v4l2(priv, &v4l2_ep); in rcsi2_parse_dt()