Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/platform/chrome/cros_ec_typec.c
- drivers/platform/chrome/cros_typec_altmode.c
- drivers/usb/typec/anx7411.c
- drivers/usb/typec/class.c
- drivers/usb/typec/tcpm/tcpm.c
- drivers/usb/typec/tipd/core.c
- drivers/usb/typec/ucsi/displayport.c, line 334
- drivers/usb/typec/ucsi/thunderbolt.c, line 189
- drivers/usb/typec/ucsi/ucsi.c, line 841
Smatch caller information:
drivers/platform/chrome/cros_ec_typec.c cros_typec_register_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| BUF_SIZE | 0 | adev | 1656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_ec_typec.c cros_typec_unregister_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev->dev.power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/chrome/cros_ec_typec.c cros_typec_unregister_port_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/ucsi/ucsi.c ucsi_unregister_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/chrome/cros_typec_altmode.c cros_typec_register_displayport() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| BUF_SIZE | 0 | adev | 1656 |
| DATA_SOURCE | 0 | adev | r typec_port_register_altmode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority |
drivers/platform/chrome/cros_typec_altmode.c cros_typec_register_thunderbolt() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| BUF_SIZE | 0 | adev | 1656 |
| DATA_SOURCE | 0 | adev | r typec_port_register_altmode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority |
drivers/usb/typec/ucsi/displayport.c ucsi_register_displayport() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| BUF_SIZE | 0 | adev | 1656 |
| DATA_SOURCE | 0 | adev | r typec_port_register_altmode |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority | |
| LOCK2 | &con->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |
drivers/usb/typec/tipd/core.c cd321x_register_port() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.init_name | 0 |
| PARAM_VALUE | 0 | adev->dev.p | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority |
drivers/usb/typec/tipd/core.c cd321x_register_port() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.init_name | 0 |
| PARAM_VALUE | 0 | adev->dev.p | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority |
drivers/usb/typec/tipd/core.c cd321x_register_port_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| BUF_SIZE | 0 | adev | 1656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority |
drivers/usb/typec/tipd/core.c cd321x_unregister_port() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/tipd/core.c cd321x_unregister_port() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/anx7411.c anx7411_partner_unregister_altmode() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/anx7411.c anx7411_port_unregister_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/tcpm/tcpm.c tcpm_unregister_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/tcpm/tcpm.c tcpm_unregister_altmodes() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/tcpm/tcpm.c tcpm_unregister_port() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/ucsi/thunderbolt.c ucsi_register_thunderbolt() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| BUF_SIZE | 0 | adev | 1656 |
| DATA_SOURCE | 0 | adev | r typec_port_register_altmode |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority | |
| LOCK2 | &con->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ucsi_connector)->lock |
drivers/usb/typec/class.c typec_port_register_altmode() -> typec_unregister_altmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| BUF_SIZE | 0 | adev | 1656 |
| DATA_SOURCE | 0 | adev | r typec_register_altmode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->lock | ||
| HALF_LOCKED2 | &pool->lock |