| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_ddp_comp.h | 100 const struct mtk_ddp_comp_funcs *funcs; member 105 if (comp->funcs && comp->funcs->power_on) in mtk_ddp_comp_power_on() 106 return comp->funcs->power_on(comp->dev); in mtk_ddp_comp_power_on() 114 if (comp->funcs && comp->funcs->power_off) in mtk_ddp_comp_power_off() 115 comp->funcs->power_off(comp->dev); in mtk_ddp_comp_power_off() 122 if (comp->funcs && comp->funcs->clk_enable) in mtk_ddp_comp_clk_enable() 123 return comp->funcs->clk_enable(comp->dev); in mtk_ddp_comp_clk_enable() 130 if (comp->funcs && comp->funcs->clk_disable) in mtk_ddp_comp_clk_disable() 131 comp->funcs->clk_disable(comp->dev); in mtk_ddp_comp_clk_disable() 138 if (comp && comp->funcs && comp->funcs->mode_valid) in mtk_ddp_comp_mode_valid() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_psp.h | 365 const struct psp_funcs *funcs; member 458 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) 459 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) 460 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) 462 ((psp)->funcs->init_microcode ? (psp)->funcs->init_microcode((psp)) : 0) 464 ((psp)->funcs->bootloader_load_kdb ? (psp)->funcs->bootloader_load_kdb((psp)) : 0) 466 ((psp)->funcs->bootloader_load_spl ? (psp)->funcs->bootloader_load_spl((psp)) : 0) 468 ((psp)->funcs->bootloader_load_sysdrv ? (psp)->funcs->bootloader_load_sysdrv((psp)) : 0) 470 ((psp)->funcs->bootloader_load_soc_drv ? (psp)->funcs->bootloader_load_soc_drv((psp)) : 0) 472 ((psp)->funcs->bootloader_load_intf_drv ? (psp)->funcs->bootloader_load_intf_drv((psp)) : 0) [all …]
|
| H A D | amdgpu_umsch_mm.h | 139 const struct umsch_mm_funcs *funcs; member 212 ((umsch)->funcs->set_hw_resources ? (umsch)->funcs->set_hw_resources((umsch)) : 0) 214 ((umsch)->funcs->add_queue ? (umsch)->funcs->add_queue((umsch), (input)) : 0) 216 ((umsch)->funcs->remove_queue ? (umsch)->funcs->remove_queue((umsch), (input)) : 0) 219 ((umsch)->funcs->set_regs ? (umsch)->funcs->set_regs((umsch)) : 0) 221 ((umsch)->funcs->init_microcode ? (umsch)->funcs->init_microcode((umsch)) : 0) 223 ((umsch)->funcs->load_microcode ? (umsch)->funcs->load_microcode((umsch)) : 0) 226 ((umsch)->funcs->ring_init ? (umsch)->funcs->ring_init((umsch)) : 0) 228 ((umsch)->funcs->ring_start ? (umsch)->funcs->ring_start((umsch)) : 0) 230 ((umsch)->funcs->ring_stop ? (umsch)->funcs->ring_stop((umsch)) : 0) [all …]
|
| H A D | amdgpu_ring.c | 86 ndw = (ndw + ring->funcs->align_mask) & ~ring->funcs->align_mask; in amdgpu_ring_alloc() 97 if (ring->funcs->begin_use) in amdgpu_ring_alloc() 98 ring->funcs->begin_use(ring); in amdgpu_ring_alloc() 117 ndw = (ndw + ring->funcs->align_mask) & ~ring->funcs->align_mask; in amdgpu_ring_alloc_reemit() 122 if (ring->funcs->begin_use) in amdgpu_ring_alloc_reemit() 123 ring->funcs->begin_use(ring); in amdgpu_ring_alloc_reemit() 143 memset32(&ring->ring[occupied], ring->funcs->nop, chunk1); in amdgpu_ring_insert_nop() 146 memset32(ring->ring, ring->funcs->nop, chunk2); in amdgpu_ring_insert_nop() 163 u32 align_mask = ring->funcs->align_mask; in amdgpu_ring_generic_pad_ib() 169 memset32(&ib->ptr[ib->length_dw], ring->funcs->nop, count); in amdgpu_ring_generic_pad_ib() [all …]
|
| H A D | amdgpu_ring.h | 305 const struct amdgpu_ring_funcs *funcs; member 428 #define amdgpu_ring_parse_cs(r, p, job, ib) ((r)->funcs->parse_cs((p), (job), (ib))) 429 #define amdgpu_ring_patch_cs_in_place(r, p, job, ib) ((r)->funcs->patch_cs_in_place((p), (job), (ib… 430 #define amdgpu_ring_test_ring(r) (r)->funcs->test_ring((r)) 431 #define amdgpu_ring_test_ib(r, t) ((r)->funcs->test_ib ? (r)->funcs->test_ib((r), (t)) : 0) 432 #define amdgpu_ring_get_rptr(r) (r)->funcs->get_rptr((r)) 433 #define amdgpu_ring_get_wptr(r) (r)->funcs->get_wptr((r)) 434 #define amdgpu_ring_set_wptr(r) (r)->funcs->set_wptr((r)) 435 #define amdgpu_ring_emit_ib(r, job, ib, flags) ((r)->funcs->emit_ib((r), (job), (ib), (flags))) 436 #define amdgpu_ring_emit_pipeline_sync(r) (r)->funcs->emit_pipeline_sync((r)) [all …]
|
| H A D | soc15.c | 342 return adev->nbio.funcs->get_memsize(adev); in soc15_get_config_memsize() 513 adev->nbio.funcs->enable_doorbell_interrupt(adev, false); in soc15_asic_baco_reset() 521 adev->nbio.funcs->enable_doorbell_interrupt(adev, true); in soc15_asic_baco_reset() 703 if (adev->nbio.funcs->program_aspm) in soc15_program_aspm() 704 adev->nbio.funcs->program_aspm(adev); in soc15_program_aspm() 713 .funcs = &soc15_common_ip_funcs, 964 adev->nbio.funcs->set_reg_remap(adev); in soc15_common_early_init() 1242 adev->nbio.funcs->enable_doorbell_selfring_aperture(adev, true); in soc15_common_late_init() 1254 if (adev->df.funcs && in soc15_common_sw_init() 1255 adev->df.funcs->sw_init) in soc15_common_sw_init() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.c | 92 dpp->funcs->dpp_read_state(dpp, &s); in dcn20_log_color_state() 93 if (dpp->funcs->dpp_get_gamut_remap) { in dcn20_log_color_state() 94 dpp->funcs->dpp_get_gamut_remap(dpp, &s.gamut_remap); in dcn20_log_color_state() 171 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn20_log_color_state() 286 if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL) { in dcn20_setup_gsl_group_as_lock() 287 pipe_ctx->stream_res.tg->funcs->set_gsl( in dcn20_setup_gsl_group_as_lock() 290 if (pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL) in dcn20_setup_gsl_group_as_lock() 291 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select( in dcn20_setup_gsl_group_as_lock() 301 if (pipe_ctx && pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl) in dcn20_set_flip_control_gsl() 302 pipe_ctx->plane_res.hubp->funcs->hubp_set_flip_control_surface_gsl( in dcn20_set_flip_control_gsl() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 74 clocks->dispclk_khz = dc->clk_mgr->funcs->get_dispclk_from_dentist(dc->clk_mgr); in dcn401_initialize_min_clocks() 80 dc->clk_mgr->funcs->update_clocks( in dcn401_initialize_min_clocks() 110 mpc->funcs->set_gamut_remap(mpc, mpcc_id, &mpc_adjust); in dcn401_program_gamut_remap() 116 mpc->funcs->set_gamut_remap(mpc, mpcc_id, &mpc_adjust); in dcn401_program_gamut_remap() 132 mpc->funcs->set_gamut_remap(mpc, mpcc_id, &mpc_adjust); in dcn401_program_gamut_remap() 147 if (dc->clk_mgr && dc->clk_mgr->funcs && dc->clk_mgr->funcs->init_clocks) { in dcn401_init_hw() 148 dc->clk_mgr->funcs->init_clocks(dc->clk_mgr); in dcn401_init_hw() 151 dc->caps.dcmode_power_limits_present = dc->clk_mgr->funcs->is_dc_mode_present && in dcn401_init_hw() 152 dc->clk_mgr->funcs->is_dc_mode_present(dc->clk_mgr); in dcn401_init_hw() 156 if (res_pool->dccg->funcs->dccg_init) in dcn401_init_hw() [all …]
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_hdmi_audio_helper.c | 20 const struct drm_connector_hdmi_audio_funcs *funcs = in drm_connector_hdmi_audio_startup() local 21 connector->hdmi_audio.funcs; in drm_connector_hdmi_audio_startup() 23 if (funcs->startup) in drm_connector_hdmi_audio_startup() 24 return funcs->startup(connector); in drm_connector_hdmi_audio_startup() 34 const struct drm_connector_hdmi_audio_funcs *funcs = in drm_connector_hdmi_audio_prepare() local 35 connector->hdmi_audio.funcs; in drm_connector_hdmi_audio_prepare() 37 return funcs->prepare(connector, fmt, hparms); in drm_connector_hdmi_audio_prepare() 43 const struct drm_connector_hdmi_audio_funcs *funcs = in drm_connector_hdmi_audio_shutdown() local 44 connector->hdmi_audio.funcs; in drm_connector_hdmi_audio_shutdown() 46 return funcs->shutdown(connector); in drm_connector_hdmi_audio_shutdown() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
| H A D | dcn201_hwseq.c | 149 pipe_ctx->plane_res.hubp->funcs->hubp_program_surface_flip_and_addr( in dcn201_update_plane_addr() 180 tg->funcs->get_otg_active_size(tg, in dcn201_init_blank() 185 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn201_init_blank() 189 opp->funcs->opp_set_disp_pattern_generator( in dcn201_init_blank() 199 hws->funcs.wait_for_blank_complete(opp); in dcn201_init_blank() 231 if (res_pool->dccg->funcs->dccg_init) in dcn201_init_hw() 232 res_pool->dccg->funcs->dccg_init(res_pool->dccg); in dcn201_init_hw() 234 if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks) in dcn201_init_hw() 235 dc->clk_mgr->funcs->init_clocks(dc->clk_mgr); in dcn201_init_hw() 237 hws->funcs.bios_golden_init(dc); in dcn201_init_hw() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 229 bp_result = dcb->funcs->enable_disp_power_gating( in dce110_enable_display_power_gating() 297 ipp->funcs->ipp_program_prescale(ipp, &prescale_params); in dce110_set_input_transfer_func() 301 ipp->funcs->ipp_program_input_lut(ipp, &plane_state->gamma_correction); in dce110_set_input_transfer_func() 306 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_HW_sRGB); in dce110_set_input_transfer_func() 309 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_HW_xvYCC); in dce110_set_input_transfer_func() 312 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_BYPASS); in dce110_set_input_transfer_func() 320 ipp->funcs->ipp_set_degamma(ipp, IPP_DEGAMMA_MODE_BYPASS); in dce110_set_input_transfer_func() 611 xfm->funcs->opp_power_on_regamma_lut(xfm, true); in dce110_set_output_transfer_func() 616 xfm->funcs->opp_set_regamma_mode(xfm, OPP_REGAMMA_SRGB); in dce110_set_output_transfer_func() 619 xfm->funcs->opp_program_regamma_pwl(xfm, &xfm->regamma_params); in dce110_set_output_transfer_func() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_helper.c | 122 const struct drm_connector_helper_funcs *funcs = connector->helper_private; in handle_conflicting_encoders() local 128 if (funcs->atomic_best_encoder) in handle_conflicting_encoders() 129 new_encoder = funcs->atomic_best_encoder(connector, in handle_conflicting_encoders() 131 else if (funcs->best_encoder) in handle_conflicting_encoders() 132 new_encoder = funcs->best_encoder(connector); in handle_conflicting_encoders() 298 const struct drm_connector_helper_funcs *funcs; in update_connector_routing() local 358 funcs = connector->helper_private; in update_connector_routing() 360 if (funcs->atomic_best_encoder) in update_connector_routing() 361 new_encoder = funcs->atomic_best_encoder(connector, state); in update_connector_routing() 362 else if (funcs->best_encoder) in update_connector_routing() [all …]
|
| H A D | drm_encoder.c | 80 if (encoder->funcs && encoder->funcs->late_register) in drm_encoder_register_all() 81 ret = encoder->funcs->late_register(encoder); in drm_encoder_register_all() 94 if (encoder->funcs && encoder->funcs->early_unregister) in drm_encoder_unregister_all() 95 encoder->funcs->early_unregister(encoder); in drm_encoder_unregister_all() 103 const struct drm_encoder_funcs *funcs, in __drm_encoder_init() argument 118 encoder->funcs = funcs; in __drm_encoder_init() 165 const struct drm_encoder_funcs *funcs, in drm_encoder_init() argument 171 WARN_ON(!funcs->destroy); in drm_encoder_init() 174 ret = __drm_encoder_init(dev, encoder, funcs, encoder_type, name, ap); in drm_encoder_init() 223 const struct drm_encoder_funcs *funcs, in __drmm_encoder_init() argument [all …]
|
| H A D | drm_client_event.c | 45 if (client->funcs && client->funcs->unregister) in drm_client_dev_unregister() 46 client->funcs->unregister(client); in drm_client_dev_unregister() 59 if (!client->funcs || !client->funcs->hotplug) in drm_client_hotplug() 71 ret = client->funcs->hotplug(client); in drm_client_hotplug() 115 if (!client->funcs || !client->funcs->restore) in drm_client_dev_restore() 118 ret = client->funcs->restore(client, force); in drm_client_dev_restore() 134 if (client->funcs && client->funcs->suspend) in drm_client_suspend() 135 ret = client->funcs->suspend(client); in drm_client_suspend() 164 if (client->funcs && client->funcs->resume) in drm_client_resume() 165 ret = client->funcs->resume(client); in drm_client_resume()
|
| H A D | drm_plane.c | 363 const struct drm_plane_funcs *funcs, in __drm_universal_plane_init() argument 390 (!funcs->atomic_destroy_state || in __drm_universal_plane_init() 391 !funcs->atomic_duplicate_state)); in __drm_universal_plane_init() 401 plane->funcs = funcs; in __drm_universal_plane_init() 485 plane->funcs->format_mod_supported); in __drm_universal_plane_init() 492 if (plane->funcs->format_mod_supported_async) { in __drm_universal_plane_init() 494 plane->funcs->format_mod_supported_async); in __drm_universal_plane_init() 534 const struct drm_plane_funcs *funcs, in drm_universal_plane_init() argument 543 WARN_ON(!funcs->destroy); in drm_universal_plane_init() 546 ret = __drm_universal_plane_init(dev, plane, possible_crtcs, funcs, in drm_universal_plane_init() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
| H A D | link_hwss_hpo_dp.c | 41 hpo_dp_link_encoder->funcs->set_throttled_vcp_size(hpo_dp_link_encoder, in set_hpo_dp_throttled_vcp_size() 70 hpo_dp_stream_encoder->funcs->set_hblank_min_symbol_width(hpo_dp_stream_encoder, in set_hpo_dp_hblank_min_symbol_width() 79 stream_enc->funcs->enable_stream(stream_enc); in setup_hpo_dp_stream_encoder() 80 stream_enc->funcs->map_stream_to_link(stream_enc, stream_enc->inst, link_enc->inst); in setup_hpo_dp_stream_encoder() 87 stream_enc->funcs->disable(stream_enc); in reset_hpo_dp_stream_encoder() 96 stream_enc->funcs->set_stream_attribute( in setup_hpo_dp_stream_attribute() 118 if (link->dc->res_pool->dccg->funcs->set_symclk32_le_root_clock_gating) in enable_hpo_dp_link_output() 119 link->dc->res_pool->dccg->funcs->set_symclk32_le_root_clock_gating( in enable_hpo_dp_link_output() 123 link_res->hpo_dp_link_enc->funcs->enable_link_phy( in enable_hpo_dp_link_output() 139 link_res->hpo_dp_link_enc->funcs->link_disable(link_res->hpo_dp_link_enc); in disable_hpo_dp_link_output() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn351/ |
| H A D | dcn351_hwseq.c | 110 if (pg_cntl->funcs->dsc_pg_control) in dcn351_hw_block_power_down() 111 pg_cntl->funcs->dsc_pg_control(pg_cntl, i, false); in dcn351_hw_block_power_down() 116 if (pg_cntl->funcs->hubp_dpp_pg_control) in dcn351_hw_block_power_down() 117 pg_cntl->funcs->hubp_dpp_pg_control(pg_cntl, i, false); in dcn351_hw_block_power_down() 124 if (pg_cntl->funcs->plane_otg_pg_control) in dcn351_hw_block_power_down() 125 pg_cntl->funcs->plane_otg_pg_control(pg_cntl, false); in dcn351_hw_block_power_down() 165 if (pg_cntl->funcs->plane_otg_pg_control) in dcn351_hw_block_power_up() 166 pg_cntl->funcs->plane_otg_pg_control(pg_cntl, true); in dcn351_hw_block_power_up() 173 if (pg_cntl->funcs->hubp_dpp_pg_control) in dcn351_hw_block_power_up() 174 pg_cntl->funcs->hubp_dpp_pg_control(pg_cntl, i, true); in dcn351_hw_block_power_up() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_edid_parser.c | 38 dmcu->funcs->is_dmcu_initialized(dmcu) && in dc_edid_parser_send_cea() 39 dmcu->funcs->send_edid_cea) { in dc_edid_parser_send_cea() 40 return dmcu->funcs->send_edid_cea(dmcu, in dc_edid_parser_send_cea() 55 dmcu->funcs->is_dmcu_initialized(dmcu) && in dc_edid_parser_recv_cea_ack() 56 dmcu->funcs->recv_edid_cea_ack) { in dc_edid_parser_recv_cea_ack() 57 return dmcu->funcs->recv_edid_cea_ack(dmcu, offset); in dc_edid_parser_recv_cea_ack() 71 dmcu->funcs->is_dmcu_initialized(dmcu) && in dc_edid_parser_recv_amd_vsdb() 72 dmcu->funcs->recv_amd_vsdb) { in dc_edid_parser_recv_amd_vsdb() 73 return dmcu->funcs->recv_amd_vsdb(dmcu, in dc_edid_parser_recv_amd_vsdb()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_hw_sequencer.c | 301 if (!tg->funcs->is_blanked) in hwss_wait_for_blank_complete() 304 if (tg->funcs->is_blanked(tg)) in hwss_wait_for_blank_complete() 702 pipe_ctx->stream_res.tg->funcs->set_drr) in set_drr_and_clear_adjust_pending() 703 pipe_ctx->stream_res.tg->funcs->set_drr( in set_drr_and_clear_adjust_pending() 824 …if (hws->funcs.set_input_transfer_func && current_mpc_pipe->plane_state->update_flags.bits.gamma_c… in hwss_build_fast_sequence() 848 if (hws->funcs.set_output_transfer_func && current_mpc_pipe->stream->update_flags.bits.out_tf) { in hwss_build_fast_sequence() 961 params->set_flip_control_gsl_params.hubp->funcs->hubp_set_flip_control_surface_gsl( in hwss_execute_sequence() 975 hws->funcs.set_input_transfer_func(params->set_input_transfer_func_params.dc, in hwss_execute_sequence() 992 hws->funcs.set_output_transfer_func(params->set_output_transfer_func_params.dc, in hwss_execute_sequence() 1036 params->hubp_wait_pipe_read_start_params.hubp->funcs->hubp_wait_pipe_read_start( in hwss_execute_sequence() [all …]
|
| /linux/kernel/ |
| H A D | tracepoint.c | 122 static void debug_print_probes(struct tracepoint_func *funcs) in debug_print_probes() argument 126 if (!tracepoint_debug || !funcs) in debug_print_probes() 129 for (i = 0; funcs[i].func; i++) in debug_print_probes() 130 printk(KERN_DEBUG "Probe %d : %pSb\n", i, funcs[i].func); in debug_print_probes() 134 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument 145 debug_print_probes(*funcs); in func_add() 146 old = *funcs; in func_add() 181 *funcs = new; in func_add() 182 debug_print_probes(*funcs); in func_add() 186 static void *func_remove(struct tracepoint_func **funcs, in func_remove() argument [all …]
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-axp209.c | 73 struct axp20x_pinctrl_function funcs[AXP20X_FUNCS_NB]; member 246 return ARRAY_SIZE(pctl->funcs); in axp20x_pmx_func_cnt() 254 return pctl->funcs[selector].name; in axp20x_pmx_func_name() 264 *groups = pctl->funcs[selector].groups; in axp20x_pmx_func_groups() 265 *num_groups = pctl->funcs[selector].ngroups; in axp20x_pmx_func_groups() 279 pctl->funcs[function].muxval); in axp20x_pmx_set_mux() 298 return axp20x_pmx_set(pctldev, group, pctl->funcs[function].muxval); in axp20x_pmx_set_mux() 309 pctl->funcs[AXP20X_FUNC_GPIO_IN].muxval); in axp20x_pmx_gpio_set_direction() 312 pctl->funcs[AXP20X_FUNC_GPIO_OUT].muxval); in axp20x_pmx_gpio_set_direction() 390 pctl->funcs[AXP20X_FUNC_GPIO_OUT].name = "gpio_out"; in axp20x_build_funcs_groups() [all …]
|
| /linux/drivers/gpu/drm/msm/adreno/ |
| H A D | a5xx_catalog.c | 25 .funcs = &a5xx_gpu_funcs, 42 .funcs = &a5xx_gpu_funcs, 59 .funcs = &a5xx_gpu_funcs, 76 .funcs = &a5xx_gpu_funcs, 93 .funcs = &a5xx_gpu_funcs, 109 .funcs = &a5xx_gpu_funcs, 131 .funcs = &a5xx_gpu_funcs, 149 .funcs = &a5xx_gpu_funcs,
|
| /linux/include/drm/ |
| H A D | drm_encoder.h | 192 const struct drm_encoder_funcs *funcs; member 208 const struct drm_encoder_funcs *funcs, 214 const struct drm_encoder_funcs *funcs, 220 const struct drm_encoder_funcs *funcs, 242 #define drmm_encoder_alloc(dev, type, member, funcs, encoder_type, name, ...) \ argument 244 offsetof(type, member), funcs, \ 260 #define drmm_plain_encoder_alloc(dev, funcs, encoder_type, name, ...) \ argument 263 0, funcs, encoder_type, name, ##__VA_ARGS__))
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
| H A D | dcn30_afmt.c | 52 if (afmt->funcs->afmt_poweron) in afmt3_setup_hdmi_audio() 53 afmt->funcs->afmt_poweron(afmt); in afmt3_setup_hdmi_audio() 142 if (afmt->funcs->afmt_poweron == NULL) in afmt3_se_audio_setup() 151 if (mute && afmt->funcs->afmt_powerdown) in afmt3_audio_mute_control() 152 afmt->funcs->afmt_powerdown(afmt); in afmt3_audio_mute_control() 153 if (!mute && afmt->funcs->afmt_poweron) in afmt3_audio_mute_control() 154 afmt->funcs->afmt_poweron(afmt); in afmt3_audio_mute_control() 173 if (afmt->funcs->afmt_poweron) in afmt3_setup_dp_audio() 174 afmt->funcs->afmt_poweron(afmt); in afmt3_setup_dp_audio() 210 afmt3->base.funcs = &dcn30_afmt_funcs; in afmt3_construct()
|
| /linux/arch/arm64/kernel/ |
| H A D | reloc_test_core.c | 37 } const funcs[] = { variable 58 for (i = 0; i < ARRAY_SIZE(funcs); i++) { in reloc_test_init() 59 u64 ret = funcs[i].f(); in reloc_test_init() 61 pr_info("%-31s 0x%016llx %s\n", funcs[i].name, ret, in reloc_test_init() 62 ret == funcs[i].expect ? "pass" : "fail"); in reloc_test_init() 63 if (ret != funcs[i].expect) in reloc_test_init() 65 funcs[i].expect, ret); in reloc_test_init()
|