Lines Matching refs:mode_follower
361 u32 mode = fh->mode_initiator | fh->mode_follower; in cec_g_mode()
373 u8 mode_follower; in cec_s_mode() local
385 mode_follower = mode & CEC_MODE_FOLLOWER_MSK; in cec_s_mode()
388 mode_follower > CEC_MODE_MONITOR_ALL) { in cec_s_mode()
393 if (mode_follower == CEC_MODE_MONITOR_ALL && in cec_s_mode()
399 if (mode_follower == CEC_MODE_MONITOR_PIN && in cec_s_mode()
408 mode_follower >= CEC_MODE_FOLLOWER && in cec_s_mode()
409 mode_follower <= CEC_MODE_EXCL_FOLLOWER_PASSTHRU) { in cec_s_mode()
415 if (mode_initiator && mode_follower >= CEC_MODE_MONITOR_PIN) { in cec_s_mode()
422 if (mode_follower >= CEC_MODE_MONITOR_PIN && !capable(CAP_NET_ADMIN)) in cec_s_mode()
430 if ((mode_follower == CEC_MODE_EXCL_FOLLOWER || in cec_s_mode()
431 mode_follower == CEC_MODE_EXCL_FOLLOWER_PASSTHRU) && in cec_s_mode()
443 bool old_mon_all = fh->mode_follower == CEC_MODE_MONITOR_ALL; in cec_s_mode()
444 bool new_mon_all = mode_follower == CEC_MODE_MONITOR_ALL; in cec_s_mode()
455 bool old_mon_pin = fh->mode_follower == CEC_MODE_MONITOR_PIN; in cec_s_mode()
456 bool new_mon_pin = mode_follower == CEC_MODE_MONITOR_PIN; in cec_s_mode()
472 if (fh->mode_follower == CEC_MODE_FOLLOWER) in cec_s_mode()
474 if (mode_follower == CEC_MODE_FOLLOWER) in cec_s_mode()
485 if (mode_follower == CEC_MODE_EXCL_FOLLOWER || in cec_s_mode()
486 mode_follower == CEC_MODE_EXCL_FOLLOWER_PASSTHRU) { in cec_s_mode()
488 mode_follower == CEC_MODE_EXCL_FOLLOWER_PASSTHRU; in cec_s_mode()
499 fh->mode_follower = mode_follower; in cec_s_mode()
642 if (fh->mode_follower == CEC_MODE_FOLLOWER) in cec_release()
644 if (fh->mode_follower == CEC_MODE_MONITOR_PIN) in cec_release()
646 if (fh->mode_follower == CEC_MODE_MONITOR_ALL) in cec_release()