Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/phy/phy_device.c of_phy_ports() -> phy_add_port()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->read_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->interrupts | 0 |
| PARAM_VALUE | 0 | phydev->mdio.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mdio.dev.of_node | 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->supported | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->ops->configure_mii | 1269726191431852032,1374272623698165760,4263161333956964352,8852849359196143616 |
| PARAM_VALUE | 1 | port->ops->link_down | 0,5180926049693392896 |
| PARAM_VALUE | 1 | port->ops->link_up | 0,6155816832659722240 |
| PARAM_VALUE | 1 | port->pairs | 0-2,4 |
| PARAM_VALUE | 1 | port->parent_type | 0 |
| PARAM_VALUE | 1 | port->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->drv | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->interrupts | 0 |
| PARAM_VALUE | 1 | port->phy->mdio.bus | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->mdio.dev.of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->mdio.reset_state | 0 |
| BUF_SIZE | 1 | port | 88 |
| DATA_SOURCE | 0 | phydev | $0 |
| DATA_SOURCE | 1 | port | r phy_of_parse_port |
| POWER_OF_TWO | 1 | *port | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/phy/phy_device.c phy_default_setup_single_port() -> phy_add_port()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->interrupts | 0 |
| PARAM_VALUE | 0 | phydev->max_n_ports | (-2147483647)-s32max |
| PARAM_VALUE | 0 | phydev->mdio.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mdio.dev.of_node | 0,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->n_ports | s32min-2147483646 |
| PARAM_VALUE | 0 | phydev->supported | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->mediums | 0-2047 |
| PARAM_VALUE | 1 | port->not_described | 1 |
| PARAM_VALUE | 1 | port->pairs | 0-s32max |
| PARAM_VALUE | 1 | port->parent_type | 0 |
| PARAM_VALUE | 1 | port->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->drv | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->interrupts | 0 |
| PARAM_VALUE | 1 | port->phy->max_n_ports | (-2147483647)-s32max |
| PARAM_VALUE | 1 | port->phy->mdio.bus | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->mdio.dev.of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->mdio.reset_state | 0 |
| PARAM_VALUE | 1 | port->phy->n_ports | s32min-2147483646 |
| BUF_SIZE | 1 | port | 88 |
| CAPPED_DATA | 0 | phydev->n_ports | 1 |
| CAPPED_DATA | 1 | port->phy->n_ports | 1 |
| DATA_SOURCE | 0 | phydev | $0 |
| DATA_SOURCE | 1 | port | r phy_port_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/phy/phy_device.c phy_setup_sfp_port() -> phy_add_port()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->interrupts | 0 |
| PARAM_VALUE | 0 | phydev->is_genphy_driven | 0 |
| PARAM_VALUE | 0 | phydev->mdio.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mdio.dev.fwnode | 0,4096-u64max |
| PARAM_VALUE | 0 | phydev->mdio.dev.of_node | 0,4096-ptr_max |
| 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->rcdev | 0-s64max |
| PARAM_VALUE | 0 | phydev->mdio.reset_state | 0 |
| PARAM_VALUE | 0 | phydev->sfp_bus | 1-u64max |
| PARAM_VALUE | 0 | phydev->supported | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | port->head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->is_mii | 1 |
| PARAM_VALUE | 1 | port->is_sfp | 1 |
| PARAM_VALUE | 1 | port->parent_type | 0 |
| PARAM_VALUE | 1 | port->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->drv | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->interrupts | 0 |
| PARAM_VALUE | 1 | port->phy->is_genphy_driven | 0 |
| PARAM_VALUE | 1 | port->phy->mdio.bus | 4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->mdio.dev.fwnode | 0,4096-u64max |
| PARAM_VALUE | 1 | port->phy->mdio.dev.of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | port->phy->mdio.reset_state | 0 |
| PARAM_VALUE | 1 | port->phy->sfp_bus | 1-u64max |
| BUF_SIZE | 0 | phydev->sfp_bus | (-1),120 |
| BUF_SIZE | 1 | port | 88 |
| DATA_SOURCE | 0 | phydev | $0 |
| DATA_SOURCE | 1 | port | r phy_port_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |