Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/platform/chrome/cros_typec_altmode.c
- drivers/usb/typec/altmodes/displayport.c, line 829
- drivers/usb/typec/altmodes/thunderbolt.c, line 291
- drivers/usb/typec/class.c
- drivers/usb/typec/ucsi/displayport.c, line 344
- drivers/usb/typec/ucsi/thunderbolt.c, line 198
Smatch caller information:
drivers/platform/chrome/cros_typec_altmode.c cros_typec_register_displayport() -> typec_altmode_set_ops()
| 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 |
| PARAM_VALUE | 1 | ops | 6031919076639043584 |
| 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_altmode_set_ops()
| 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 |
| PARAM_VALUE | 1 | ops | 6031919076639043584 |
| 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/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_set_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->desc | 6290529388997193728 |
| 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->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 1947405578364424192 |
| BUF_SIZE | 0 | adev->desc | 12 |
| DATA_SOURCE | 0 | adev | $0 |
| STR_LEN | 0 | adev->desc | 11 |
| BIT_INFO | 0 | adev->vdo | 0x0,0xffffffff |
| TERMINATED | 0 | adev->desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/ucsi/displayport.c ucsi_register_displayport() -> typec_altmode_set_ops()
| 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 |
| PARAM_VALUE | 1 | ops | 7718158025132470272 |
| 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/altmodes/thunderbolt.c tbt_altmode_probe() -> typec_altmode_set_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->desc | 6480507199207358464 |
| 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->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 5799537777017626624 |
| BUF_SIZE | 0 | adev->desc | 13 |
| DATA_SOURCE | 0 | adev | $0 |
| STR_LEN | 0 | adev->desc | 12 |
| TERMINATED | 0 | adev->desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/ucsi/thunderbolt.c ucsi_register_thunderbolt() -> typec_altmode_set_ops()
| 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->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| PARAM_VALUE | 1 | ops | 2749423776845430784 |
| 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_altmodes() -> typec_altmode_set_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode | 1-255 |
| PARAM_VALUE | 0 | adev->ops->activate | 0,5507274055070978048,6418996211218378752 |
| PARAM_VALUE | 0 | adev->ops->attention | 0,5792247110345277440 |
| PARAM_VALUE | 0 | adev->ops->enter | 0,2277471601729646592,3507710653302677504,5855258131467071488,6072667088703954944,8550294568890347520 |
| PARAM_VALUE | 0 | adev->ops->exit | 0,2849074473724137472,4818464882199363584,7936515285961441280,8499759257564114944 |
| PARAM_VALUE | 0 | adev->ops->notify | 0 |
| PARAM_VALUE | 0 | adev->ops->vdm | 1040746431345426432,1280229158563057664,2790340367590649856,3183285487890354176,4916449083718119424,6324050125029081088,9102244967359868928 |
| PARAM_VALUE | 0 | adev->priority | 0 |
| PARAM_VALUE | 1 | ops | 0 |
| BUF_SIZE | 0 | adev | 1656 |
| DATA_SOURCE | 0 | adev | r typec_port_register_altmode |
| DATA_SOURCE | 1 | ops | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->priority |