Home
last modified time | relevance | path

Searched refs:scale_factor (Results 1 – 8 of 8) 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/iio/accel/
Dadxl372.c471 unsigned int reg_val, scale_factor; in adxl372_set_activity_time_ms() local
479 scale_factor = 3300; in adxl372_set_activity_time_ms()
481 scale_factor = 6600; in adxl372_set_activity_time_ms()
483 reg_val = DIV_ROUND_CLOSEST(act_time_ms * 1000, scale_factor); in adxl372_set_activity_time_ms()
501 unsigned int reg_val_h, reg_val_l, res, scale_factor; in adxl372_set_inactivity_time_ms() local
509 scale_factor = 13; in adxl372_set_inactivity_time_ms()
511 scale_factor = 26; in adxl372_set_inactivity_time_ms()
513 res = DIV_ROUND_CLOSEST(inact_time_ms, scale_factor); in adxl372_set_inactivity_time_ms()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c981 ctx->scale_factor = EXYNOS3250_DEC_SCALE_FACTOR_8_8; in s5p_jpeg_open()
1664 ct->scale_factor > 2) { in s5p_jpeg_s_fmt()
1709 int w_ratio, h_ratio, scale_factor, cur_ratio, i; in exynos3250_jpeg_try_downscale() local
1714 scale_factor = w_ratio > h_ratio ? w_ratio : h_ratio; in exynos3250_jpeg_try_downscale()
1715 scale_factor = clamp_val(scale_factor, 1, 8); in exynos3250_jpeg_try_downscale()
1720 if (scale_factor <= cur_ratio) { in exynos3250_jpeg_try_downscale()
1721 ctx->scale_factor = cur_ratio; in exynos3250_jpeg_try_downscale()
1726 r->width = round_down(ctx->out_q.w / ctx->scale_factor, 2); in exynos3250_jpeg_try_downscale()
1727 r->height = round_down(ctx->out_q.h / ctx->scale_factor, 2); in exynos3250_jpeg_try_downscale()
2392 ctx->scale_factor); in exynos3250_jpeg_device_run()
Djpeg-core.h232 unsigned int scale_factor; member
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c154 u64 scale_factor; in _dpu_plane_calc_bw() local
169 scale_factor = src_height > dst_height ? in _dpu_plane_calc_bw()
175 plane_bw = plane_bit_rate * scale_factor; in _dpu_plane_calc_bw()
/drivers/gpu/drm/selftests/
Dtest-drm_mm.c1089 unsigned int scale_factor = 4; in igt_frag() local
1132 if (insert_time2 > (scale_factor * insert_time1)) { in igt_frag()
1135 insert_time2 - (scale_factor * insert_time1)); in igt_frag()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c4318 u8 scale_factor = 1; in wlc_lcnphy_load_rfpower() local
4353 (1 << (scale_factor + shift - 3))) >> (scale_factor + in wlc_lcnphy_load_rfpower()
/drivers/staging/media/atomisp/pci/
Dsh_css.c6903 scale_factor = 0; in ia_css_pipe_create_cas_scaler_desc() local
6936 scale_factor = 1; in ia_css_pipe_create_cas_scaler_desc()
6939 scale_factor *= max_scale_factor_per_stage; in ia_css_pipe_create_cas_scaler_desc()
6940 } while (scale_factor < hor_scale_factor[i]); in ia_css_pipe_create_cas_scaler_desc()