Lines Matching refs:conn
159 std::unique_ptr<DrmConnector> conn( in Init() local
164 ret = conn->Init(); in Init()
170 if (conn->writeback()) in Init()
171 writeback_connectors_.emplace_back(std::move(conn)); in Init()
173 connectors_.emplace_back(std::move(conn)); in Init()
178 for (auto &conn : connectors_) { in Init() local
179 if (conn->internal() && conn->display() < 0) { in Init()
180 conn->set_display(num_displays); in Init()
187 for (auto &conn : connectors_) { in Init() local
188 if (conn->external() && conn->display() < 0) { in Init()
189 conn->set_display(num_displays); in Init()
238 for (auto &conn : connectors_) { in Init() local
239 ret = CreateDisplayPipe(conn.get()); in Init()
241 ALOGE("Failed CreateDisplayPipe %d with %d", conn->id(), ret); in Init()
244 if (!AttachWriteback(conn.get())) { in Init()
245 ALOGI("Display %d has writeback attach to it", conn->display()); in Init()
256 for (auto &conn : connectors_) { in GetConnectorForDisplay() local
257 if (conn->display() == display) in GetConnectorForDisplay()
258 return conn.get(); in GetConnectorForDisplay()
264 for (auto &conn : writeback_connectors_) { in GetWritebackConnectorForDisplay() local
265 if (conn->display() == display) in GetWritebackConnectorForDisplay()
266 return conn.get(); in GetWritebackConnectorForDisplay()
528 int DrmDevice::UpdateConnectorProperty(const DrmConnector &conn, DrmProperty *property) { in UpdateConnectorProperty() argument
529 return UpdateObjectProperty(conn.id(), DRM_MODE_OBJECT_CONNECTOR, property); in UpdateConnectorProperty()