Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8909w_3100/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/msm8909/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/google/av/codec2/hidl/1.0/utils/
DInputSurface.cpp126 sp<InputSurfaceConnection> conn; in connectToComponent() local
134 conn = new InputSurfaceConnection(mSource, comp); in connectToComponent()
135 if (!conn->init()) { in connectToComponent()
136 conn = nullptr; in connectToComponent()
143 _hidl_cb(status, conn); in connectToComponent()
/hardware/libhardware/tests/hwc/
Dcnativewindow.c357 static void hwc_hotplug(const struct hwc_procs *procs, int disp, int conn) {} in hwc_hotplug() argument