Lines Matching refs:connector
31 struct drm_connector connector; member
35 static int arcpgu_drm_connector_get_modes(struct drm_connector *connector) in arcpgu_drm_connector_get_modes() argument
39 count = drm_add_modes_noedid(connector, XRES_MAX, YRES_MAX); in arcpgu_drm_connector_get_modes()
40 drm_set_preferred_mode(connector, XRES_DEF, YRES_DEF); in arcpgu_drm_connector_get_modes()
45 arcpgu_drm_connector_detect(struct drm_connector *connector, bool force) in arcpgu_drm_connector_detect() argument
50 static void arcpgu_drm_connector_destroy(struct drm_connector *connector) in arcpgu_drm_connector_destroy() argument
52 drm_connector_unregister(connector); in arcpgu_drm_connector_destroy()
53 drm_connector_cleanup(connector); in arcpgu_drm_connector_destroy()
79 struct drm_connector *connector; in arcpgu_drm_sim_init() local
101 connector = &arcpgu_connector->connector; in arcpgu_drm_sim_init()
102 drm_connector_helper_add(connector, &arcpgu_drm_connector_helper_funcs); in arcpgu_drm_sim_init()
104 ret = drm_connector_init(drm, connector, &arcpgu_drm_connector_funcs, in arcpgu_drm_sim_init()
111 ret = drm_mode_connector_attach_encoder(connector, &encoder->base); in arcpgu_drm_sim_init()
114 drm_connector_unregister(connector); in arcpgu_drm_sim_init()
123 drm_connector_cleanup(connector); in arcpgu_drm_sim_init()