Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c336 static int get_dsi_id_from_intf(const struct mdp5_cfg_hw *hw_cfg, int intf_num) in get_dsi_id_from_intf() argument
338 const enum mdp5_intf_type *intfs = hw_cfg->intf.connect; in get_dsi_id_from_intf()
339 const int intf_cnt = ARRAY_SIZE(hw_cfg->intf.connect); in get_dsi_id_from_intf()
388 const struct mdp5_cfg_hw *hw_cfg = in modeset_init_intf() local
390 int dsi_id = get_dsi_id_from_intf(hw_cfg, intf->num); in modeset_init_intf()
696 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local
699 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in hwpipe_init()
702 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_rgb.count, rgb_planes, in hwpipe_init()
703 hw_cfg->pipe_rgb.base, hw_cfg->pipe_rgb.caps); in hwpipe_init()
708 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_vig.count, vig_planes, in hwpipe_init()
[all …]
Dmdp5_ctl.c693 const struct mdp5_cfg_hw *hw_cfg = mdp5_cfg_get_hw_config(cfg_hnd); in mdp5_ctlm_init() local
696 const struct mdp5_ctl_block *ctl_cfg = &hw_cfg->ctl; in mdp5_ctlm_init()
716 ctl_mgr->nlm = hw_cfg->lm.count; in mdp5_ctlm_init()
745 for (c = 0; c < ARRAY_SIZE(hw_cfg->intf.connect); c++) in mdp5_ctlm_init()
746 if (hw_cfg->intf.connect[c] == INTF_DSI) in mdp5_ctlm_init()
Dmdp5_crtc.c706 const struct mdp5_cfg_hw *hw_cfg; in mdp5_crtc_atomic_check() local
746 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in mdp5_crtc_atomic_check()
752 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check()
773 if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { in mdp5_crtc_atomic_check()
781 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()
/drivers/net/ethernet/microchip/
Dlan743x_main.c34 u32 hw_cfg; in pci11x1x_strap_get_status() local
48 hw_cfg = lan743x_csr_read(adapter, HW_CFG); in pci11x1x_strap_get_status()
51 hw_cfg & HW_CFG_RST_PROTECT_) { in pci11x1x_strap_get_status()
3649 adapter->hw_cfg = data; in lan743x_pm_suspend()
3676 lan743x_csr_write(adapter, HW_CFG, adapter->hw_cfg); in lan743x_pm_resume()
Dlan743x_main.h1076 u32 hw_cfg; member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c2359 u32 hw_cfg; in hclge_dbg_dump_ptp_info() local
2390 ret = hclge_ptp_cfg_qry(hdev, &hw_cfg); in hclge_dbg_dump_ptp_info()
2395 sw_cfg, hw_cfg); in hclge_dbg_dump_ptp_info()