Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c apply_128b_132b_stream_overhead() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0-4294967295
DATA_SOURCE 0 arg1 r dc_fixpt_from_int
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c apply_128b_132b_stream_overhead() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 128
DATA_SOURCE 0 arg1 r dc_fixpt_mul
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 10000

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2040,2043-2044

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2040,2043-2044

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 20400,20430-20440

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000000

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 18
DATA_SOURCE 0 arg1 r dc_fixpt_mul

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0-4294967295
DATA_SOURCE 0 arg1 r dc_fixpt_mul_int
UNITS 1 arg2 unit_byte

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0-4294967295
DATA_SOURCE 0 arg1 r dc_fixpt_mul_int
UNITS 1 arg2 unit_byte

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000000

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000000
DATA_SOURCE 0 arg1 r dc_fixpt_mul

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0-s32max
CAPPED_DATA 1 arg2 1
DATA_SOURCE 1 arg2 $1
UNITS 1 arg2 unit_byte

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 128

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 3

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
UNITS 1 arg2 unit_byte

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_frl_params() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 4

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_target_bandwidth() -> dc_fixpt_div_int()

Type Parameter Key Value
DATA_SOURCE 0 arg1 r dc_fixpt_mul_int

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c compute_bpp_x16_from_target_bandwidth() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0
DATA_SOURCE 0 arg1 r dc_fixpt_from_int
DATA_SOURCE 1 arg2 $3

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c dc_dsc_stream_bandwidth_overhead_in_kbps() -> dc_fixpt_div_int()

Type Parameter Key Value
DATA_SOURCE 0 arg1 r dc_fixpt_from_int
RX_PATH
TASK_NOT_RUNNING
UNITS 1 arg2 unit_byte

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c dc_dsc_stream_bandwidth_overhead_in_kbps() -> dc_fixpt_div_int()

Type Parameter Key Value
DATA_SOURCE 0 arg1 r dc_fixpt_div_int
RX_PATH
TASK_NOT_RUNNING
UNITS 1 arg2 unit_byte

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c dc_dsc_stream_bandwidth_overhead_in_kbps() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000
DATA_SOURCE 0 arg1 r dc_fixpt_mul_int
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c get_min_dsc_slice_count_for_odm() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1-u32max

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c get_min_dsc_slice_count_for_odm() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 5184

drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c setup_dsc_config() -> dc_fixpt_div_int()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clock_source.c calculate_ss() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 4
DATA_SOURCE 0 arg1 r dc_fixpt_from_fraction
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clock_source.c calculate_ss() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
DATA_SOURCE 0 arg1 r dc_fixpt_from_fraction
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/hubbub/dcn60/dcn60_hubbub.c hubbub60_perfmon_get_memory_latencies_ns() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1-u32max
DATA_SOURCE 0 arg1 r dc_fixpt_from_fraction
DATA_SOURCE 1 arg2 $1

drivers/gpu/drm/amd/amdgpu/../display/dc/hubbub/dcn60/dcn60_hubbub.c hubbub60_perfmon_start_measuring_urgent_ramp_latency() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000

drivers/gpu/drm/amd/amdgpu/../display/dc/hubbub/dcn60/dcn60_hubbub.c hubbub60_perfmon_start_measuring_urgent_ramp_latency() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 64
DATA_SOURCE 0 arg1 r dc_fixpt_div_int

drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt31_32.c dc_fixpt_cos() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 (-4611686016279904256)-4611686018427387904

drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt31_32.c dc_fixpt_exp() -> dc_fixpt_div_int()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt31_32.c dc_fixpt_sinc() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 s32min-s32max

drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt31_32.c fixed31_32_exp_from_taylor_series() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0,2-9
FUZZY_MAX 1 arg2 9
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce100/dce_clk_mgr.c dce_adjust_dp_ref_freq_for_ss() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 200
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c calculate_init_and_vp() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c get_pbn_per_slot() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 54
DATA_SOURCE 0 arg1 r dc_fixpt_from_int

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_calculate_sst_avg_time_slots_per_mtp() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 64
DATA_SOURCE 0 arg1 r dc_fixpt_from_int
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.c calculate_inits() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.c calculate_inits() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.c dce60_calculate_inits() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c dp_required_hblank_size_bytes() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0-1,4
DATA_SOURCE 0 arg1 r dc_fixpt_div

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c dp_required_hblank_size_bytes() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0-1
DATA_SOURCE 0 arg1 r dc_fixpt_from_int

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c dp_required_hblank_size_bytes() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 0-1
DATA_SOURCE 0 arg1 r dc_fixpt_from_int

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 s32min-s32max

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000000

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 18
DATA_SOURCE 0 arg1 r dc_fixpt_mul

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 100

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 100

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000000

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_common() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000000
DATA_SOURCE 0 arg1 r dc_fixpt_mul

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 8

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1-2
FUZZY_MAX 1 arg2 2
HARD_MAX 1 arg2 2

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 8

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1-2
FUZZY_MAX 1 arg2 2
HARD_MAX 1 arg2 2

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 8

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 3
DATA_SOURCE 0 arg1 r dc_fixpt_div_int

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1-2
FUZZY_MAX 1 arg2 2
HARD_MAX 1 arg2 2

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 s32min-s32max

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_capacity_computations_uncompressed_video() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1000
DATA_SOURCE 0 arg1 r dc_fixpt_mul_int

drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c compute_hlg_eotf() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 3
DATA_SOURCE 0 arg1 r dc_fixpt_mul
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c compute_hlg_eotf() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 12
DATA_SOURCE 0 arg1 r dc_fixpt_add
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c setup_x_points_distribution() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/modules/color/color_gamma.c setup_x_points_distribution() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 16
DATA_SOURCE 0 arg1 r dc_fixpt_div_int
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_dwb_scl.c dwb_program_horz_scalar() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
DATA_SOURCE 0 arg1 r dc_fixpt_add_int

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_dwb_scl.c dwb_program_horz_scalar() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
DATA_SOURCE 0 arg1 r dc_fixpt_add_int

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_dwb_scl.c dwb_program_vert_scalar() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
DATA_SOURCE 0 arg1 r dc_fixpt_add_int

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_dwb_scl.c dwb_program_vert_scalar() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
DATA_SOURCE 0 arg1 r dc_fixpt_add_int

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.c calculate_available_hblank_bw_in_symbols() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 3
DATA_SOURCE 0 arg1 r dc_fixpt_mul_int
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.c calculate_available_hblank_bw_in_symbols() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 2
DATA_SOURCE 0 arg1 r dc_fixpt_mul_int
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.c calculate_required_audio_bw_in_symbols() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1,4
DATA_SOURCE 0 arg1 r dc_fixpt_div
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.c calculate_required_audio_bw_in_symbols() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1
DATA_SOURCE 0 arg1 r dc_fixpt_div_int
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.c calculate_required_audio_bw_in_symbols() -> dc_fixpt_div_int()

Type Parameter Key Value
PARAM_VALUE 1 arg2 1
DATA_SOURCE 0 arg1 r dc_fixpt_div_int
RX_PATH
TASK_NOT_RUNNING