Home
last modified time | relevance | path

Searched refs:conn (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/display/sdm845/libdrmutils/
Ddrm_res_mgr.cpp48 drmModeConnector *conn = drmModeGetConnector(dev_fd, res->connectors[i]); in GetConnector() local
49 if (conn && conn->connector_type == DRM_MODE_CONNECTOR_DSI && conn->count_modes && in GetConnector()
50 conn->connection == DRM_MODE_CONNECTED) { in GetConnector()
51 *connector = conn; in GetConnector()
52 DRM_LOGI("Found connector %d", conn->connector_id); in GetConnector()
60 static bool GetEncoder(int dev_fd, drmModeConnector *conn, drmModeEncoder **encoder) { in GetEncoder() argument
61 for (auto i = 0; i < conn->count_encoders; i++) { in GetEncoder()
62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder()
121 drmModeConnector *conn = nullptr; in Init() local
122 if (!GetConnector(dev_fd, res, &conn)) { in Init()
[all …]
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_res_mgr.cpp48 drmModeConnector *conn = drmModeGetConnector(dev_fd, res->connectors[i]); in GetConnector() local
49 if (conn && conn->connector_type == DRM_MODE_CONNECTOR_DSI && conn->count_modes && in GetConnector()
50 conn->connection == DRM_MODE_CONNECTED) { in GetConnector()
51 *connector = conn; in GetConnector()
52 DRM_LOGI("Found connector %d", conn->connector_id); in GetConnector()
60 static bool GetEncoder(int dev_fd, drmModeConnector *conn, drmModeEncoder **encoder) { in GetEncoder() argument
61 for (auto i = 0; i < conn->count_encoders; i++) { in GetEncoder()
62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder()
121 drmModeConnector *conn = nullptr; in Init() local
122 if (!GetConnector(dev_fd, res, &conn)) { in Init()
[all …]
/hardware/libhardware/tests/hwc/
Dcnativewindow.c357 static void hwc_hotplug(const struct hwc_procs *procs, int disp, int conn) {} in hwc_hotplug() argument