Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/typec/mux.c, line 175 (as a function)
- include/linux/usb/typec_mux.h, line 60 (as a function)
Referenced in 20 files:
- drivers/phy/apple/atc.c, line 2080
- drivers/phy/freescale/phy-fsl-imx8mq-usb.c, line 174
- drivers/phy/phy-google-usb.c, line 261
- drivers/phy/qualcomm/phy-qcom-qmp-combo.c, line 4942
- drivers/phy/qualcomm/phy-qcom-qmp-usbc.c, line 1787
- drivers/phy/rockchip/phy-rockchip-usbdp.c, line 692
- drivers/phy/samsung/phy-exynos5-usbdrd.c, line 1905
- drivers/usb/typec/anx7411.c, line 1070
- drivers/usb/typec/mux.c, line 211
- drivers/usb/typec/mux/fsa4480.c, line 312
- drivers/usb/typec/mux/gpio-sbu-mux.c, line 123
- drivers/usb/typec/mux/intel_pmc_mux.c, line 607
- drivers/usb/typec/mux/it5205.c, line 226
- drivers/usb/typec/mux/nb7vpq904m.c, line 450
- drivers/usb/typec/mux/pi3usb30532.c, line 140
- drivers/usb/typec/mux/ps883x.c, line 461
- drivers/usb/typec/mux/ptn36502.c, line 358
- drivers/usb/typec/mux/tusb1046.c, line 141
- drivers/usb/typec/mux/wcd939x-usbss.c, line 707
- sound/soc/codecs/wcd939x.c, line 3492
Smatch caller information:
drivers/phy/freescale/phy-fsl-imx8mq-usb.c tca_blk_get_typec_switch() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->of_node | 1-u64max |
| PARAM_VALUE | 0 | parent->power.last_status | (-1) |
| PARAM_VALUE | 0 | parent->power.runtime_status | 0,2 |
| PARAM_VALUE | 1 | desc | 953052318768627712 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 7942072104458334208 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/tusb1046.c tusb1046_i2c_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 2057423290459836416 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 3804270768039448576 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/apple/atc.c atcphy_probe_switch() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 3782167885790830592 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 2990931481585221632 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/usb/typec/mux/wcd939x-usbss.c wcd939x_usbss_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 7112325554687135744 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 2124452004398870528 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/intel_pmc_mux.c pmc_usb_register_port() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 6690166266795778048 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->set | 6862984445803356160 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c qmp_usbc_typec_switch_register() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 1252415710313156608 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 2151964261709152256 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/samsung/phy-exynos5-usbdrd.c exynos5_usbdrd_setup_notifiers() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 2446967929577381888 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 6326974209194196992 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/ps883x.c ps883x_retimer_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | parent->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | parent->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | desc | 8031893841120088064 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 6076386967671578624 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/ptn36502.c ptn36502_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | parent->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 6757950243807993856 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 3312554386921136128 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/gpio-sbu-mux.c gpio_sbu_mux_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 8363479570941353984 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 3901614962488713216 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/anx7411.c anx7411_register_switch() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 2484824463785566208 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->set | 7177634571094511616 |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/it5205.c it5205_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 6596154652520316928 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 1457096486607605760 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/qualcomm/phy-qcom-qmp-combo.c qmp_combo_typec_register() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 8222206870431649792 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 888159119410462720 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/pi3usb30532.c pi3usb30532_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 3521949444598775808 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 1507244620108091392 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/nb7vpq904m.c nb7vpq904m_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | parent->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 902377005231304704 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 8698802999015985152 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/phy-google-usb.c google_usb_phy_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->power.last_status | (-1) |
| PARAM_VALUE | 1 | desc | 2217415575119187968 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->set | 7952361783807774720 |
| BUF_SIZE | 0 | parent | 1616 |
| CAPPED_DATA | 0 | parent | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/mux/fsa4480.c fsa4480_probe() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 6706393679745945600 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 4013356997850435584 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/wcd939x.c wcd939x_add_typec() -> typec_switch_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 7099407660182962176 |
| PARAM_VALUE | 1 | desc->drvdata | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->name | 0 |
| PARAM_VALUE | 1 | desc->set | 5740627838364520448 |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |