Home
last modified time | relevance | path

Searched refs:hw_cfg (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c360 static int get_dsi_id_from_intf(const struct mdp5_cfg_hw *hw_cfg, int intf_num) in get_dsi_id_from_intf() argument
362 const enum mdp5_intf_type *intfs = hw_cfg->intf.connect; in get_dsi_id_from_intf()
363 const int intf_cnt = ARRAY_SIZE(hw_cfg->intf.connect); in get_dsi_id_from_intf()
427 const struct mdp5_cfg_hw *hw_cfg = in modeset_init_intf() local
429 int dsi_id = get_dsi_id_from_intf(hw_cfg, intf->num); in modeset_init_intf()
469 const struct mdp5_cfg_hw *hw_cfg; in modeset_init() local
475 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in modeset_init()
839 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local
842 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in hwpipe_init()
845 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_rgb.count, rgb_planes, in hwpipe_init()
[all …]
Dmdp5_ctl.c684 const struct mdp5_cfg_hw *hw_cfg = mdp5_cfg_get_hw_config(cfg_hnd); in mdp5_ctlm_init() local
687 const struct mdp5_ctl_block *ctl_cfg = &hw_cfg->ctl; in mdp5_ctlm_init()
707 ctl_mgr->nlm = hw_cfg->lm.count; in mdp5_ctlm_init()
736 for (c = 0; c < ARRAY_SIZE(hw_cfg->intf.connect); c++) in mdp5_ctlm_init()
737 if (hw_cfg->intf.connect[c] == INTF_DSI) in mdp5_ctlm_init()
Dmdp5_crtc.c217 const struct mdp5_cfg_hw *hw_cfg; in blend_setup() local
235 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in blend_setup()
617 const struct mdp5_cfg_hw *hw_cfg; in mdp5_crtc_atomic_check() local
651 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in mdp5_crtc_atomic_check()
657 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check()
678 if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { in mdp5_crtc_atomic_check()
686 pstates[i].state->stage = hw_cfg->lm.nb_stages; in mdp5_crtc_atomic_check()
/drivers/net/ethernet/atheros/alx/
Dhw.c853 u32 cfg, hw_cfg; in alx_phy_configured() local
857 hw_cfg = alx_get_phy_config(hw); in alx_phy_configured()
859 if (hw_cfg == ALX_DRV_PHY_UNKNOWN) in alx_phy_configured()
862 return cfg == hw_cfg; in alx_phy_configured()