Lines Matching refs:log_addrs
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()
186 log_addrs = adap->log_addrs; in cec_adap_s_log_addrs()
191 if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) in cec_adap_s_log_addrs()
223 if (adap->log_addrs.num_log_addrs == 0) in cec_transmit()
593 ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; in cec_open()