Lines Matching full:connector

21  * Connector
24 static int ast_vga_connector_helper_get_modes(struct drm_connector *connector) in ast_vga_connector_helper_get_modes() argument
26 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_vga_connector_helper_get_modes()
30 count = drm_connector_helper_get_modes(connector); in ast_vga_connector_helper_get_modes()
32 drm_edid_connector_update(connector, NULL); in ast_vga_connector_helper_get_modes()
39 count = drm_add_modes_noedid(connector, 4096, 4096); in ast_vga_connector_helper_get_modes()
41 drm_set_preferred_mode(connector, 1024, 768); in ast_vga_connector_helper_get_modes()
47 static int ast_vga_connector_helper_detect_ctx(struct drm_connector *connector, in ast_vga_connector_helper_detect_ctx() argument
51 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_vga_connector_helper_detect_ctx()
54 status = drm_connector_helper_detect_from_ddc(connector, ctx, force); in ast_vga_connector_helper_detect_ctx()
57 ++connector->epoch_counter; in ast_vga_connector_helper_detect_ctx()
76 static int ast_vga_connector_init(struct drm_device *dev, struct drm_connector *connector) in ast_vga_connector_init() argument
85 drm_err(dev, "failed to add DDC bus for connector; ret=%d\n", ret); in ast_vga_connector_init()
89 ret = drm_connector_init_with_ddc(dev, connector, &ast_vga_connector_funcs, in ast_vga_connector_init()
94 drm_connector_helper_add(connector, &ast_vga_connector_helper_funcs); in ast_vga_connector_init()
96 connector->interlace_allowed = 0; in ast_vga_connector_init()
97 connector->doublescan_allowed = 0; in ast_vga_connector_init()
99 connector->polled = DRM_CONNECTOR_POLL_CONNECT | DRM_CONNECTOR_POLL_DISCONNECT; in ast_vga_connector_init()
109 struct ast_connector *ast_connector = &ast->output.vga.connector; in ast_vga_output_init()
110 struct drm_connector *connector = &ast_connector->base; in ast_vga_output_init() local
119 ret = ast_vga_connector_init(dev, connector); in ast_vga_output_init()
122 ast_connector->physical_status = connector->status; in ast_vga_output_init()
124 ret = drm_connector_attach_encoder(connector, encoder); in ast_vga_output_init()