Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_srv.c154 struct dmub_srv_hw_funcs *funcs = &dmub->hw_funcs; in dmub_srv_hw_setup()
337 if (params->hw_funcs) { in dmub_srv_create()
338 if (params->hw_funcs->emul_get_inbox1_rptr) in dmub_srv_create()
339 dmub->hw_funcs.emul_get_inbox1_rptr = in dmub_srv_create()
340 params->hw_funcs->emul_get_inbox1_rptr; in dmub_srv_create()
342 if (params->hw_funcs->emul_set_inbox1_wptr) in dmub_srv_create()
343 dmub->hw_funcs.emul_set_inbox1_wptr = in dmub_srv_create()
344 params->hw_funcs->emul_set_inbox1_wptr; in dmub_srv_create()
346 if (params->hw_funcs->is_supported) in dmub_srv_create()
347 dmub->hw_funcs.is_supported = in dmub_srv_create()
[all …]
H A Ddmub_srv_stat.c63 dmub->outbox1_rb.wrpt = dmub->hw_funcs.get_outbox1_wptr(dmub); in dmub_srv_stat_get_notification()
123 dmub->hw_funcs.set_outbox1_rptr(dmub, dmub->outbox1_rb.rptr); in dmub_srv_stat_get_notification()
H A Ddmub_dcn20.c107 dmub->hw_funcs.set_gpint(dmub, cmd); in dmub_dcn20_reset()
119 if (dmub->hw_funcs.is_gpint_acked(dmub, cmd)) in dmub_dcn20_reset()
124 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn20_reset()
131 dmub->hw_funcs.set_gpint(dmub, cmd); in dmub_dcn20_reset()
H A Ddmub_dcn31.c96 dmub->hw_funcs.set_gpint(dmub, cmd); in dmub_dcn31_reset()
104 if (dmub->hw_funcs.is_gpint_acked(dmub, cmd)) in dmub_dcn31_reset()
111 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn31_reset()
141 dmub->hw_funcs.set_gpint(dmub, cmd); in dmub_dcn31_reset()
H A Ddmub_dcn32.c97 dmub->hw_funcs.set_gpint(dmub, cmd); in dmub_dcn32_reset()
109 if (dmub->hw_funcs.is_gpint_acked(dmub, cmd)) in dmub_dcn32_reset()
114 scratch = dmub->hw_funcs.get_gpint_response(dmub); in dmub_dcn32_reset()
135 dmub->hw_funcs.set_gpint(dmub, cmd); in dmub_dcn32_reset()
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/
H A Ddmub_srv.h421 struct dmub_srv_hw_funcs *hw_funcs; member
450 struct dmub_srv_hw_funcs hw_funcs; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c1025 if (!srv->hw_funcs.is_psrsu_supported) in dc_dmub_check_min_version()
1027 return srv->hw_funcs.is_psrsu_supported(srv); in dc_dmub_check_min_version()