Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/media/test-drivers/vivid/vivid-cec.c find_dest_adap() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-14 |
| DATA_SOURCE | 1 | log_addr | $2 |
| HARD_MAX | 1 | log_addr | 14 |
| TASK_NOT_RUNNING |
drivers/media/test-drivers/vivid/vivid-cec.c find_dest_adap() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-14 |
| DATA_SOURCE | 1 | log_addr | $2 |
| HARD_MAX | 1 | log_addr | 14 |
| TASK_NOT_RUNNING |
drivers/media/cec/core/cec-adap.c cec_config_log_addr() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| BUF_SIZE | 0 | adap | 128 |
| BUF_SIZE | 0 | adap | 128 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | log_addr | $2 |
| LOCK2 | 0 | &adap->lock | |
| TYPE_LOCK | (struct cec_adapter)->lock |
drivers/media/cec/core/cec-adap.c cec_received_msg_ts() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-14 |
| BUF_SIZE | 0 | adap | (-1),128 |
| BUF_SIZE | 0 | adap | (-1),128 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | log_addr | r cec_msg_initiator |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &aux->cec.lock |
drivers/media/cec/core/cec-adap.c cec_received_msg_ts() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-15 |
| BUF_SIZE | 0 | adap | (-1),128 |
| BUF_SIZE | 0 | adap | (-1),128 |
| CAPPED_DATA | 0 | &adap->lock | 1 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | log_addr | r cec_msg_destination |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &adap->lock | |
| HALF_LOCKED2 | &aux->cec.lock | ||
| TYPE_LOCK | (struct cec_adapter)->lock |
drivers/media/cec/core/cec-adap.c cec_transmit_msg_fh() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-15 |
| BUF_SIZE | 0 | adap | (-1),128 |
| BUF_SIZE | 0 | adap | (-1),128 |
| DATA_SOURCE | 0 | adap | $0 |
| BIT_INFO | 0 | adap->log_addrs.flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | log_addr | 0-15[c] |
| LOCK2 | 0 | &adap->lock | |
| TYPE_LOCK | (struct cec_adapter)->lock |
drivers/media/cec/core/cec-adap.c cec_transmit_msg_fh() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-15 |
| BUF_SIZE | 0 | adap | (-1),128 |
| BUF_SIZE | 0 | adap | (-1),128 |
| DATA_SOURCE | 0 | adap | $0 |
| BIT_INFO | 0 | adap->log_addrs.flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | log_addr | 0-15[c] |
| LOCK2 | 0 | &adap->lock | |
| TYPE_LOCK | (struct cec_adapter)->lock |
drivers/media/cec/core/cec-adap.c cec_transmit_msg_fh() -> cec_has_log_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-15 |
| BUF_SIZE | 0 | adap | (-1),128 |
| BUF_SIZE | 0 | adap | (-1),128 |
| DATA_SOURCE | 0 | adap | $0 |
| BIT_INFO | 0 | adap->log_addrs.flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | log_addr | 0-15 |
| LOCK2 | 0 | &adap->lock | |
| TYPE_LOCK | (struct cec_adapter)->lock |