Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath9k/
Dar9003_paprd.c426 int max_index, scale_factor; in create_pa_curve() local
440 scale_factor = 5; in create_pa_curve()
471 accum_tx <<= scale_factor; in create_pa_curve()
472 accum_rx <<= scale_factor; in create_pa_curve()
475 scale_factor; in create_pa_curve()
479 scale_factor) + in create_pa_curve()
480 (1 << scale_factor) * i + 16; in create_pa_curve()
486 ((accum_ang * (1 << scale_factor)) + accum_cnt) / in create_pa_curve()
508 scale_factor = 8; in create_pa_curve()
515 (((Y[6] - Y[3]) * 1 << scale_factor) + in create_pa_curve()
[all …]
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1004 ctx->scale_factor = EXYNOS3250_DEC_SCALE_FACTOR_8_8; in s5p_jpeg_open()
1652 ct->scale_factor > 2) { in s5p_jpeg_s_fmt()
1688 int w_ratio, h_ratio, scale_factor, cur_ratio, i; in exynos3250_jpeg_try_downscale() local
1693 scale_factor = w_ratio > h_ratio ? w_ratio : h_ratio; in exynos3250_jpeg_try_downscale()
1694 scale_factor = clamp_val(scale_factor, 1, 8); in exynos3250_jpeg_try_downscale()
1699 if (scale_factor <= cur_ratio) { in exynos3250_jpeg_try_downscale()
1700 ctx->scale_factor = cur_ratio; in exynos3250_jpeg_try_downscale()
1705 r->width = round_down(ctx->out_q.w / ctx->scale_factor, 2); in exynos3250_jpeg_try_downscale()
1706 r->height = round_down(ctx->out_q.h / ctx->scale_factor, 2); in exynos3250_jpeg_try_downscale()
2380 ctx->scale_factor); in exynos3250_jpeg_device_run()
Djpeg-core.h234 unsigned int scale_factor; member
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c4407 u8 scale_factor = 1; in wlc_lcnphy_load_rfpower() local
4442 (1 << (scale_factor + shift - 3))) >> (scale_factor + in wlc_lcnphy_load_rfpower()