Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
- drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c, line 2443
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn31/dcn31_resource.c dcn31_update_dc_state_for_encoder_switch() -> build_audio_output()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | audio_output | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->dm.dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dce110/dce110_hwseq.c dce110_apply_single_controller_ctx_to_hw() -> build_audio_output()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->res_ctx.pipe_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx->prev_odm_pipe | 0 |
| PARAM_VALUE | 1 | pipe_ctx->stream | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx->stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx->stream_res.audio | 1-u64max |
| PARAM_VALUE | 1 | pipe_ctx->top_pipe | 0 |
| PARAM_VALUE | 2 | audio_output | 7612529310057574400 |
| PARAM_VALUE | 2 | audio_output->crtc_info.calculated_pixel_clock_100Hz | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.color_depth | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.dsc_bits_per_pixel | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.dsc_num_slices | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.frl_character_clock_kHz | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.h_active | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.h_total | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.interlaced | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.pixel_encoding | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.pixel_repetition | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.refresh_rate | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.requested_pixel_clock_100Hz | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.v_active | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.encoding | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.hblank_min_symbol_width | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.is_mst | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.lane_count | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.link_bandwidth_kbps | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.link_rate | 0 |
| PARAM_VALUE | 2 | audio_output->engine_id | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.audio_dto_source_clock_in_khz | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.dto_source | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.ss_enabled | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.ss_percentage | 0 |
| PARAM_VALUE | 2 | audio_output->signal | 0 |
| CAPPED_DATA | 1 | pipe_ctx->stream | 1 |
| DATA_SOURCE | 0 | state | $1 |
| DATA_SOURCE | 1 | pipe_ctx | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dce110/dce110_hwseq.c dce110_setup_audio_dto() -> build_audio_output()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->res_ctx.pipe_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | state->stream_count | 1-255 |
| PARAM_VALUE | 1 | pipe_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx->stream | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx->stream->signal | 4,256 |
| PARAM_VALUE | 1 | pipe_ctx->stream_res.audio | 1-u64max |
| PARAM_VALUE | 1 | pipe_ctx->top_pipe | 0 |
| PARAM_VALUE | 2 | audio_output | 2772973079849701376 |
| DATA_SOURCE | 0 | state | $1 |
| FUZZY_MAX | 0 | state->stream_count | 1 |
| BIT_INFO | 1 | pipe_ctx->stream->signal | 0x0,0x104 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dce110/dce110_hwseq.c dce110_setup_audio_dto() -> build_audio_output()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->res_ctx.pipe_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | state->stream_count | 1-255 |
| PARAM_VALUE | 1 | pipe_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx->stream | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe_ctx->stream->signal | 32,64,128 |
| PARAM_VALUE | 1 | pipe_ctx->stream_res.audio | 1-u64max |
| PARAM_VALUE | 1 | pipe_ctx->top_pipe | 0 |
| PARAM_VALUE | 2 | audio_output | 2772973079849701376 |
| PARAM_VALUE | 2 | audio_output->crtc_info.calculated_pixel_clock_100Hz | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.color_depth | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.dsc_bits_per_pixel | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.dsc_num_slices | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.frl_character_clock_kHz | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.h_active | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.h_total | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.interlaced | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.pixel_encoding | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.pixel_repetition | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.refresh_rate | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.requested_pixel_clock_100Hz | 0 |
| PARAM_VALUE | 2 | audio_output->crtc_info.v_active | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.encoding | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.hblank_min_symbol_width | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.is_mst | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.lane_count | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.link_bandwidth_kbps | 0 |
| PARAM_VALUE | 2 | audio_output->dp_link_info.link_rate | 0 |
| PARAM_VALUE | 2 | audio_output->engine_id | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.audio_dto_source_clock_in_khz | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.dto_source | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.ss_enabled | 0 |
| PARAM_VALUE | 2 | audio_output->pll_info.ss_percentage | 0 |
| PARAM_VALUE | 2 | audio_output->signal | 0 |
| DATA_SOURCE | 0 | state | $1 |
| FUZZY_MAX | 0 | state->stream_count | 1 |
| NOCHECK_CALL |