Home
last modified time | relevance | path

Searched refs:int_part (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/sun4i/
Dsun8i_ui_scaler.c108 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local
111 int_part = scale >> 3; in sun8i_ui_scaler_coef_index()
114 switch (int_part) { in sun8i_ui_scaler_coef_index()
Dsun8i_vi_scaler.c848 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local
851 int_part = scale >> 3; in sun8i_vi_scaler_coef_index()
854 switch (int_part) { in sun8i_vi_scaler_coef_index()
/linux-6.6.21/sound/soc/tegra/
Dtegra186_asrc.c117 asrc->lane[id].int_part); in tegra186_asrc_runtime_resume()
231 asrc->lane[id].int_part); in tegra186_asrc_out_hw_params()
286 &asrc->lane[id].int_part); in tegra186_asrc_get_ratio_int()
288 ucontrol->value.integer.value[0] = asrc->lane[id].int_part; in tegra186_asrc_get_ratio_int()
310 asrc->lane[id].int_part = ucontrol->value.integer.value[0]; in tegra186_asrc_put_ratio_int()
316 asrc->lane[id].int_part, &change); in tegra186_asrc_put_ratio_int()
997 asrc->lane[i].int_part = 1; in tegra186_asrc_platform_probe()
Dtegra186_asrc.h99 unsigned int int_part; member
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c95 unsigned int_part; in scale_line() local
107 int_part = srcw / dstw; in scale_line()
111 src_x += int_part; in scale_line()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1243 int int_part; in calculate_init_and_vp() local
1265 int_part = dc_fixpt_floor(*init); in calculate_init_and_vp()
1266 if (int_part < taps) { in calculate_init_and_vp()
1267 int_part = taps - int_part; in calculate_init_and_vp()
1268 if (int_part > *vp_offset) in calculate_init_and_vp()
1269 int_part = *vp_offset; in calculate_init_and_vp()
1270 *vp_offset -= int_part; in calculate_init_and_vp()
1271 *init = dc_fixpt_add_int(*init, int_part); in calculate_init_and_vp()
/linux-6.6.21/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1780 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line() local
1792 src_x += int_part; in tpg_precalculate_line()
1803 src_x += int_part; in tpg_precalculate_line()
2601 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; in tpg_fill_plane_buffer() local
2627 src_y += int_part; in tpg_fill_plane_buffer()
2656 next_src_y += int_part; in tpg_fill_plane_buffer()