Searched refs:hw_blk (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_blk.c | 35 int dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id, in dpu_hw_blk_init() argument 38 if (!hw_blk) { in dpu_hw_blk_init() 43 INIT_LIST_HEAD(&hw_blk->list); in dpu_hw_blk_init() 44 hw_blk->type = type; in dpu_hw_blk_init() 45 hw_blk->id = id; in dpu_hw_blk_init() 46 atomic_set(&hw_blk->refcount, 0); in dpu_hw_blk_init() 49 hw_blk->ops = *ops; in dpu_hw_blk_init() 52 list_add(&hw_blk->list, &dpu_hw_blk_list); in dpu_hw_blk_init() 63 void dpu_hw_blk_destroy(struct dpu_hw_blk *hw_blk) in dpu_hw_blk_destroy() argument 65 if (!hw_blk) { in dpu_hw_blk_destroy() [all …]
|
D | dpu_hw_blk.h | 47 int dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id, 49 void dpu_hw_blk_destroy(struct dpu_hw_blk *hw_blk); 51 struct dpu_hw_blk *dpu_hw_blk_get(struct dpu_hw_blk *hw_blk, u32 type, int id); 52 void dpu_hw_blk_put(struct dpu_hw_blk *hw_blk);
|