Lines Matching refs:las
1158 static inline int cec_is_2nd_tv(const struct cec_log_addrs *las) in cec_is_2nd_tv() argument
1164 return las->num_log_addrs && in cec_is_2nd_tv()
1165 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1166 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_TV; in cec_is_2nd_tv()
1169 static inline int cec_is_processor(const struct cec_log_addrs *las) in cec_is_processor() argument
1175 return las->num_log_addrs && in cec_is_processor()
1176 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1177 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_PROCESSOR; in cec_is_processor()
1180 static inline int cec_is_switch(const struct cec_log_addrs *las) in cec_is_switch() argument
1186 return las->num_log_addrs == 1 && in cec_is_switch()
1187 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_switch()
1188 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_SWITCH && in cec_is_switch()
1189 !(las->flags & CEC_LOG_ADDRS_FL_CDC_ONLY); in cec_is_switch()
1192 static inline int cec_is_cdc_only(const struct cec_log_addrs *las) in cec_is_cdc_only() argument
1198 return las->num_log_addrs == 1 && in cec_is_cdc_only()
1199 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_cdc_only()
1200 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_SWITCH && in cec_is_cdc_only()
1201 (las->flags & CEC_LOG_ADDRS_FL_CDC_ONLY); in cec_is_cdc_only()