Home
last modified time | relevance | path

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

/hardware/interfaces/tv/cec/1.0/default/
DHdmiCecPort.cpp36 mCecFd = -1; in HdmiCecPort()
46 mCecFd = open(path, O_RDWR); in init()
47 if (mCecFd < 0) { in init()
60 int ret = ioctl(mCecFd, CEC_ADAP_G_CAPS, &caps); in init()
74 ret = ioctl(mCecFd, CEC_S_MODE, &mode); in init()
91 if (mCecFd > 0) { in release()
92 close(mCecFd); in release()
DHdmiCecDefault.cpp65 int ret = ioctl(mHdmiCecPorts[MIN_PORT_ID]->mCecFd, CEC_ADAP_G_LOG_ADDRS, &cecLogAddrs); in addLogicalAddress()
134 ret = ioctl(mHdmiCecPorts[i]->mCecFd, CEC_ADAP_S_LOG_ADDRS, &cecLogAddrs); in addLogicalAddress()
149 int ret = ioctl(mHdmiCecPorts[i]->mCecFd, CEC_ADAP_S_LOG_ADDRS, &cecLogAddrs); in clearLogicalAddress()
160 int ret = ioctl(mHdmiCecPorts[MIN_PORT_ID]->mCecFd, CEC_ADAP_G_PHYS_ADDR, &addr); in getPhysicalAddress()
190 int ret = ioctl(mHdmiCecPorts[i]->mCecFd, CEC_TRANSMIT, &cecMsg); in sendMessage()
233 int ret = ioctl(mHdmiCecPorts[i]->mCecFd, CEC_ADAP_G_PHYS_ADDR, &addr); in getPortInfo()
285 int ret = ioctl(mHdmiCecPorts[portId]->mCecFd, CEC_ADAP_G_PHYS_ADDR, &addr); in isConnected()
357 {hdmiCecPort->mCecFd, POLLIN, 0}, in event_thread()
358 {hdmiCecPort->mCecFd, POLLERR, 0}, in event_thread()
379 ret = ioctl(hdmiCecPort->mCecFd, CEC_DQEVENT, &ev); in event_thread()
[all …]
DHdmiCecPort.h33 int mCecFd; variable