Searched refs:fbw (Results 1 – 4 of 4) sorted by relevance
189 static int zl10036_set_bandwidth(struct zl10036_state *state, u32 fbw) in zl10036_set_bandwidth() argument203 if (fbw > 35000) in zl10036_set_bandwidth()204 fbw = 35000; in zl10036_set_bandwidth()205 if (fbw < 8000) in zl10036_set_bandwidth()206 fbw = 8000; in zl10036_set_bandwidth()211 if (fbw <= 28820) { in zl10036_set_bandwidth()218 br = ((_XTAL * 21 * 1000) / (fbw * 419)); in zl10036_set_bandwidth()231 bf = (fbw * br * 1257) / (_XTAL * 1000) - 1; in zl10036_set_bandwidth()239 deb_info("%s: BW=%d br=%u bf=%u\n", __func__, fbw, br, bf); in zl10036_set_bandwidth()300 u32 fbw; in zl10036_set_params() local[all …]
182 u32 fbw; in zl10039_set_params() local193 fbw = (c->symbol_rate * 27) / 32000; in zl10039_set_params()195 bf = ((fbw * 5088) / 1011100) - 1; in zl10039_set_params()
395 int fbw, fbh; in gd_update() local416 fbw = surface_width(vc->gfx.ds) * vc->gfx.scale_x; in gd_update()427 if (ww > fbw) { in gd_update()428 mx = (ww - fbw) / 2; in gd_update()808 int fbw, fbh; in gd_draw_event() local838 fbw = surface_width(vc->gfx.ds); in gd_draw_event()845 vc->gfx.scale_x = (double)ww / fbw; in gd_draw_event()850 sx = (double)ww / fbw; in gd_draw_event()856 fbw *= vc->gfx.scale_x; in gd_draw_event()860 if (ww > fbw) { in gd_draw_event()[all …]
1914 u16 fbw, fbh; in calc_dma_rotation_offset() local1935 fbw = width; in calc_dma_rotation_offset()1938 fbw = height; in calc_dma_rotation_offset()1954 (y_predecim * screen_width - fbw * x_predecim) + in calc_dma_rotation_offset()1973 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()1979 (y_predecim * screen_width - fbw * x_predecim) - in calc_dma_rotation_offset()1988 *offset1 = (fbw - 1) * ps; in calc_dma_rotation_offset()2000 *offset1 = (fbw - 1) * ps; in calc_dma_rotation_offset()2044 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()