/hardware/intel/img/hwcomposer/common/observers/ |
D | UeventObserver.cpp | 159 struct pollfd fds[2]; in threadLoop() local 162 fds[0].fd = mUeventFd; in threadLoop() 163 fds[0].events = POLLIN; in threadLoop() 164 fds[0].revents = 0; in threadLoop() 165 fds[1].fd = mExitRDFd; in threadLoop() 166 fds[1].events = POLLIN; in threadLoop() 167 fds[1].revents = 0; in threadLoop() 168 nr = poll(fds, 2, -1); in threadLoop() 170 if (nr > 0 && fds[0].revents == POLLIN) { in threadLoop() 175 } else if (fds[1].revents) { in threadLoop()
|
/hardware/libhardware_legacy/uevent/ |
D | uevent.c | 76 struct pollfd fds; in uevent_next_event() local 79 fds.fd = fd; in uevent_next_event() 80 fds.events = POLLIN; in uevent_next_event() 81 fds.revents = 0; in uevent_next_event() 82 nr = poll(&fds, 1, -1); in uevent_next_event() 84 if(nr > 0 && (fds.revents & POLLIN)) { in uevent_next_event()
|
/hardware/ti/omap4-aah/libtiutils/ |
D | MessageQueue.cpp | 45 int fds[2] = {-1,-1}; in MessageQueue() local 48 stat = pipe(fds); in MessageQueue() 59 this->fd_read = fds[0]; in MessageQueue() 60 this->fd_write = fds[1]; in MessageQueue()
|
/hardware/ti/omap4xxx/libtiutils/ |
D | MessageQueue.cpp | 44 int fds[2] = {-1,-1}; in MessageQueue() local 47 stat = pipe(fds); in MessageQueue() 58 this->fd_read = fds[0]; in MessageQueue() 59 this->fd_write = fds[1]; in MessageQueue()
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
D | omx_video_encoder.cpp | 101 int fds[2]; in component_init() local 420 if(pipe(fds)) in component_init() 427 if(fds[0] == 0 || fds[1] == 0) in component_init() 429 if(pipe(fds)) in component_init() 437 m_pipe_in = fds[0]; in component_init() 438 m_pipe_out = fds[1]; in component_init()
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 116 int fds[2]; in component_init() local 439 if (pipe(fds)) { in component_init() 443 if (fds[0] == 0 || fds[1] == 0) { in component_init() 444 if (pipe(fds)) { in component_init() 450 m_pipe_in = fds[0]; in component_init() 451 m_pipe_out = fds[1]; in component_init()
|
/hardware/samsung_slsi/exynos5/libhwc/ |
D | hwc.cpp | 1794 struct pollfd fds[2]; in hwc_vsync_thread() local 1795 fds[0].fd = pdev->vsync_fd; in hwc_vsync_thread() 1796 fds[0].events = POLLPRI; in hwc_vsync_thread() 1797 fds[1].fd = uevent_get_fd(); in hwc_vsync_thread() 1798 fds[1].events = POLLIN; in hwc_vsync_thread() 1801 int err = poll(fds, 2, -1); in hwc_vsync_thread() 1804 if (fds[0].revents & POLLPRI) { in hwc_vsync_thread() 1807 else if (fds[1].revents & POLLIN) { in hwc_vsync_thread()
|
/hardware/ti/omap4xxx/hwc/ |
D | hwc.c | 1844 struct pollfd fds[2]; in omap4_hwc_hdmi_thread() local 1853 fds[0].fd = uevent_get_fd(); in omap4_hwc_hdmi_thread() 1854 fds[0].events = POLLIN; in omap4_hwc_hdmi_thread() 1855 fds[1].fd = hwc_dev->pipe_fds[0]; in omap4_hwc_hdmi_thread() 1856 fds[1].events = POLLIN; in omap4_hwc_hdmi_thread() 1863 err = poll(fds, hwc_dev->idle ? 2 : 1, timeout); in omap4_hwc_hdmi_thread() 1891 if (hwc_dev->idle && fds[1].revents & POLLIN) { in omap4_hwc_hdmi_thread() 1898 if (fds[0].revents & POLLIN) { in omap4_hwc_hdmi_thread()
|
/hardware/ti/omap4-aah/hwc/ |
D | hwc.c | 2489 struct pollfd fds[2]; in omap4_hwc_hdmi_thread() local 2498 fds[0].fd = uevent_get_fd(); in omap4_hwc_hdmi_thread() 2499 fds[0].events = POLLIN; in omap4_hwc_hdmi_thread() 2500 fds[1].fd = hwc_dev->wakeup_evt; in omap4_hwc_hdmi_thread() 2501 fds[1].events = POLLIN; in omap4_hwc_hdmi_thread() 2545 err = poll(fds, 2, effective_timeout); in omap4_hwc_hdmi_thread() 2587 if (fds[1].revents & POLLIN) { in omap4_hwc_hdmi_thread() 2596 if (fds[0].revents & POLLIN) { in omap4_hwc_hdmi_thread()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 1193 int fds[2]; in component_init() local 1494 if(pipe(fds)) in component_init() 1502 if(fds[0] == 0 || fds[1] == 0) in component_init() 1511 fds[0] = temp1 [0]; in component_init() 1512 fds[1] = temp1 [1]; in component_init() 1514 m_pipe_in = fds[0]; in component_init() 1515 m_pipe_out = fds[1]; in component_init()
|
D | omx_vdec.cpp | 1184 int fds[2]; in component_init() local 1561 if(pipe(fds)) in component_init() 1569 if(fds[0] == 0 || fds[1] == 0) in component_init() 1578 fds[0] = temp1 [0]; in component_init() 1579 fds[1] = temp1 [1]; in component_init() 1581 m_pipe_in = fds[0]; in component_init() 1582 m_pipe_out = fds[1]; in component_init()
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 1243 int fds[2]; in component_init() local 1588 if (pipe(fds)) { in component_init() 1593 if (fds[0] == 0 || fds[1] == 0) { in component_init() 1600 fds[0] = temp1 [0]; in component_init() 1601 fds[1] = temp1 [1]; in component_init() 1603 m_pipe_in = fds[0]; in component_init() 1604 m_pipe_out = fds[1]; in component_init()
|
D | omx_vdec.cpp | 1157 int fds[2]; in component_init() local 1544 if (pipe(fds)) { in component_init() 1550 if (fds[0] == 0 || fds[1] == 0) { in component_init() 1558 fds[0] = temp1 [0]; in component_init() 1559 fds[1] = temp1 [1]; in component_init() 1562 m_pipe_in = fds[0]; in component_init() 1563 m_pipe_out = fds[1]; in component_init()
|
D | omx_vdec_msm8974.cpp | 1473 int fds[2]; in component_init() local 1873 if (pipe(fds)) { in component_init() 1878 if (fds[0] == 0 || fds[1] == 0) { in component_init() 1885 fds[0] = temp1 [0]; in component_init() 1886 fds[1] = temp1 [1]; in component_init() 1888 m_pipe_in = fds[0]; in component_init() 1889 m_pipe_out = fds[1]; in component_init()
|
D | omx_vdec_hevc_swvdec.cpp | 1731 int fds[2]; in component_init() local 2027 if(pipe(fds)) in component_init() 2034 if(fds[0] == 0 || fds[1] == 0) in component_init() 2036 if (pipe (fds)) in component_init() 2042 m_pipe_in = fds[0]; in component_init() 2043 m_pipe_out = fds[1]; in component_init()
|