Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 14 files:
- drivers/extcon/devres.c, line 196
- drivers/gpu/drm/bridge/ite-it6505.c, line 2939
- drivers/gpu/drm/rockchip/cdn-dp-core.c, line 1034
- drivers/phy/rockchip/phy-rockchip-inno-usb2.c, line 1330
- drivers/power/supply/axp288_charger.c, line 924
- drivers/power/supply/charger-manager.c, line 1006
- drivers/usb/chipidea/core.c
- drivers/usb/dwc3/dwc3-omap.c
- drivers/usb/dwc3/dwc3-qcom-legacy.c
- drivers/usb/mtu3/mtu3_dr.c, line 208
- drivers/usb/musb/sunxi.c, line 250
- drivers/usb/phy/phy-omap-otg.c
- drivers/usb/phy/phy.c
- sound/soc/samsung/aries_wm8994.c, line 349
Smatch caller information:
drivers/usb/phy/phy.c usb_add_extcon() -> devm_extcon_register_notifier()
| 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 | edev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 1 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 1-u64max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 1 | edev->dev.parent->of_node | 1 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c usb_add_extcon() -> devm_extcon_register_notifier()
| 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 | edev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 5 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 8816397071677894656 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 1 | edev->dev.parent->of_node | 1 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c usb_add_extcon() -> devm_extcon_register_notifier()
| 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->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | edev | 4096-ptr_max |
| PARAM_VALUE | 1 | edev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | edev->max_supported | 1-s32max |
| PARAM_VALUE | 2 | id | 7 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 8816397071677894656 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 1 | edev->dev.parent->of_node | 1 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c usb_add_extcon() -> devm_extcon_register_notifier()
| 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->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | edev | 4096-ptr_max |
| PARAM_VALUE | 1 | edev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | edev->max_supported | 1-s32max |
| PARAM_VALUE | 2 | id | 6 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 8816397071677894656 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 1 | edev->dev.parent->of_node | 1 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c usb_add_extcon() -> devm_extcon_register_notifier()
| 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->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | edev | 4096-ptr_max |
| PARAM_VALUE | 1 | edev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | edev->max_supported | 1-s32max |
| PARAM_VALUE | 2 | id | 8 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 8816397071677894656 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 1 | edev->dev.parent->of_node | 1 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c usb_add_extcon() -> devm_extcon_register_notifier()
| 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->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | edev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 2 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 1-u64max |
| 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_bind() -> devm_extcon_register_notifier()
| 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 | 2 | id | 44 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 5594996593497264128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/usb/chipidea/core.c ci_extcon_register() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | edev | 1-ptr_max |
| PARAM_VALUE | 2 | id | 2 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
drivers/usb/chipidea/core.c ci_extcon_register() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | edev | 1-ptr_max |
| PARAM_VALUE | 2 | id | 1 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
drivers/usb/mtu3/mtu3_dr.c ssusb_extcon_register() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | edev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 2 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 2311716556938649600 |
| MEM_ZERO | 3 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/samsung/aries_wm8994.c aries_late_probe() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,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 | 0,4096-ptr_max |
| PARAM_VALUE | 2 | id | 23 |
| PARAM_VALUE | 3 | nb | 841990912838164480 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
drivers/gpu/drm/bridge/ite-it6505.c it6505_use_notifier_module() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | edev | 1-u64max |
| PARAM_VALUE | 2 | id | 44 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 1605244815752155136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->clients_lock | ||
| HALF_LOCKED2 | global &component_mutex |
drivers/phy/rockchip/phy-rockchip-inno-usb2.c rockchip_usb2phy_otg_port_init() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| 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 | 1 | edev | 0 |
| PARAM_VALUE | 1 | edev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | edev->dev.kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 1 | edev->dev.kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 1 | edev->dev.kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 1 | edev->dev.kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 1 | edev->dev.kobj.state_initialized | 0-1 |
| PARAM_VALUE | 1 | edev->dev.kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 1 | edev->dev.kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 1 | edev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | edev->max_supported | s32min-s32max |
| PARAM_VALUE | 1 | edev->nh_all.head->priority | s32min-s32max |
| PARAM_VALUE | 1 | edev->state | 0-4294967295 |
| PARAM_VALUE | 2 | id | 2 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 6479214046287495168 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/axp288_charger.c axp288_charger_probe() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,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 | 0,4096-ptr_max |
| PARAM_VALUE | 1 | edev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 2 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 3544069059676635136 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | edev | r extcon_get_extcon_dev |
| MEM_ZERO | 3 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-qcom-legacy.c dwc3_qcom_register_extcon() -> devm_extcon_register_notifier()
| 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 | 2 | id | 1 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 2189493323276406784 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| MEM_ZERO | 3 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-qcom-legacy.c dwc3_qcom_register_extcon() -> devm_extcon_register_notifier()
| 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_data | 0 |
| PARAM_VALUE | 0 | dev->of_node | 0 |
| PARAM_VALUE | 2 | id | 2 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 5017952222517088256 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 3 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-omap.c dwc3_omap_extcon_register() -> devm_extcon_register_notifier()
| 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 | edev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 1 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 6954290874078715904 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 1 | edev->dev.parent->of_node | 1 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| MEM_ZERO | 3 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/dwc3/dwc3-omap.c dwc3_omap_extcon_register() -> devm_extcon_register_notifier()
| 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 | edev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 2 |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 608086173423038464 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 1 | edev->dev.parent->of_node | 1 |
| DATA_SOURCE | 1 | edev | r extcon_get_edev_by_phandle |
| MEM_ZERO | 3 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/charger-manager.c charger_extcon_init() -> devm_extcon_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| 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 | 1 | edev | 4096-ptr_max |
| PARAM_VALUE | 3 | nb | 4096-ptr_max |
| PARAM_VALUE | 3 | nb->notifier_call | 4642902849208406016 |
| DATA_SOURCE | 1 | edev | r extcon_get_extcon_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING |