Lines Matching refs:las
1258 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_log_addr() local
1323 las->log_addr[idx] = log_addr; in cec_config_log_addr()
1324 las->log_addr_mask |= 1 << log_addr; in cec_config_log_addr()
1400 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_thread_func() local
1406 cec_phys_addr_exp(adap->phys_addr), las->num_log_addrs); in cec_config_thread_func()
1407 las->log_addr_mask = 0; in cec_config_thread_func()
1409 if (las->log_addr_type[0] == CEC_LOG_ADDR_TYPE_UNREGISTERED) in cec_config_thread_func()
1413 for (i = 0; i < las->num_log_addrs; i++) { in cec_config_thread_func()
1414 unsigned int type = las->log_addr_type[i]; in cec_config_thread_func()
1427 last_la = las->log_addr[i]; in cec_config_thread_func()
1428 las->log_addr[i] = CEC_LOG_ADDR_INVALID; in cec_config_thread_func()
1438 las->log_addr_mask = 0; in cec_config_thread_func()
1455 las->cec_version < CEC_OP_CEC_VERSION_2_0) in cec_config_thread_func()
1472 !(las->flags & CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK)) in cec_config_thread_func()
1478 las->log_addr[0] = CEC_LOG_ADDR_UNREGISTERED; in cec_config_thread_func()
1479 las->log_addr_mask = 1 << las->log_addr[0]; in cec_config_thread_func()
1480 for (i = 1; i < las->num_log_addrs; i++) in cec_config_thread_func()
1481 las->log_addr[i] = CEC_LOG_ADDR_INVALID; in cec_config_thread_func()
1483 for (i = las->num_log_addrs; i < CEC_MAX_LOG_ADDRS; i++) in cec_config_thread_func()
1484 las->log_addr[i] = CEC_LOG_ADDR_INVALID; in cec_config_thread_func()
1500 for (i = 0; i < las->num_log_addrs; i++) { in cec_config_thread_func()
1503 if (las->log_addr[i] == CEC_LOG_ADDR_INVALID || in cec_config_thread_func()
1504 (las->flags & CEC_LOG_ADDRS_FL_CDC_ONLY)) in cec_config_thread_func()
1507 msg.msg[0] = (las->log_addr[i] << 4) | 0x0f; in cec_config_thread_func()
1510 if (las->log_addr[i] != CEC_LOG_ADDR_UNREGISTERED && in cec_config_thread_func()
1518 las->primary_device_type[i]); in cec_config_thread_func()
1520 las->log_addr[i], in cec_config_thread_func()
1538 for (i = 0; i < las->num_log_addrs; i++) in cec_config_thread_func()
1539 las->log_addr[i] = CEC_LOG_ADDR_INVALID; in cec_config_thread_func()
1898 const struct cec_log_addrs *las = &adap->log_addrs; in cec_fill_msg_report_features() local
1899 const u8 *features = las->features[la_idx]; in cec_fill_msg_report_features()
1904 msg->msg[0] = (las->log_addr[la_idx] << 4) | 0x0f; in cec_fill_msg_report_features()
1908 msg->msg[3] = las->all_device_types[la_idx]; in cec_fill_msg_report_features()
1911 for (idx = 0; idx < ARRAY_SIZE(las->features[0]); idx++) { in cec_fill_msg_report_features()