Home
last modified time | relevance | path

Searched refs:las (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dcec.h588 static inline int cec_is_2nd_tv(const struct cec_log_addrs *las) in cec_is_2nd_tv() argument
591 return las->num_log_addrs && in cec_is_2nd_tv()
592 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
593 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_TV; in cec_is_2nd_tv()
595 static inline int cec_is_processor(const struct cec_log_addrs *las) in cec_is_processor() argument
598 return las->num_log_addrs && in cec_is_processor()
599 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
600 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_PROCESSOR; in cec_is_processor()
602 static inline int cec_is_switch(const struct cec_log_addrs *las) in cec_is_switch() argument
605 return las in cec_is_switch()
610 cec_is_cdc_only(const struct cec_log_addrs *las) cec_is_cdc_only() argument
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dcec.h1137 static inline int cec_is_2nd_tv(const struct cec_log_addrs *las) in cec_is_2nd_tv() argument
1143 return las->num_log_addrs && in cec_is_2nd_tv()
1144 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1145 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_TV; in cec_is_2nd_tv()
1148 static inline int cec_is_processor(const struct cec_log_addrs *las) in cec_is_processor() argument
1154 return las->num_log_addrs && in cec_is_processor()
1155 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1156 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_PROCESSOR; in cec_is_processor()
1159 static inline int cec_is_switch(const struct cec_log_addrs *las) in cec_is_switch() argument
1165 return las in cec_is_switch()
1171 cec_is_cdc_only(const struct cec_log_addrs *las) cec_is_cdc_only() argument
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dcec.h1160 static inline int cec_is_2nd_tv(const struct cec_log_addrs *las) in cec_is_2nd_tv() argument
1166 return las->num_log_addrs && in cec_is_2nd_tv()
1167 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1168 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_TV; in cec_is_2nd_tv()
1171 static inline int cec_is_processor(const struct cec_log_addrs *las) in cec_is_processor() argument
1177 return las->num_log_addrs && in cec_is_processor()
1178 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1179 las->primary_device_type[0] == CEC_OP_PRIM_DEVTYPE_PROCESSOR; in cec_is_processor()
1182 static inline int cec_is_switch(const struct cec_log_addrs *las) in cec_is_switch() argument
1188 return las in cec_is_switch()
1194 cec_is_cdc_only(const struct cec_log_addrs *las) cec_is_cdc_only() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/cec/core/
H A Dcec-adap.c1263 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_log_addr() local
1331 las->log_addr[idx] = log_addr; in cec_config_log_addr()
1332 las->log_addr_mask |= 1 << log_addr; in cec_config_log_addr()
1408 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_thread_func() local
1414 cec_phys_addr_exp(adap->phys_addr), las->num_log_addrs); in cec_config_thread_func()
1415 las->log_addr_mask = 0; in cec_config_thread_func()
1417 if (las->log_addr_type[0] == CEC_LOG_ADDR_TYPE_UNREGISTERED) in cec_config_thread_func()
1421 for (i = 0; i < las->num_log_addrs; i++) { in cec_config_thread_func()
1422 unsigned int type = las->log_addr_type[i]; in cec_config_thread_func()
1435 last_la = las in cec_config_thread_func()
1909 const struct cec_log_addrs *las = &adap->log_addrs; cec_fill_msg_report_features() local
[all...]
/kernel/linux/linux-5.10/drivers/media/cec/core/
H A Dcec-adap.c1255 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_log_addr() local
1315 las->log_addr[idx] = log_addr; in cec_config_log_addr()
1316 las->log_addr_mask |= 1 << log_addr; in cec_config_log_addr()
1392 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_thread_func() local
1398 cec_phys_addr_exp(adap->phys_addr), las->num_log_addrs); in cec_config_thread_func()
1399 las->log_addr_mask = 0; in cec_config_thread_func()
1401 if (las->log_addr_type[0] == CEC_LOG_ADDR_TYPE_UNREGISTERED) in cec_config_thread_func()
1404 for (i = 0; i < las->num_log_addrs; i++) { in cec_config_thread_func()
1405 unsigned int type = las->log_addr_type[i]; in cec_config_thread_func()
1418 last_la = las in cec_config_thread_func()
1836 const struct cec_log_addrs *las = &adap->log_addrs; cec_fill_msg_report_features() local
[all...]

Completed in 16 milliseconds