Lines Matching refs:lldiv
517 num_linkclk_line = (u32)(lldiv(link_rate * timing->hactive.typ, in tegra_dc_dp_calc_config()
526 activecount_f = lldiv(activesym_f, (u32)f) * f; in tegra_dc_dp_calc_config()
528 activecount = (u32)(lldiv(activecount_f, (u32)f)); in tegra_dc_dp_calc_config()
530 if (frac_f < (lldiv(f, 2))) /* fraction < 0.5 */ in tegra_dc_dp_calc_config()
539 frac_f = lldiv(f * f, frac_f); /* 1 / fraction */ in tegra_dc_dp_calc_config()
544 (u32)lldiv(frac_f, (u32)f) + 1 : in tegra_dc_dp_calc_config()
545 (u32)lldiv(frac_f, (u32)f); in tegra_dc_dp_calc_config()
552 approx_value_f = activefrac ? lldiv( in tegra_dc_dp_calc_config()
558 activecount_f + lldiv(f, activefrac) : in tegra_dc_dp_calc_config()
563 lldiv(approx_value_f - activesym_f, i); in tegra_dc_dp_calc_config()
567 lldiv(activesym_f - approx_value_f, i); in tegra_dc_dp_calc_config()
597 watermark_f = lldiv(ratio_f * link_cfg->tu_size * (f - ratio_f), f); in tegra_dc_dp_calc_config()
598 link_cfg->watermark = (u32)(lldiv(watermark_f + lowest_neg_error_f, in tegra_dc_dp_calc_config()
621 link_cfg->hblank_sym = (int)lldiv(((uint64_t)timing->hback_porch.typ + in tegra_dc_dp_calc_config()
638 link_cfg->vblank_sym = (int)lldiv(((uint64_t)timing->hactive.typ - 25) in tegra_dc_dp_calc_config()