Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/typec/mux.c, line 136 (as a function)
- include/linux/usb/typec_mux.h, line 51 (as a function)
Referenced in 10 files:
- drivers/extcon/extcon-ptn5150.c, line 252
- drivers/platform/chrome/cros_ec_typec.c
- drivers/soc/qcom/pmic_glink_altmode.c, line 543
- drivers/usb/typec/class.c, line 2187
- drivers/usb/typec/mux.c, line 152
- drivers/usb/typec/mux/nb7vpq904m.c
- drivers/usb/typec/mux/ps883x.c
- drivers/usb/typec/mux/ptn36502.c
- drivers/usb/typec/mux/wcd939x-usbss.c
- sound/soc/codecs/wcd939x.c, line 3420
Smatch caller information:
drivers/platform/chrome/cros_ec_typec.c cros_typec_get_switch_handles() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->num_sw_devs | 1-s32max |
| BUF_SIZE | 0 | sw | (-1),32 |
| BUF_SIZE | 0 | sw | (-1),32 |
| DATA_SOURCE | 0 | sw | r fwnode_typec_switch_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/chrome/cros_ec_typec.c cros_unregister_ports() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/extcon/extcon-ptn5150.c ptn5150_work_sync_and_put() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
drivers/soc/qcom/pmic_glink_altmode.c pmic_glink_altmode_put_switch() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | sw | $0 |
| NOCHECK_CALL |
drivers/usb/typec/mux/wcd939x-usbss.c wcd939x_usbss_probe() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->num_sw_devs | 1-s32max |
| BUF_SIZE | 0 | sw | (-1),32 |
| BUF_SIZE | 0 | sw | (-1),32 |
| DATA_SOURCE | 0 | sw | r fwnode_typec_switch_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/mux/wcd939x-usbss.c wcd939x_usbss_remove() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/mux/ps883x.c ps883x_retimer_probe() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| BUF_SIZE | 0 | sw | (-1),32 |
| BUF_SIZE | 0 | sw | (-1),32 |
| DATA_SOURCE | 0 | sw | r typec_switch_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/mux/ps883x.c ps883x_retimer_remove() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/mux/ptn36502.c ptn36502_probe() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->num_sw_devs | 1-s32max |
| BUF_SIZE | 0 | sw | (-1),32 |
| BUF_SIZE | 0 | sw | (-1),32 |
| DATA_SOURCE | 0 | sw | r fwnode_typec_switch_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/mux/ptn36502.c ptn36502_remove() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/mux/nb7vpq904m.c nb7vpq904m_probe() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->num_sw_devs | 1-s32max |
| BUF_SIZE | 0 | sw | (-1),32 |
| BUF_SIZE | 0 | sw | (-1),32 |
| DATA_SOURCE | 0 | sw | r fwnode_typec_switch_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/mux/nb7vpq904m.c nb7vpq904m_remove() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/typec/class.c typec_release() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &subsys->su_mutex |
sound/soc/codecs/wcd939x.c wcd939x_bind() -> typec_switch_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->num_sw_devs | 1-s32max |
| BUF_SIZE | 0 | sw | (-1),32 |
| BUF_SIZE | 0 | sw | (-1),32 |
| DATA_SOURCE | 0 | sw | r fwnode_typec_switch_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &component_mutex |