Lines Matching refs:laddrs
63 struct cec_log_addrs laddrs; in hdmicec_add_logical_address() local
71 ret = ioctl(ctx->cec_fd, CEC_ADAP_G_LOG_ADDRS, &laddrs); in hdmicec_add_logical_address()
74 memset(&laddrs, 0, sizeof(laddrs)); in hdmicec_add_logical_address()
76 laddrs.cec_version = ctx->version; in hdmicec_add_logical_address()
77 laddrs.vendor_id = ctx->vendor_id; in hdmicec_add_logical_address()
106 laddrs.flags = CEC_LOG_ADDRS_FL_ALLOW_RC_PASSTHRU; in hdmicec_add_logical_address()
121 laddrs.flags = CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK; in hdmicec_add_logical_address()
125 laddrs.num_log_addrs = 1; in hdmicec_add_logical_address()
126 laddrs.log_addr[0] = addr; in hdmicec_add_logical_address()
127 laddrs.log_addr_type[0] = la_type; in hdmicec_add_logical_address()
128 laddrs.primary_device_type[0] = prim_type; in hdmicec_add_logical_address()
129 laddrs.all_device_types[0] = all_dev_types; in hdmicec_add_logical_address()
130 laddrs.features[0][0] = 0; in hdmicec_add_logical_address()
131 laddrs.features[0][1] = 0; in hdmicec_add_logical_address()
133 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in hdmicec_add_logical_address()
139 ALOGD("%s: log_addr_mask=%x\n", __func__, laddrs.log_addr_mask); in hdmicec_add_logical_address()
147 struct cec_log_addrs laddrs; in hdmicec_clear_logical_address() local
150 memset(&laddrs, 0, sizeof(laddrs)); in hdmicec_clear_logical_address()
151 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in hdmicec_clear_logical_address()
478 struct cec_log_addrs laddrs = {}; in cec_init() local
519 memset(&laddrs, 0, sizeof(laddrs)); in cec_init()
520 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in cec_init()