Searched refs:dphy_opts (Results 1 – 4 of 4) sorted by relevance
201 numerator = dphy_opts->hs_clk_rate; in mixel_dphy_config_from_opts()207 dphy_opts->hs_clk_rate, ref_clk); in mixel_dphy_config_from_opts()233 dphy_opts->hs_clk_rate, ref_clk, in mixel_dphy_config_from_opts()249 dphy_opts->lp_clk_rate, lp_t); in mixel_dphy_config_from_opts()252 if (2 * dphy_opts->hs_prepare > 5 * lp_t) { in mixel_dphy_config_from_opts()255 dphy_opts->hs_prepare, lp_t); in mixel_dphy_config_from_opts()259 if (dphy_opts->hs_prepare < lp_t) { in mixel_dphy_config_from_opts()262 tmp = 2 * (dphy_opts->hs_prepare - lp_t); in mixel_dphy_config_from_opts()272 dphy_opts->clk_prepare, lp_t); in mixel_dphy_config_from_opts()296 if (dphy_opts->hs_clk_rate < MBPS(80)) in mixel_dphy_config_from_opts()[all …]
221 struct phy_configure_opts_mipi_dphy *dphy_opts, in dphy_pll_get_configure_from_opts() argument235 if (dphy_opts->hs_clk_rate < DATA_RATE_MIN_SPEED || in dphy_pll_get_configure_from_opts()236 dphy_opts->hs_clk_rate > DATA_RATE_MAX_SPEED) { in dphy_pll_get_configure_from_opts()238 dphy_opts->hs_clk_rate); in dphy_pll_get_configure_from_opts()242 fout = data_rate_to_fout(dphy_opts->hs_clk_rate); in dphy_pll_get_configure_from_opts()321 dphy_pll_get_hsfreqrange(struct phy_configure_opts_mipi_dphy *dphy_opts) in dphy_pll_get_hsfreqrange() argument323 unsigned long mbps = dphy_opts->hs_clk_rate / MHZ(1); in dphy_pll_get_hsfreqrange()333 static u8 dphy_pll_get_vco(struct phy_configure_opts_mipi_dphy *dphy_opts) in dphy_pll_get_vco() argument335 unsigned long fout = data_rate_to_fout(dphy_opts->hs_clk_rate) / MHZ(1); in dphy_pll_get_vco()345 static u8 dphy_pll_get_prop(struct phy_configure_opts_mipi_dphy *dphy_opts) in dphy_pll_get_prop() argument[all …]
174 union phy_configure_opts dphy_opts = { 0 }; in sun6i_mipi_csi2_s_stream() local175 struct phy_configure_opts_mipi_dphy *dphy_cfg = &dphy_opts.mipi_dphy; in sun6i_mipi_csi2_s_stream()255 ret = phy_configure(dphy, &dphy_opts); in sun6i_mipi_csi2_s_stream()
206 union phy_configure_opts dphy_opts = { 0 }; in sun8i_a83t_mipi_csi2_s_stream() local207 struct phy_configure_opts_mipi_dphy *dphy_cfg = &dphy_opts.mipi_dphy; in sun8i_a83t_mipi_csi2_s_stream()287 ret = phy_configure(dphy, &dphy_opts); in sun8i_a83t_mipi_csi2_s_stream()