Home
last modified time | relevance | path

Searched refs:comp_node (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/counter/
H A Dcounter-chrdev.c144 struct counter_comp_node *comp_node; in counter_set_event_node() local
168 if (comp_node->parent == cfg->parent && in counter_set_event_node()
175 comp_node = kmalloc(sizeof(*comp_node), GFP_KERNEL); in counter_set_event_node()
176 if (!comp_node) { in counter_set_event_node()
180 *comp_node = *cfg; in counter_set_event_node()
269 struct counter_comp_node comp_node = {}; in counter_add_watch() local
329 comp_node.comp.type = COUNTER_COMP_U64; in counter_add_watch()
355 comp_node.comp = ext[ext_idx]; in counter_add_watch()
372 comp_node.component = watch.component; in counter_add_watch()
530 const size_t id = comp_node->component.id; in counter_get_data()
[all …]
/openbmc/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.c57 struct mtk_mdp_comp *comp_node; in mtk_mdp_clock_on() local
59 list_for_each_entry(comp_node, &mdp->comp_list, node) in mtk_mdp_clock_on()
60 mtk_mdp_comp_clock_on(dev, comp_node); in mtk_mdp_clock_on()
66 struct mtk_mdp_comp *comp_node; in mtk_mdp_clock_off() local
68 list_for_each_entry(comp_node, &mdp->comp_list, node) in mtk_mdp_clock_off()
69 mtk_mdp_comp_clock_off(dev, comp_node); in mtk_mdp_clock_off()
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_drv.h47 struct device_node *comp_node[DDP_COMPONENT_DRM_ID_MAX]; member
H A Dmtk_drm_drv.c860 private->comp_node[comp_id] = of_node_get(node); in mtk_drm_probe()
913 of_node_put(private->comp_node[i]); in mtk_drm_probe()
926 of_node_put(private->comp_node[i]); in mtk_drm_remove()
H A Dmtk_drm_ddp_comp.h282 int mtk_ddp_comp_init(struct device_node *comp_node, struct mtk_ddp_comp *comp,
H A Dmtk_drm_crtc.c930 node = priv->comp_node[comp_id]; in mtk_drm_crtc_create()