Searched refs:dup_res (Results 1 – 1 of 1) sorted by relevance
207 struct dpu_crtc_res *res, *dup_res; in _dpu_crtc_rp_duplicate() local228 dup_res = kzalloc(sizeof(struct dpu_crtc_res), GFP_KERNEL); in _dpu_crtc_rp_duplicate()229 if (!dup_res) { in _dpu_crtc_rp_duplicate()233 INIT_LIST_HEAD(&dup_res->list); in _dpu_crtc_rp_duplicate()234 atomic_set(&dup_res->refcount, 0); in _dpu_crtc_rp_duplicate()235 dup_res->type = res->type; in _dpu_crtc_rp_duplicate()236 dup_res->tag = res->tag; in _dpu_crtc_rp_duplicate()237 dup_res->val = res->val; in _dpu_crtc_rp_duplicate()238 dup_res->ops = res->ops; in _dpu_crtc_rp_duplicate()239 dup_res->flags = DPU_CRTC_RES_FLAG_FREE; in _dpu_crtc_rp_duplicate()[all …]