Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss.c1037 struct csiphy_lanes_cfg *lncfg = &csd->interface.csi2.lane_cfg; in camss_of_parse_endpoint_node() local
1050 lncfg->clk.pos = mipi_csi2->clock_lane; in camss_of_parse_endpoint_node()
1051 lncfg->clk.pol = mipi_csi2->lane_polarities[0]; in camss_of_parse_endpoint_node()
1052 lncfg->num_data = mipi_csi2->num_data_lanes; in camss_of_parse_endpoint_node()
1054 lncfg->data = devm_kcalloc(dev, in camss_of_parse_endpoint_node()
1055 lncfg->num_data, sizeof(*lncfg->data), in camss_of_parse_endpoint_node()
1057 if (!lncfg->data) in camss_of_parse_endpoint_node()
1060 for (i = 0; i < lncfg->num_data; i++) { in camss_of_parse_endpoint_node()
1061 lncfg->data[i].pos = mipi_csi2->data_lanes[i]; in camss_of_parse_endpoint_node()
1062 lncfg->data[i].pol = mipi_csi2->lane_polarities[i + 1]; in camss_of_parse_endpoint_node()