Home
last modified time | relevance | path

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

/linux-5.19.10/include/uapi/linux/
Dcec.h254 static inline int cec_has_tv(__u16 log_addr_mask) in cec_has_tv() argument
256 return log_addr_mask & CEC_LOG_ADDR_MASK_TV; in cec_has_tv()
259 static inline int cec_has_record(__u16 log_addr_mask) in cec_has_record() argument
261 return log_addr_mask & CEC_LOG_ADDR_MASK_RECORD; in cec_has_record()
264 static inline int cec_has_tuner(__u16 log_addr_mask) in cec_has_tuner() argument
266 return log_addr_mask & CEC_LOG_ADDR_MASK_TUNER; in cec_has_tuner()
269 static inline int cec_has_playback(__u16 log_addr_mask) in cec_has_playback() argument
271 return log_addr_mask & CEC_LOG_ADDR_MASK_PLAYBACK; in cec_has_playback()
274 static inline int cec_has_audiosystem(__u16 log_addr_mask) in cec_has_audiosystem() argument
276 return log_addr_mask & CEC_LOG_ADDR_MASK_AUDIOSYSTEM; in cec_has_audiosystem()
[all …]
/linux-5.19.10/drivers/media/cec/core/
Dcec-adap.c301 ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; in cec_post_state_event()
1235 if (adap->log_addrs.log_addr_mask == 0) in cec_received_msg_ts()
1324 las->log_addr_mask |= 1 << log_addr; in cec_config_log_addr()
1338 adap->log_addrs.log_addr_mask = 0; in cec_adap_unconfigure()
1407 las->log_addr_mask = 0; in cec_config_thread_func()
1438 las->log_addr_mask = 0; in cec_config_thread_func()
1471 if (adap->log_addrs.log_addr_mask == 0 && in cec_config_thread_func()
1476 if (adap->log_addrs.log_addr_mask == 0) { in cec_config_thread_func()
1479 las->log_addr_mask = 1 << las->log_addr[0]; in cec_config_thread_func()
1871 log_addrs->log_addr_mask = adap->log_addrs.log_addr_mask; in __cec_s_log_addrs()
[all …]
Dcec-api.c593 ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; in cec_open()
/linux-5.19.10/drivers/media/cec/usb/pulse8/
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-5.19.10/Documentation/userspace-api/media/cec/
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.
Dcec-ioc-dqevent.rst61 - ``log_addr_mask``
/linux-5.19.10/include/media/
Dcec.h285 return adap->log_addrs.log_addr_mask & (1 << log_addr); in cec_has_log_addr()
/linux-5.19.10/drivers/gpu/drm/display/
Ddrm_dp_cec.c111 la_mask |= adap->log_addrs.log_addr_mask | (1 << addr); in drm_dp_cec_adap_log_addr()