Lines Matching refs:cecLogAddrs
64 cec_log_addrs cecLogAddrs; in addLogicalAddress() local
65 int ret = ioctl(mHdmiCecPorts[MIN_PORT_ID]->mCecFd, CEC_ADAP_G_LOG_ADDRS, &cecLogAddrs); in addLogicalAddress()
71 cecLogAddrs.cec_version = getCecVersion(); in addLogicalAddress()
72 cecLogAddrs.vendor_id = getVendorId(); in addLogicalAddress()
104 cecLogAddrs.flags |= CEC_LOG_ADDRS_FL_ALLOW_RC_PASSTHRU; in addLogicalAddress()
117 cecLogAddrs.flags |= CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK; in addLogicalAddress()
121 int logAddrIndex = cecLogAddrs.num_log_addrs; in addLogicalAddress()
123 cecLogAddrs.num_log_addrs += 1; in addLogicalAddress()
124 cecLogAddrs.log_addr[logAddrIndex] = static_cast<cec_logical_address_t>(addr); in addLogicalAddress()
125 cecLogAddrs.log_addr_type[logAddrIndex] = logAddrType; in addLogicalAddress()
126 cecLogAddrs.primary_device_type[logAddrIndex] = primDevType; in addLogicalAddress()
127 cecLogAddrs.all_device_types[logAddrIndex] = allDevTypes; in addLogicalAddress()
128 cecLogAddrs.features[logAddrIndex][0] = 0; in addLogicalAddress()
129 cecLogAddrs.features[logAddrIndex][1] = 0; in addLogicalAddress()
134 ret = ioctl(mHdmiCecPorts[i]->mCecFd, CEC_ADAP_S_LOG_ADDRS, &cecLogAddrs); in addLogicalAddress()
146 cec_log_addrs cecLogAddrs; in clearLogicalAddress() local
147 memset(&cecLogAddrs, 0, sizeof(cecLogAddrs)); in clearLogicalAddress()
149 int ret = ioctl(mHdmiCecPorts[i]->mCecFd, CEC_ADAP_S_LOG_ADDRS, &cecLogAddrs); in clearLogicalAddress()