Searched refs:log_addrs (Results 1 – 8 of 8) sorted by relevance
/drivers/media/cec/usb/pulse8/ |
D | pulse8-cec.c | 531 cmd[1] = adap->log_addrs.primary_device_type[0]; in pulse8_cec_adap_log_addr() 537 switch (adap->log_addrs.primary_device_type[0]) { in pulse8_cec_adap_log_addr() 588 cmd[1] = adap->log_addrs.cec_version; in pulse8_cec_adap_log_addr() 595 if (adap->log_addrs.osd_name[0]) { in pulse8_cec_adap_log_addr() 596 size_t osd_len = strlen(adap->log_addrs.osd_name); in pulse8_cec_adap_log_addr() 600 strscpy(cmd + 1, adap->log_addrs.osd_name, sizeof(cmd) - 1); in pulse8_cec_adap_log_addr() 605 strscpy(adap->log_addrs.osd_name, osd_str, in pulse8_cec_adap_log_addr() 606 sizeof(adap->log_addrs.osd_name)); in pulse8_cec_adap_log_addr() 664 struct cec_log_addrs *log_addrs, u16 *pa) in pulse8_setup() argument 712 log_addrs->primary_device_type[0] = data[0]; in pulse8_setup() [all …]
|
/drivers/media/cec/core/ |
D | cec-adap.c | 55 for (i = 0; i < adap->log_addrs.num_log_addrs; i++) in cec_log_addr2idx() 56 if (adap->log_addrs.log_addr[i] == log_addr) in cec_log_addr2idx() 65 return adap->log_addrs.primary_device_type[i < 0 ? 0 : i]; in cec_log_addr2dev() 322 ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; in cec_post_state_event() 803 if ((adap->log_addrs.flags & CEC_LOG_ADDRS_FL_CDC_ONLY) && in cec_transmit_msg_fh() 1113 adap->log_addrs.cec_version < CEC_OP_CEC_VERSION_2_0 && in cec_received_msg_ts() 1233 if (adap->log_addrs.log_addr_mask == 0) in cec_received_msg_ts() 1256 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_log_addr() 1332 adap->log_addrs.log_addr_mask = 0; in cec_adap_unconfigure() 1393 struct cec_log_addrs *las = &adap->log_addrs; in cec_config_thread_func() [all …]
|
D | cec-api.c | 147 struct cec_log_addrs log_addrs; in cec_adap_g_log_addrs() local 156 memcpy(&log_addrs, &adap->log_addrs, sizeof(log_addrs)); in cec_adap_g_log_addrs() 158 memset(log_addrs.log_addr, CEC_LOG_ADDR_INVALID, in cec_adap_g_log_addrs() 159 sizeof(log_addrs.log_addr)); in cec_adap_g_log_addrs() 162 if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) in cec_adap_g_log_addrs() 170 struct cec_log_addrs log_addrs; in cec_adap_s_log_addrs() local 175 if (copy_from_user(&log_addrs, parg, sizeof(log_addrs))) in cec_adap_s_log_addrs() 177 log_addrs.flags &= CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK | in cec_adap_s_log_addrs() 182 (!log_addrs.num_log_addrs || !adap->is_configured) && in cec_adap_s_log_addrs() 184 err = __cec_s_log_addrs(adap, &log_addrs, block); in cec_adap_s_log_addrs() [all …]
|
D | cec-priv.h | 42 struct cec_log_addrs *log_addrs, bool block);
|
D | cec-core.c | 260 adap->log_addrs.cec_version = CEC_OP_CEC_VERSION_2_0; in cec_allocate_adapter() 261 adap->log_addrs.vendor_id = CEC_VENDOR_ID_NONE; in cec_allocate_adapter()
|
/drivers/media/cec/usb/rainshadow/ |
D | rainshadow-cec.c | 240 struct cec_log_addrs *log_addrs, u16 *pa) in rain_setup() argument 311 struct cec_log_addrs log_addrs = {}; in rain_connect() local 336 err = rain_setup(rain, serio, &log_addrs, &pa); in rain_connect()
|
/drivers/media/test-drivers/vivid/ |
D | vivid-cec.c | 234 dest = adap->log_addrs.log_addr[0]; in vivid_received()
|
/drivers/gpu/drm/ |
D | drm_dp_cec.c | 111 la_mask |= adap->log_addrs.log_addr_mask | (1 << addr); in drm_dp_cec_adap_log_addr()
|