Home
last modified time | relevance | path

Searched refs:log_addr_mask (Results 1 – 8 of 8) sorted by relevance

/linux/include/uapi/linux/
H A Dcec.h259 static inline int cec_has_tv(__u16 log_addr_mask) in cec_has_tv() argument
261 return log_addr_mask & CEC_LOG_ADDR_MASK_TV; in cec_has_tv()
264 static inline int cec_has_record(__u16 log_addr_mask) in cec_has_record() argument
266 return log_addr_mask & CEC_LOG_ADDR_MASK_RECORD; in cec_has_record()
269 static inline int cec_has_tuner(__u16 log_addr_mask) in cec_has_tuner() argument
271 return log_addr_mask & CEC_LOG_ADDR_MASK_TUNER; in cec_has_tuner()
274 static inline int cec_has_playback(__u16 log_addr_mask) in cec_has_playback() argument
276 return log_addr_mask & CEC_LOG_ADDR_MASK_PLAYBACK; in cec_has_playback()
279 static inline int cec_has_audiosystem(__u16 log_addr_mask) in cec_has_audiosystem() argument
281 return log_addr_mask & CEC_LOG_ADDR_MASK_AUDIOSYSTEM; in cec_has_audiosystem()
[all …]
/linux/drivers/media/cec/core/
H A Dcec-adap.c301 ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; in cec_post_state_event()
1285 if (adap->log_addrs.log_addr_mask == 0) in cec_received_msg_ts()
1377 las->log_addr_mask |= 1 << log_addr; in cec_config_log_addr()
1391 adap->log_addrs.log_addr_mask = 0; in cec_adap_unconfigure()
1460 las->log_addr_mask = 0; in cec_config_thread_func()
1491 las->log_addr_mask = 0; in cec_config_thread_func()
1524 if (adap->log_addrs.log_addr_mask == 0 && in cec_config_thread_func()
1529 if (adap->log_addrs.log_addr_mask == 0) { in cec_config_thread_func()
1532 las->log_addr_mask = 1 << las->log_addr[0]; in cec_config_thread_func()
1938 log_addrs->log_addr_mask = adap->log_addrs.log_addr_mask; in __cec_s_log_addrs()
[all …]
H A Dcec-api.c593 ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; in cec_open()
/linux/Documentation/userspace-api/media/cec/
H A Dcec-ioc-adap-g-log-addrs.rst87 - ``log_addr_mask``
89 this adapter is Unregistered then ``log_addr_mask`` sets bit 15
91 all, then ``log_addr_mask`` is set to 0. Set by the driver.
H A Dcec-ioc-dqevent.rst61 - ``log_addr_mask``
/linux/drivers/media/cec/usb/pulse8/
H A Dpulse8-cec.c755 log_addrs->log_addr_mask = (data[0] << 8) | data[1]; in pulse8_setup()
757 log_addrs->log_addr_mask); in pulse8_setup()
758 if (log_addrs->log_addr_mask) in pulse8_setup()
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_cec.c112 la_mask |= adap->log_addrs.log_addr_mask | (1 << addr); in drm_dp_cec_adap_log_addr()
/linux/include/media/
H A Dcec.h339 return adap->log_addrs.log_addr_mask & (1 << log_addr); in cec_has_log_addr()