Lines Matching refs:laddrs
60 struct cec_log_addrs laddrs; in hdmicec_add_logical_address() local
68 ret = ioctl(ctx->cec_fd, CEC_ADAP_G_LOG_ADDRS, &laddrs); in hdmicec_add_logical_address()
71 memset(&laddrs, 0, sizeof(laddrs)); in hdmicec_add_logical_address()
73 laddrs.cec_version = ctx->version; in hdmicec_add_logical_address()
74 laddrs.vendor_id = ctx->vendor_id; in hdmicec_add_logical_address()
103 laddrs.flags = CEC_LOG_ADDRS_FL_ALLOW_RC_PASSTHRU; in hdmicec_add_logical_address()
118 laddrs.flags = CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK; in hdmicec_add_logical_address()
122 laddrs.num_log_addrs = 1; in hdmicec_add_logical_address()
123 laddrs.log_addr[0] = addr; in hdmicec_add_logical_address()
124 laddrs.log_addr_type[0] = la_type; in hdmicec_add_logical_address()
125 laddrs.primary_device_type[0] = prim_type; in hdmicec_add_logical_address()
126 laddrs.all_device_types[0] = all_dev_types; in hdmicec_add_logical_address()
127 laddrs.features[0][0] = 0; in hdmicec_add_logical_address()
128 laddrs.features[0][1] = 0; in hdmicec_add_logical_address()
130 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in hdmicec_add_logical_address()
136 ALOGD("%s: log_addr_mask=%x\n", __func__, laddrs.log_addr_mask); in hdmicec_add_logical_address()
144 struct cec_log_addrs laddrs; in hdmicec_clear_logical_address() local
147 memset(&laddrs, 0, sizeof(laddrs)); in hdmicec_clear_logical_address()
148 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in hdmicec_clear_logical_address()
390 struct cec_log_addrs laddrs = {}; in cec_init() local
431 memset(&laddrs, 0, sizeof(laddrs)); in cec_init()
432 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in cec_init()