Defined in 1 files as a prototype:
Defined in 3 files as a function:
- drivers/extcon/extcon.c, line 1424 (as a function)
- drivers/extcon/extcon.c, line 1453 (as a function)
- include/linux/extcon.h, line 309 (as a function)
Referenced in 15 files:
- drivers/extcon/extcon.c, line 1461
- drivers/gpu/drm/bridge/ite-it6505.c, line 3572
- drivers/gpu/drm/rockchip/cdn-dp-core.c, line 1118
- drivers/phy/qualcomm/phy-qcom-usb-hs.c, line 257
- drivers/phy/rockchip/phy-rockchip-inno-usb2.c, line 460
- drivers/phy/rockchip/phy-rockchip-typec.c, line 1150
- drivers/usb/chipidea/core.c
- drivers/usb/dwc3/core.c, line 2014
- drivers/usb/dwc3/dwc3-omap.c, line 420
- drivers/usb/dwc3/dwc3-qcom-legacy.c
- drivers/usb/gadget/udc/snps_udc_plat.c, line 160
- drivers/usb/mtu3/mtu3_plat.c, line 311
- drivers/usb/musb/sunxi.c, line 754
- drivers/usb/phy/phy.c
- drivers/usb/renesas_usbhs/common.c, line 642
Smatch caller information:
drivers/usb/dwc3/core.c dwc3_get_extcon() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | dev->power.runtime_auto | 0 |
| PARAM_VALUE | 0 | dev->power.use_autosuspend | 1 |
| PARAM_VALUE | 1 | index | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c usb_add_extcon() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c usb_add_extcon() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/rockchip/cdn-dp-core.c cdn_dp_probe() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-254 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/chipidea/core.c ci_get_platdata() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/chipidea/core.c ci_get_platdata() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/udc/snps_udc_plat.c udc_plat_probe() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/qualcomm/phy-qcom-usb-hs.c qcom_usb_hs_phy_probe() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/ite-it6505.c it6505_i2c_probe() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/rockchip/phy-rockchip-inno-usb2.c rockchip_usb2phy_extcon_register() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/renesas_usbhs/common.c usbhs_probe() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-qcom-legacy.c dwc3_qcom_register_extcon() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 0 |
| PARAM_VALUE | 0 | dev->of_node | 0 |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-qcom-legacy.c dwc3_qcom_register_extcon() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 0 |
| PARAM_VALUE | 0 | dev->of_node | 0 |
| PARAM_VALUE | 1 | index | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-omap.c dwc3_omap_extcon_register() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/mtu3/mtu3_plat.c get_ssusb_rscs() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/rockchip/phy-rockchip-typec.c rockchip_typec_phy_probe() -> extcon_get_edev_by_phandle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |