Searched refs:hw_cfg (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_kms.c | 355 static int get_dsi_id_from_intf(const struct mdp5_cfg_hw *hw_cfg, int intf_num) in get_dsi_id_from_intf() argument 357 const enum mdp5_intf_type *intfs = hw_cfg->intf.connect; in get_dsi_id_from_intf() 358 const int intf_cnt = ARRAY_SIZE(hw_cfg->intf.connect); in get_dsi_id_from_intf() 422 const struct mdp5_cfg_hw *hw_cfg = in modeset_init_intf() local 424 int dsi_id = get_dsi_id_from_intf(hw_cfg, intf->num); in modeset_init_intf() 735 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local 738 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in hwpipe_init() 741 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_rgb.count, rgb_planes, in hwpipe_init() 742 hw_cfg->pipe_rgb.base, hw_cfg->pipe_rgb.caps); in hwpipe_init() 747 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_vig.count, vig_planes, in hwpipe_init() [all …]
|
D | mdp5_ctl.c | 684 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()
|
D | mdp5_crtc.c | 697 const struct mdp5_cfg_hw *hw_cfg; in mdp5_crtc_atomic_check() local 731 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in mdp5_crtc_atomic_check() 737 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check() 758 if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { in mdp5_crtc_atomic_check() 766 pstates[i].state->stage = hw_cfg->lm.nb_stages; in mdp5_crtc_atomic_check()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 853 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()
|