Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath9k/
A Dar9003_paprd.c440 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()
508 scale_factor = 8; in create_pa_curve()
524 (1 << scale_factor)) / (1 << scale_factor) + Y[3]; in create_pa_curve()
553 scale_factor = 8; in create_pa_curve()
580 (scale_factor * scale_factor)) / (scale_factor * in create_pa_curve()
581 scale_factor); in create_pa_curve()
[all …]
/linux/drivers/iio/accel/
A 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()
/linux/drivers/media/platform/s5p-jpeg/
A 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()
A Djpeg-core.h234 unsigned int scale_factor; member
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_plane.c164 u64 scale_factor; in _dpu_plane_calc_bw() local
180 scale_factor = src_height > dst_height ? in _dpu_plane_calc_bw()
185 scale_factor; in _dpu_plane_calc_bw()
189 scale_factor * mode->vtotal; in _dpu_plane_calc_bw()
/linux/drivers/gpu/drm/selftests/
A 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()
/linux/include/uapi/linux/
A Dsoundcard.h293 unsigned int scale_factor; /* from 0 to 2048 or 0 to 2 */ member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
A 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()
/linux/drivers/staging/media/atomisp/pci/
A Dsh_css.c6768 scale_factor = 0; in ia_css_pipe_create_cas_scaler_desc() local
6801 scale_factor = 1; in ia_css_pipe_create_cas_scaler_desc()
6804 scale_factor *= max_scale_factor_per_stage; in ia_css_pipe_create_cas_scaler_desc()
6805 } while (scale_factor < hor_scale_factor[i]); in ia_css_pipe_create_cas_scaler_desc()
/linux/fs/nfsd/
A Dnfs4state.c1667 unsigned int scale_factor; in nfsd4_get_drc_mem() local
1689 scale_factor = max_t(unsigned int, 8, nn->nfsd_serv->sv_nrthreads); in nfsd4_get_drc_mem()
1692 total_avail/scale_factor); in nfsd4_get_drc_mem()
/linux/arch/powerpc/xmon/
A Dppc-opc.c1883 int scale_factor = (insn & 0x300) >> 5; in extract_sci8() local
1884 long value = (insn & 0xff) << scale_factor; in extract_sci8()
1887 value |= ~((long) 0xff << scale_factor); in extract_sci8()

Completed in 83 milliseconds