Searched refs:hw_blk (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_blk.c | 26 void dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id, in dpu_hw_blk_init() argument 29 INIT_LIST_HEAD(&hw_blk->list); in dpu_hw_blk_init() 30 hw_blk->type = type; in dpu_hw_blk_init() 31 hw_blk->id = id; in dpu_hw_blk_init() 32 atomic_set(&hw_blk->refcount, 0); in dpu_hw_blk_init() 35 hw_blk->ops = *ops; in dpu_hw_blk_init() 38 list_add(&hw_blk->list, &dpu_hw_blk_list); in dpu_hw_blk_init() 47 void dpu_hw_blk_destroy(struct dpu_hw_blk *hw_blk) in dpu_hw_blk_destroy() argument 49 if (!hw_blk) { in dpu_hw_blk_destroy() 54 if (atomic_read(&hw_blk->refcount)) in dpu_hw_blk_destroy() [all …]
|
D | dpu_hw_blk.h | 39 void dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id, 41 void dpu_hw_blk_destroy(struct dpu_hw_blk *hw_blk); 43 struct dpu_hw_blk *dpu_hw_blk_get(struct dpu_hw_blk *hw_blk, u32 type, int id); 44 void dpu_hw_blk_put(struct dpu_hw_blk *hw_blk);
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_err.c | 1586 static const struct hclge_hw_blk hw_blk[] = { variable 1620 const struct hclge_hw_blk *module = hw_blk; in hclge_config_nic_hw_error()
|