Home
last modified time | relevance | path

Searched refs:cfg_handler (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.c1129 const struct mdp5_cfg_hw *mdp5_cfg_get_hw_config(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_get_hw_config() argument
1131 return cfg_handler->config.hw; in mdp5_cfg_get_hw_config()
1134 struct mdp5_cfg *mdp5_cfg_get_config(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_get_config() argument
1136 return &cfg_handler->config; in mdp5_cfg_get_config()
1139 int mdp5_cfg_get_hw_rev(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_get_hw_rev() argument
1141 return cfg_handler->revision; in mdp5_cfg_get_hw_rev()
1144 void mdp5_cfg_destroy(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_destroy() argument
1146 kfree(cfg_handler); in mdp5_cfg_destroy()
1154 struct mdp5_cfg_handler *cfg_handler; in mdp5_cfg_init() local
1159 cfg_handler = kzalloc(sizeof(*cfg_handler), GFP_KERNEL); in mdp5_cfg_init()
[all …]
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_catalog.c882 static const struct dpu_mdss_hw_cfg_handler cfg_handler[] = { variable
905 for (i = 0; i < ARRAY_SIZE(cfg_handler); i++) { in dpu_hw_catalog_init()
906 if (cfg_handler[i].hw_rev == hw_rev) { in dpu_hw_catalog_init()
907 cfg_handler[i].cfg_init(dpu_cfg); in dpu_hw_catalog_init()