Defined in 1 files as a function:
Referenced in 12 files:
- drivers/power/supply/ab8500_charger.c
- drivers/power/supply/bq256xx_charger.c
- drivers/power/supply/bq25890_charger.c, line 1555
- drivers/power/supply/da9150-charger.c
- drivers/power/supply/isp1704_charger.c, line 484
- drivers/power/supply/rt9455_charger.c
- drivers/power/supply/sc2731_charger.c, line 519
- drivers/power/supply/wm831x_power.c, line 709
- drivers/usb/fotg210/fotg210-udc.c
- drivers/usb/gadget/udc/pxa27x_udc.c
- drivers/usb/musb/ux500.c, line 168
- drivers/usb/phy/phy.c, line 345
Smatch caller information:
drivers/power/supply/bq25890_charger.c bq25890_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-ptr_max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/power/supply/sc2731_charger.c sc2731_charger_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/power/supply/isp1704_charger.c isp1704_charger_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/usb/phy/phy.c devm_usb_phy_release2() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nb | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/udc/pxa27x_udc.c pxa_udc_probe() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | x->dev->driver->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | x->notifier.head | 1-u64max |
| PARAM_VALUE | 0 | x->type | 1 |
| PARAM_VALUE | 1 | nb | 33098060529209344 |
| PARAM_VALUE | 1 | nb->next | 0,4096-ptr_max |
| CAPPED_DATA | 0 | x->notifier.head | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/udc/pxa27x_udc.c pxa_udc_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-ptr_max |
| PARAM_VALUE | 1 | nb | 33098060529209344 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/power/supply/rt9455_charger.c rt9455_probe() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | x->dev->driver->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | x->notifier.head | 4096-ptr_max |
| PARAM_VALUE | 0 | x->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 6274048233924001792 |
| CAPPED_DATA | 0 | x->notifier.head | 1 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/rt9455_charger.c rt9455_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/power/supply/da9150-charger.c da9150_charger_probe() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | x->dev->driver->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | x->notifier.head | 1-u64max |
| PARAM_VALUE | 0 | x->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 7267499356671090688 |
| CAPPED_DATA | 0 | x->notifier.head | 1 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/da9150-charger.c da9150_charger_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-ptr_max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/power/supply/bq256xx_charger.c bq256xx_charger_reset() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-ptr_max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| NOCHECK_CALL |
drivers/power/supply/bq256xx_charger.c bq256xx_charger_reset() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-ptr_max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| NOCHECK_CALL |
drivers/usb/musb/ux500.c ux500_musb_exit() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x->otg->usb_phy->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| BUF_SIZE | 0 | x->io_ops | (-1),16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/fotg210/fotg210-udc.c fotg210_udc_probe() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | x->dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | x->dev->driver->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | x->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->notifier.head | 1-u64max |
| PARAM_VALUE | 1 | nb | 6808095761468203008 |
| PARAM_VALUE | 1 | nb->next | 0,4096-ptr_max |
| CAPPED_DATA | 0 | x->dev->of_node | 1 |
| CAPPED_DATA | 0 | x->notifier.head | 1 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy_by_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/fotg210/fotg210-udc.c fotg210_udc_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-ptr_max |
| PARAM_VALUE | 1 | nb | 6808095761468203008 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/power/supply/wm831x_power.c wm831x_power_remove() -> usb_unregister_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |