Defined in 1 files as a function:
Referenced in 13 files:
- drivers/power/supply/ab8500_charger.c, line 3664
- drivers/power/supply/bq256xx_charger.c
- drivers/power/supply/bq25890_charger.c, line 1544
- drivers/power/supply/da9150-charger.c, line 571
- drivers/power/supply/isp1704_charger.c, line 443
- drivers/power/supply/rt9455_charger.c, line 1656
- drivers/power/supply/sc2731_charger.c, line 504
- drivers/power/supply/wm831x_power.c, line 662
- drivers/usb/fotg210/fotg210-udc.c, line 1278
- drivers/usb/gadget/udc/pxa27x_udc.c, line 2426
- drivers/usb/gadget/udc/tegra-xudc.c, line 3899
- drivers/usb/musb/ux500.c, line 155
- drivers/usb/phy/phy.c, line 556
Smatch caller information:
drivers/power/supply/bq25890_charger.c bq25890_probe() -> usb_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 6317745432024068096 |
| BUF_SIZE | 0 | x | 0 |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/sc2731_charger.c sc2731_charger_probe() -> usb_register_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 | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 5116673229545074688 |
| CAPPED_DATA | 0 | x->dev->of_node | 1 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy_by_phandle |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/isp1704_charger.c isp1704_charger_probe() -> usb_register_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->io_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | x->io_dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | x->io_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | x->io_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | x->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 867478947744882688 |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy.c devm_usb_get_phy_by_node() -> usb_register_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 | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 5617322356672462848 |
| CAPPED_DATA | 0 | x->dev->of_node | 1 |
| DATA_SOURCE | 0 | x | r __of_usb_find_phy |
| DATA_SOURCE | 1 | nb | $2 |
| MEM_ZERO | 1 | nb | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | global &phy_lock |
drivers/usb/gadget/udc/pxa27x_udc.c pxa_udc_probe() -> usb_register_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->type | 1 |
| PARAM_VALUE | 1 | nb | 33098060529209344 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/rt9455_charger.c rt9455_probe() -> usb_register_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->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 6274048233924001792 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/da9150-charger.c da9150_charger_probe() -> usb_register_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->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 7267499356671090688 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/bq256xx_charger.c bq256xx_probe() -> usb_register_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->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 8911408910587760640 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/bq256xx_charger.c bq256xx_probe() -> usb_register_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->type | 2 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 8911408910587760640 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/musb/ux500.c ux500_musb_init() -> usb_register_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->type | 1 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 8983741351776526336 |
| DATA_SOURCE | 0 | x | r usb_get_phy |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/fotg210/fotg210-udc.c fotg210_udc_probe() -> usb_register_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 | 1 | nb | 6808095761468203008 |
| CAPPED_DATA | 0 | x->dev->of_node | 1 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy_by_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/wm831x_power.c wm831x_power_probe() -> usb_register_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 | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 6222182970219442176 |
| CAPPED_DATA | 0 | x->dev->of_node | 1 |
| DATA_SOURCE | 0 | x | r devm_usb_get_phy_by_phandle |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |