Lines Matching defs:engine
758 struct sunxi_engine *engine = scrtc->engine;
778 if (engine->ops->vblank_quirk)
779 engine->ops->vblank_quirk(engine);
880 * function in fact searches the corresponding engine, and the ID is
881 * requested via the get_id function of the engine.
889 struct sunxi_engine *engine = ERR_PTR(-EINVAL);
898 * to any display engine. Otherwise the probe order of the
918 list_for_each_entry(engine, &drv->engine_list, list)
919 if (remote == engine->node)
936 engine = sun4i_tcon_find_engine_traverse(drv, remote, reg);
945 return engine;
990 struct sunxi_engine *engine;
992 list_for_each_entry(engine, &drv->engine_list, list)
993 if (engine->id == id)
994 return engine;
1053 * to fetch the ID and engine directly. If not, then it is likely an
1057 * traversing the of_graph to try and find a matching engine by device
1067 struct sunxi_engine *engine;
1097 /* Get our engine by matching our ID */
1098 engine = sun4i_tcon_get_engine_by_id(drv, id);
1101 return engine;
1114 struct sunxi_engine *engine;
1121 engine = sun4i_tcon_find_engine(drv, dev->of_node);
1122 if (IS_ERR(engine)) {
1123 dev_err(dev, "Couldn't find matching engine\n");
1133 tcon->id = engine->id;
1241 tcon->crtc = sun4i_crtc_init(drm, engine, tcon);