Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/phy/mediatek/mtk-phy-lib.c mtk_phy_leds_state_init() -> (struct phy_driver)->led_hw_control_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->probe | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mdio.reset_ctrl->acquired | 0-1 |
| PARAM_VALUE | 0 | phydev->mdio.reset_ctrl->array | 0-1 |
| PARAM_VALUE | 0 | phydev->mdio.reset_ctrl->deassert_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->mdio.reset_ctrl->shared | 0-1 |
| PARAM_VALUE | 0 | phydev->mdio.reset_state | 0 |
| PARAM_VALUE | 0 | phydev->priv | 1-u64max |
| PARAM_VALUE | 1 | index | 0-1 |
| PARAM_VALUE | 2 | rules | 0 |
| BUF_SIZE | 0 | phydev->priv | (-1),8 |
| DATA_SOURCE | 0 | phydev | $0 |
| CONTAINER | 0 | -600-1688+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/phy/phy_device.c phy_led_hw_control_get() -> (struct phy_driver)->led_hw_control_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | phydev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phydev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | phydev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | rules | 4562356121031020544 |
| PARAM_VALUE | 2 | *rules | 0 |
| CAPPED_DATA | 0 | &phydev->lock | 1 |
| DATA_SOURCE | 2 | rules | $1 |
| CONTAINER | 0 | -600-1688+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &led_cdev->trigger_lock | ||
| LOCK2 | 0 | &phydev->lock | |
| HALF_LOCKED2 | &led_cdev->led_access | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &triggers_list_lock | ||
| TYPE_LOCK | (struct led_classdev)->trigger_lock | ||
| TYPE_LOCK | (struct phy_device)->lock |