Lines Matching refs:conn

249     unique_ptr<DRMConnector> conn(new DRMConnector(fd_));  in Init()  local
252 conn->InitAndParse(libdrm_conn); in Init()
253 connector_pool_[resource->connectors[i]] = std::move(conn); in Init()
277 for (auto conn = connector_pool_.cbegin(); conn != connector_pool_.cend();) { in Update() local
278 auto drmconn = drm_connectors.find(conn->first); in Update()
281 if (conn->second->GetStatus() == DRMStatus::FREE) { in Update()
282 DRM_LOGD("Removing connector id %u from pool.", conn->first); in Update()
283 conn = connector_pool_.erase(conn); in Update()
288 DRM_LOGW("In-use connector id %u removed by DRM.", conn->first); in Update()
289 conn++; in Update()
294 conn++; in Update()
301 unique_ptr<DRMConnector> conn(new DRMConnector(fd_)); in Update() local
304 conn->InitAndParse(libdrm_conn); in Update()
305 conn->SetSkipConnectorReload(true); in Update()
306 connector_pool_[drmconn.first] = std::move(conn); in Update()
322 for (auto &conn : connector_pool_) { in DumpAll() local
323 conn.second->Dump(); in DumpAll()
358 for (auto &conn : connector_pool_) { in GetConnectorList() local
359 conn_ids->push_back(conn.first); in GetConnectorList()
374 for (auto &conn : connector_pool_) { in Reserve() local
375 if (conn.second->GetStatus() == DRMStatus::FREE) { in Reserve()
377 conn.second->GetType(&conn_type); in Reserve()
381 if (conn.second->IsConnected()) { in Reserve()
386 conn.second->Lock(); in Reserve()
387 token->conn_id = conn.first; in Reserve()
396 conn.second->Lock(); in Reserve()
397 token->conn_id = conn.first; in Reserve()
797 void DRMConnector::InitAndParse(drmModeConnector *conn) { in InitAndParse() argument
798 drm_connector_ = conn; in InitAndParse()