Home
last modified time | relevance | path

Searched refs:hw_blk (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_blk.c26 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 …]
Ddpu_hw_blk.h39 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);
Ddpu_encoder.c1055 struct dpu_hw_blk *hw_blk[MAX_CHANNELS_PER_ENC]; in dpu_encoder_virt_mode_set() local
1075 hw_blk, ARRAY_SIZE(hw_blk)); in dpu_encoder_virt_mode_set()
1079 hw_intf = to_dpu_hw_intf(hw_blk[i]); in dpu_encoder_virt_mode_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_err.c1589 static const struct hclge_hw_blk hw_blk[] = { variable
1623 const struct hclge_hw_blk *module = hw_blk; in hclge_config_nic_hw_error()