Lines Matching refs:buscfg
2056 struct isp_bus_cfg *buscfg) in isp_parse_of_parallel_endpoint() argument
2058 buscfg->interface = ISP_INTERFACE_PARALLEL; in isp_parse_of_parallel_endpoint()
2059 buscfg->bus.parallel.data_lane_shift = vep->bus.parallel.data_shift; in isp_parse_of_parallel_endpoint()
2060 buscfg->bus.parallel.clk_pol = in isp_parse_of_parallel_endpoint()
2062 buscfg->bus.parallel.hs_pol = in isp_parse_of_parallel_endpoint()
2064 buscfg->bus.parallel.vs_pol = in isp_parse_of_parallel_endpoint()
2066 buscfg->bus.parallel.fld_pol = in isp_parse_of_parallel_endpoint()
2068 buscfg->bus.parallel.data_pol = in isp_parse_of_parallel_endpoint()
2070 buscfg->bus.parallel.bt656 = vep->bus_type == V4L2_MBUS_BT656; in isp_parse_of_parallel_endpoint()
2075 struct isp_bus_cfg *buscfg) in isp_parse_of_csi2_endpoint() argument
2079 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint()
2080 buscfg->bus.csi2.lanecfg.clk.pol = in isp_parse_of_csi2_endpoint()
2083 buscfg->bus.csi2.lanecfg.clk.pol, in isp_parse_of_csi2_endpoint()
2084 buscfg->bus.csi2.lanecfg.clk.pos); in isp_parse_of_csi2_endpoint()
2086 buscfg->bus.csi2.num_data_lanes = vep->bus.mipi_csi2.num_data_lanes; in isp_parse_of_csi2_endpoint()
2088 for (i = 0; i < buscfg->bus.csi2.num_data_lanes; i++) { in isp_parse_of_csi2_endpoint()
2089 buscfg->bus.csi2.lanecfg.data[i].pos = in isp_parse_of_csi2_endpoint()
2091 buscfg->bus.csi2.lanecfg.data[i].pol = in isp_parse_of_csi2_endpoint()
2095 buscfg->bus.csi2.lanecfg.data[i].pol, in isp_parse_of_csi2_endpoint()
2096 buscfg->bus.csi2.lanecfg.data[i].pos); in isp_parse_of_csi2_endpoint()
2102 buscfg->bus.csi2.crc = 1; in isp_parse_of_csi2_endpoint()
2107 struct isp_bus_cfg *buscfg) in isp_parse_of_csi1_endpoint() argument
2109 buscfg->bus.ccp2.lanecfg.clk.pos = vep->bus.mipi_csi1.clock_lane; in isp_parse_of_csi1_endpoint()
2110 buscfg->bus.ccp2.lanecfg.clk.pol = vep->bus.mipi_csi1.lane_polarity[0]; in isp_parse_of_csi1_endpoint()
2112 buscfg->bus.ccp2.lanecfg.clk.pol, in isp_parse_of_csi1_endpoint()
2113 buscfg->bus.ccp2.lanecfg.clk.pos); in isp_parse_of_csi1_endpoint()
2115 buscfg->bus.ccp2.lanecfg.data[0].pos = vep->bus.mipi_csi1.data_lane; in isp_parse_of_csi1_endpoint()
2116 buscfg->bus.ccp2.lanecfg.data[0].pol = in isp_parse_of_csi1_endpoint()
2120 buscfg->bus.ccp2.lanecfg.data[0].pol, in isp_parse_of_csi1_endpoint()
2121 buscfg->bus.ccp2.lanecfg.data[0].pos); in isp_parse_of_csi1_endpoint()
2123 buscfg->bus.ccp2.strobe_clk_pol = vep->bus.mipi_csi1.clock_inv; in isp_parse_of_csi1_endpoint()
2124 buscfg->bus.ccp2.phy_layer = vep->bus.mipi_csi1.strobe; in isp_parse_of_csi1_endpoint()
2125 buscfg->bus.ccp2.ccp2_mode = vep->bus_type == V4L2_MBUS_CCP2; in isp_parse_of_csi1_endpoint()
2126 buscfg->bus.ccp2.vp_clk_pol = 1; in isp_parse_of_csi1_endpoint()
2128 buscfg->bus.ccp2.crc = 1; in isp_parse_of_csi1_endpoint()
2132 struct isp_bus_cfg **buscfg) in isp_alloc_isd() argument
2141 *buscfg = &__isd->bus; in isp_alloc_isd()
2161 struct isp_bus_cfg *buscfg; in isp_parse_of_endpoints() local
2179 ret = isp_alloc_isd(&isd, &buscfg); in isp_parse_of_endpoints()
2185 isp_parse_of_parallel_endpoint(isp->dev, &vep, buscfg); in isp_parse_of_endpoints()
2211 ret = isp_alloc_isd(&isd, &buscfg); in isp_parse_of_endpoints()
2217 buscfg->interface = isp_bus_interfaces[i].csi2_if; in isp_parse_of_endpoints()
2218 isp_parse_of_csi2_endpoint(isp->dev, &vep, buscfg); in isp_parse_of_endpoints()
2230 buscfg->interface = in isp_parse_of_endpoints()
2233 buscfg); in isp_parse_of_endpoints()