Lines Matching refs:connector

126     for (auto connector : hwc_dev->card->get_connectors()) {  in get_connectors()  local
128 if (connector->connector_type() == (uint32_t)primary_connector_type) { in get_connectors()
129 hwc_dev->primaryConector = connector; in get_connectors()
136 if (connector->connector_type() != (uint32_t)external_connector_type) { in get_connectors()
137 hwc_dev->primaryConector = connector; in get_connectors()
144 for (auto connector : hwc_dev->card->get_connectors()) { in get_connectors() local
145 if (connector->connector_type() == (uint32_t)external_connector_type) { in get_connectors()
146 hwc_dev->externalConector = connector; in get_connectors()
159 kms::Connector* connector = hwc_dev->primaryConector; in init_primary_display() local
164 if (!connector) { in init_primary_display()
182 kms::Videomode mode = connector->get_default_mode(); in init_primary_display()
193 display->disp_link.con = connector; in init_primary_display()
194 display->disp_link.crtc = connector->get_current_crtc(); in init_primary_display()
197 display->disp_link.crtc = connector->get_possible_crtcs()[0]; in init_primary_display()
212 kms::Connector* connector = hwc_dev->externalConector; in add_external_hdmi_display() local
214 if (!connector) { in add_external_hdmi_display()
221 connector->refresh(); in add_external_hdmi_display()
222 } while (connector->get_modes().size() == 0); in add_external_hdmi_display()
225 kms::Videomode mode = connector->get_default_mode(); in add_external_hdmi_display()
239 display->disp_link.con = connector; in add_external_hdmi_display()
240 display->disp_link.crtc = connector->get_current_crtc(); in add_external_hdmi_display()
243 display->disp_link.crtc = connector->get_possible_crtcs()[0]; in add_external_hdmi_display()
280 auto connector = hwc_dev->externalConector; in find_hdmi_connector_status() local
281 if (!connector) in find_hdmi_connector_status()
284 bool old_state = connector->connected(); in find_hdmi_connector_status()
285 connector->refresh(); in find_hdmi_connector_status()
286 bool cur_state = connector->connected(); in find_hdmi_connector_status()
291 connector->id()); in find_hdmi_connector_status()