Lines Matching refs:las
1020 static inline int cec_is_2nd_tv(const struct cec_log_addrs *las) in cec_is_2nd_tv() argument
1026 return las->num_log_addrs && in cec_is_2nd_tv()
1027 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1028 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_TV; in cec_is_2nd_tv()
1031 static inline int cec_is_processor(const struct cec_log_addrs *las) in cec_is_processor() argument
1037 return las->num_log_addrs && in cec_is_processor()
1038 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1039 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_PROCESSOR; in cec_is_processor()
1042 static inline int cec_is_switch(const struct cec_log_addrs *las) in cec_is_switch() argument
1048 return las->num_log_addrs == 1 && in cec_is_switch()
1049 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_switch()
1050 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_SWITCH && in cec_is_switch()
1051 !(las->flags & CEC_LOG_ADDRS_FL_CDC_ONLY); in cec_is_switch()
1054 static inline int cec_is_cdc_only(const struct cec_log_addrs *las) in cec_is_cdc_only() argument
1060 return las->num_log_addrs == 1 && in cec_is_cdc_only()
1061 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_cdc_only()
1062 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_SWITCH && in cec_is_cdc_only()
1063 (las->flags & CEC_LOG_ADDRS_FL_CDC_ONLY); in cec_is_cdc_only()