Searched refs:hfactor (Results 1 – 4 of 4) sorted by relevance
225 u32 hfactor; member
262 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor); in fimc_set_scaler_info()274 sc->main_hratio = (sx << 14) / (tx << sc->hfactor); in fimc_set_scaler_info()277 sc->main_hratio = (sx << 8) / (tx << sc->hfactor); in fimc_set_scaler_info()
247 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler()
6524 uint32 hfactor = 0, cyc_delta, dec1 = 0, dec2, dec3, tmp; local6568 hfactor = cyc_delta / tsf_delta;6569 tmp = (cyc_delta - (hfactor * tsf_delta))*10;6580 hfactor++;6591 if (hfactor) {6592 htsf = ((cyc_delta * 10) / (hfactor*10+dec1)) + prev_tsf.low;6593 dhd->htsf.coef = hfactor;