Searched refs:cfg_handler (Results 1 – 2 of 2) sorted by relevance
1256 const struct mdp5_cfg_hw *mdp5_cfg_get_hw_config(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_get_hw_config() argument1258 return cfg_handler->config.hw; in mdp5_cfg_get_hw_config()1261 struct mdp5_cfg *mdp5_cfg_get_config(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_get_config() argument1263 return &cfg_handler->config; in mdp5_cfg_get_config()1266 int mdp5_cfg_get_hw_rev(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_get_hw_rev() argument1268 return cfg_handler->revision; in mdp5_cfg_get_hw_rev()1271 void mdp5_cfg_destroy(struct mdp5_cfg_handler *cfg_handler) in mdp5_cfg_destroy() argument1273 kfree(cfg_handler); in mdp5_cfg_destroy()1280 struct mdp5_cfg_handler *cfg_handler; in mdp5_cfg_init() local1284 cfg_handler = kzalloc(sizeof(*cfg_handler), GFP_KERNEL); in mdp5_cfg_init()[all …]
1932 static const struct dpu_mdss_hw_cfg_handler cfg_handler[] = { variable1950 for (i = 0; i < ARRAY_SIZE(cfg_handler); i++) { in dpu_hw_catalog_init()1951 if (cfg_handler[i].hw_rev == hw_rev) in dpu_hw_catalog_init()1952 return cfg_handler[i].dpu_cfg; in dpu_hw_catalog_init()