Lines Matching refs:connector
29 struct rcar_du_connector connector; member
39 container_of(c, struct rcar_du_lvds_connector, connector.connector)
41 static int rcar_du_lvds_connector_get_modes(struct drm_connector *connector) in rcar_du_lvds_connector_get_modes() argument
44 to_rcar_lvds_connector(connector); in rcar_du_lvds_connector_get_modes()
47 mode = drm_mode_create(connector->dev); in rcar_du_lvds_connector_get_modes()
55 drm_mode_probed_add(connector, mode); in rcar_du_lvds_connector_get_modes()
65 rcar_du_lvds_connector_detect(struct drm_connector *connector, bool force) in rcar_du_lvds_connector_detect() argument
86 struct drm_connector *connector; in rcar_du_lvds_connector_init() local
103 connector = &lvdscon->connector.connector; in rcar_du_lvds_connector_init()
104 connector->display_info.width_mm = lvdscon->panel.width_mm; in rcar_du_lvds_connector_init()
105 connector->display_info.height_mm = lvdscon->panel.height_mm; in rcar_du_lvds_connector_init()
107 ret = drm_connector_init(rcdu->ddev, connector, &connector_funcs, in rcar_du_lvds_connector_init()
112 drm_connector_helper_add(connector, &connector_helper_funcs); in rcar_du_lvds_connector_init()
114 connector->dpms = DRM_MODE_DPMS_OFF; in rcar_du_lvds_connector_init()
115 drm_object_property_set_value(&connector->base, in rcar_du_lvds_connector_init()
118 ret = drm_mode_connector_attach_encoder(connector, encoder); in rcar_du_lvds_connector_init()
122 lvdscon->connector.encoder = renc; in rcar_du_lvds_connector_init()