/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.c | 405 pipe->stream_res.tg->funcs->wait_for_state(pipe->stream_res.tg, CRTC_STATE_VBLANK); 459 result = mpc->funcs->program_3dlut(mpc, 463 result = mpc->funcs->program_shaper(mpc, 490 result = mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); 506 result = mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); 510 result = mpc->funcs->program_3dlut(mpc, &plane_state->lut3d_func->lut_3d, mpcc_id); 512 result = mpc->funcs->program_3dlut(mpc, NULL, mpcc_id); 538 dpp_base->funcs->dpp_set_pre_degam(dpp_base, tf); 549 dpp_base->funcs->dpp_program_gamcor_lut(dpp_base, params); 553 hws->funcs [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/link/hwss/ |
H A D | link_hwss_hpo_dp.c | 39 hpo_dp_link_encoder->funcs->set_throttled_vcp_size(hpo_dp_link_encoder, 68 hpo_dp_stream_encoder->funcs->set_hblank_min_symbol_width(hpo_dp_stream_encoder, 77 stream_enc->funcs->enable_stream(stream_enc); 78 stream_enc->funcs->map_stream_to_link(stream_enc, stream_enc->inst, link_enc->inst); 85 stream_enc->funcs->disable(stream_enc); 94 stream_enc->funcs->set_stream_attribute( 111 if (link->dc->res_pool->dccg->funcs->set_symclk32_le_root_clock_gating) 112 link->dc->res_pool->dccg->funcs->set_symclk32_le_root_clock_gating( 116 link_res->hpo_dp_link_enc->funcs->enable_link_phy( 127 link_res->hpo_dp_link_enc->funcs [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 118 !tg->funcs->is_tg_enabled(tg) || 151 dc->res_pool->hubbub->funcs->wm_read_state(dc->res_pool->hubbub, &wm); 184 hubp->funcs->hubp_read_state(hubp); 302 dpp->funcs->dpp_read_state(dpp, &s); 303 dpp->funcs->dpp_get_gamut_remap(dpp, &s.gamut_remap); 373 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); 421 if (pool->opps[i]->funcs->dpg_is_blanked) 422 s.blank_enabled = pool->opps[i]->funcs->dpg_is_blanked(pool->opps[i]); 424 s.blank_enabled = tg->funcs->is_blanked(tg); 455 tg->funcs [all...] |
/linux-master/tools/testing/selftests/livepatch/test_modules/ |
H A D | test_klp_atomic_replace.c | 22 static struct klp_func funcs[] = { variable in typeref:struct:klp_func 32 .funcs = funcs,
|
/linux-master/include/drm/ |
H A D | drm_encoder.h | 99 * @funcs: control functions, can be NULL for simple managed encoders 192 const struct drm_encoder_funcs *funcs; member in struct:drm_encoder 208 const struct drm_encoder_funcs *funcs, 214 const struct drm_encoder_funcs *funcs, 220 const struct drm_encoder_funcs *funcs, 229 * @funcs: callbacks for this encoder (optional) 242 #define drmm_encoder_alloc(dev, type, member, funcs, encoder_type, name, ...) \ 244 offsetof(type, member), funcs, \ 250 * @funcs: callbacks for this encoder (optional) 260 #define drmm_plain_encoder_alloc(dev, funcs, encoder_typ [all...] |
H A D | drm_modeset_helper.h | 39 const struct drm_crtc_funcs *funcs);
|
H A D | drm_modeset_helper_vtables.h | 497 * @funcs: helper vtable to set for @crtc 500 const struct drm_crtc_helper_funcs *funcs) 502 crtc->helper_private = funcs; 846 * @funcs: helper vtable to set for @encoder 849 const struct drm_encoder_helper_funcs *funcs) 851 encoder->helper_private = funcs; 1186 * @funcs: helper vtable to set for @connector 1189 const struct drm_connector_helper_funcs *funcs) 1191 connector->helper_private = funcs; 1451 * @funcs 499 drm_crtc_helper_add(struct drm_crtc *crtc, const struct drm_crtc_helper_funcs *funcs) argument 848 drm_encoder_helper_add(struct drm_encoder *encoder, const struct drm_encoder_helper_funcs *funcs) argument 1188 drm_connector_helper_add(struct drm_connector *connector, const struct drm_connector_helper_funcs *funcs) argument 1453 drm_plane_helper_add(struct drm_plane *plane, const struct drm_plane_helper_funcs *funcs) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
H A D | dcn31_hwseq.c | 92 dc->res_pool->mpc->funcs->set_mpc_mem_lp_mode) 93 dc->res_pool->mpc->funcs->set_mpc_mem_lp_mode(dc->res_pool->mpc); 96 if (dc->debug.enable_mem_low_power.bits.vpg && dc->res_pool->stream_enc[0]->vpg->funcs->vpg_powerdown) { 100 dc->res_pool->stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->stream_enc[i]->vpg); 102 dc->res_pool->hpo_dp_stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->hpo_dp_stream_enc[i]->vpg); 117 if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks) 118 dc->clk_mgr->funcs->init_clocks(dc->clk_mgr); 120 if (!dcb->funcs->is_accelerated_mode(dcb)) { 121 hws->funcs.bios_golden_init(dc); 122 if (hws->funcs [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | sienna_cichlid.c | 84 r = adev->ip_blocks[i].version->funcs->suspend(adev); 89 adev->ip_blocks[i].version->funcs->name, r); 106 if (adev->gfxhub.funcs->mode2_save_regs) 107 adev->gfxhub.funcs->mode2_save_regs(adev); 108 if (adev->gfxhub.funcs->halt) 109 adev->gfxhub.funcs->halt(adev); 167 if (adev->gfxhub.funcs->mode2_restore_regs) 168 adev->gfxhub.funcs->mode2_restore_regs(adev); 169 adev->gfxhub.funcs->init(adev); 170 r = adev->gfxhub.funcs [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
H A D | dcn30_hwseq.c | 90 dpp->funcs->dpp_read_state(dpp, &s); 91 dpp->funcs->dpp_get_gamut_remap(dpp, &s.gamut_remap); 172 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); 237 result = dpp_base->funcs->dpp_program_blnd_lut(dpp_base, blend_lut); 278 acquired_rmu = mpc->funcs->acquire_rmu(mpc, mpcc_id, 283 result = mpc->funcs->program_3dlut(mpc, &stream->lut3d_func->lut_3d, 285 result = mpc->funcs->program_shaper(mpc, shaper_lut, 289 mpc->funcs->release_rmu(mpc, mpcc_id); 314 dpp_base->funcs->dpp_set_pre_degam(dpp_base, tf); 325 result = dpp_base->funcs [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | hw_translate.h | 42 const struct hw_translate_funcs *funcs; member in struct:hw_translate
|
/linux-master/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser_interface.c | 54 bios->funcs->bios_parser_destroy(dcb);
|
/linux-master/drivers/pinctrl/pxa/ |
H A D | pinctrl-pxa2xx.h | 17 #define PXA_PIN(_pin, funcs...) \ 21 funcs, { } }, \ 24 #define PXA_GPIO_PIN(_pin, funcs...) \ 30 funcs, { } }, \
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_mmu.h | 28 const struct msm_mmu_funcs *funcs; member in struct:msm_mmu 36 const struct msm_mmu_funcs *funcs, enum msm_mmu_type type) 39 mmu->funcs = funcs; 35 msm_mmu_init(struct msm_mmu *mmu, struct device *dev, const struct msm_mmu_funcs *funcs, enum msm_mmu_type type) argument
|
H A D | msm_atomic.c | 77 kms->funcs->enable_commit(kms); 85 kms->funcs->flush_commit(kms, crtc_mask); 91 kms->funcs->wait_flush(kms, crtc_mask); 96 kms->funcs->complete_commit(kms, crtc_mask); 98 kms->funcs->disable_commit(kms); 213 kms->funcs->enable_commit(kms); 221 kms->funcs->wait_flush(kms, crtc_mask); 228 if (kms->funcs->prepare_commit) 229 kms->funcs->prepare_commit(kms, state); 263 kms->funcs [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dce80/ |
H A D | dce80_hwseq.c | 49 dc->hwseq->funcs.enable_display_power_gating = dce100_enable_display_power_gating;
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.c | 91 dpp->funcs->dpp_read_state(dpp, &s); 92 dpp->funcs->dpp_get_gamut_remap(dpp, &s.gamut_remap); 161 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); 276 if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL && 277 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL) { 278 pipe_ctx->stream_res.tg->funcs->set_gsl( 282 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select( 292 if (pipe_ctx && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl) 293 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl( 388 if (pipe_ctx->plane_res.hubp && pipe_ctx->plane_res.hubp->funcs) { [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
H A D | dcn314_hwseq.c | 98 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg); 99 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); 104 odm_dsc->funcs->dsc_set_config(odm_dsc, &dsc_cfg, &dsc_optc_cfg); 105 odm_dsc->funcs->dsc_enable(odm_dsc, odm_pipe->stream_res.opp->inst); 114 pipe_ctx->stream_res.tg->funcs->set_dsc_config(pipe_ctx->stream_res.tg, 120 pipe_ctx->stream_res.tg->funcs->set_dsc_config( 125 dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc); 128 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); 167 pipe_ctx->stream_res.tg->funcs->set_odm_combine( 172 pipe_ctx->stream_res.tg->funcs [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_afmt.c | 52 if (afmt->funcs->afmt_poweron) 53 afmt->funcs->afmt_poweron(afmt); 142 if (afmt->funcs->afmt_poweron == NULL) 151 if (mute && afmt->funcs->afmt_powerdown) 152 afmt->funcs->afmt_powerdown(afmt); 153 if (!mute && afmt->funcs->afmt_poweron) 154 afmt->funcs->afmt_poweron(afmt); 173 if (afmt->funcs->afmt_poweron) 174 afmt->funcs->afmt_poweron(afmt); 210 afmt3->base.funcs [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_atomic_helper.c | 120 const struct drm_connector_helper_funcs *funcs = connector->helper_private; local 126 if (funcs->atomic_best_encoder) 127 new_encoder = funcs->atomic_best_encoder(connector, 129 else if (funcs->best_encoder) 130 new_encoder = funcs->best_encoder(connector); 296 const struct drm_connector_helper_funcs *funcs; local 356 funcs = connector->helper_private; 358 if (funcs->atomic_best_encoder) 359 new_encoder = funcs->atomic_best_encoder(connector, state); 360 else if (funcs 434 const struct drm_encoder_helper_funcs *funcs; local 484 const struct drm_crtc_helper_funcs *funcs; local 685 const struct drm_connector_helper_funcs *funcs = connector->helper_private; local 754 const struct drm_connector_helper_funcs *funcs = connector->helper_private; local 995 const struct drm_plane_helper_funcs *funcs; local 1018 const struct drm_crtc_helper_funcs *funcs; local 1133 const struct drm_encoder_helper_funcs *funcs; local 1193 const struct drm_crtc_helper_funcs *funcs; local 1348 const struct drm_crtc_helper_funcs *funcs; local 1364 const struct drm_encoder_helper_funcs *funcs; local 1434 const struct drm_connector_helper_funcs *funcs; local 1472 const struct drm_crtc_helper_funcs *funcs; local 1494 const struct drm_encoder_helper_funcs *funcs; local 1797 const struct drm_mode_config_helper_funcs *funcs; local 1876 const struct drm_plane_helper_funcs *funcs; local 1957 const struct drm_plane_helper_funcs *funcs; local 2282 const struct drm_mode_config_helper_funcs *funcs; local 2595 const struct drm_plane_helper_funcs *funcs; local 2616 const struct drm_plane_helper_funcs *funcs = plane->helper_private; local 2629 const struct drm_plane_helper_funcs *funcs = plane->helper_private; local 2640 const struct drm_plane_helper_funcs *funcs; local 2673 const struct drm_plane_helper_funcs *funcs = plane->helper_private; local 2680 const struct drm_plane_helper_funcs *funcs = plane->helper_private; local 2747 const struct drm_crtc_helper_funcs *funcs; local 2761 const struct drm_plane_helper_funcs *funcs; local 2810 const struct drm_crtc_helper_funcs *funcs; local 2828 const struct drm_plane_helper_funcs *funcs = plane->helper_private; local 2972 const struct drm_plane_helper_funcs *funcs = plane->helper_private; local [all...] |
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_kunit_helpers.c | 72 drm->mode_config.funcs = &drm_mode_config_funcs; 190 * @funcs: Callbacks for the new plane. Optional. 202 * @funcs will default to the default helpers implementations. 213 const struct drm_plane_funcs *funcs, 221 if (!funcs) 222 funcs = &default_plane_funcs; 238 funcs, 267 * @funcs: Callbacks for the new plane. Optional. 275 * @funcs will default to the default helpers implementations. 286 const struct drm_crtc_funcs *funcs, 211 drm_kunit_helper_create_primary_plane(struct kunit *test, struct drm_device *drm, const struct drm_plane_funcs *funcs, const struct drm_plane_helper_funcs *helper_funcs, const uint32_t *formats, unsigned int num_formats, const uint64_t *modifiers) argument 282 drm_kunit_helper_create_crtc(struct kunit *test, struct drm_device *drm, struct drm_plane *primary, struct drm_plane *cursor, const struct drm_crtc_funcs *funcs, const struct drm_crtc_helper_funcs *helper_funcs) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_phy.c | 86 if (dc->clk_mgr->funcs->notify_link_rate_change) 87 dc->clk_mgr->funcs->notify_link_rate_change(dc->clk_mgr, link); 154 if (link_enc->funcs->fec_set_ready && 163 link_enc->funcs->fec_set_ready(link_enc, true); 166 link_enc->funcs->fec_set_ready(link_enc, false); 176 link_enc->funcs->fec_set_ready(link_enc, false); 194 if (link_enc->funcs->fec_set_enable && 205 link_enc->funcs->fec_set_enable(link_enc, true); 208 link_enc->funcs->fec_set_enable(link_enc, false);
|
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_dev.c | 33 if (mdev->funcs->dump_register) 34 mdev->funcs->dump_register(mdev, sf); 220 mdev->funcs = komeda_identify(mdev->reg_base, &mdev->chip); 221 if (!mdev->funcs) { 232 mdev->funcs->init_format_table(mdev); 234 err = mdev->funcs->enum_resources(mdev); 284 const struct komeda_dev_funcs *funcs = mdev->funcs; local 305 if (funcs && funcs [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_wm.c | 47 if (i915->display.funcs.wm->update_wm) 48 i915->display.funcs.wm->update_wm(i915); 56 if (i915->display.funcs.wm->compute_pipe_wm) 57 return i915->display.funcs.wm->compute_pipe_wm(state, crtc); 67 if (!i915->display.funcs.wm->compute_intermediate_wm) 70 if (drm_WARN_ON(&i915->drm, !i915->display.funcs.wm->compute_pipe_wm)) 73 return i915->display.funcs.wm->compute_intermediate_wm(state, crtc); 81 if (i915->display.funcs.wm->initial_watermarks) { 82 i915->display.funcs.wm->initial_watermarks(state, crtc); 94 if (i915->display.funcs [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/irq/ |
H A D | irq_service.h | 56 struct irq_source_info_funcs *funcs; member in struct:irq_source_info 69 const struct irq_service_funcs *funcs; member in struct:irq_service
|