Home
last modified time | relevance | path

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

/drivers/media/video/s5p-fimc/
Dfimc-core.h225 u32 hfactor; member
Dfimc-core.c262 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()
Dfimc-reg.c247 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler()
/drivers/net/wireless/bcmdhd/
Ddhd_linux.c6524 uint32 hfactor = 0, cyc_delta, dec1 = 0, dec2, dec3, tmp; local
6568 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;