Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/platform/qcom/camss/
Dcamss.c430 struct csiphy_lanes_cfg *lncfg = &csd->interface.csi2.lane_cfg; in camss_of_parse_endpoint_node() local
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()
444 lncfg->data = devm_kcalloc(dev, in camss_of_parse_endpoint_node()
445 lncfg->num_data, sizeof(*lncfg->data), in camss_of_parse_endpoint_node()
447 if (!lncfg->data) in camss_of_parse_endpoint_node()
450 for (i = 0; i < lncfg->num_data; i++) { 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()