Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/dsa/microchip/ksz_common.c, line 2378
- drivers/net/dsa/microchip/lan937x_main.c, line 747
Smatch caller information:
drivers/net/dsa/microchip/lan937x_main.c lan937x_mdio_register() -> ksz_parse_dt_phy_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->of_node | 1-u64max |
| PARAM_VALUE | 0 | dev->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->masks | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->shifts | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vlan_cache | 1-u64max |
| PARAM_VALUE | 0 | *dev->phy_addr_map | 0-255 |
| PARAM_VALUE | 1 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | bus->name | 1187970913189879808,4629921765292032000 |
| PARAM_VALUE | 1 | bus->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | bus->read | 5886359189816733696,6109261535132303360 |
| PARAM_VALUE | 1 | bus->write | 2429251786955251712,2942763195482259456 |
| PARAM_VALUE | 2 | mdio_np | 4096-ptr_max |
| PARAM_VALUE | 2 | mdio_np->fwnode.ops->get | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | bus | 3752,3784,3792,3800,3808,3816,3824,3912 |
| BUF_SIZE | 1 | bus | 3752,3784,3792,3800,3808,3816,3824,3912 |
| BUF_SIZE | 1 | bus->name | 13-14 |
| BUF_SIZE | 1 | bus->priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dev->info->port_cnt | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | bus | r devm_mdiobus_alloc |
| DATA_SOURCE | 2 | mdio_np | r of_get_child_by_name |
| STR_LEN | 1 | bus->id | 60 |
| STR_LEN | 1 | bus->name | 12-13 |
| BIT_INFO | 1 | bus->name | 0x4081400c04c000,0x507ccd50fe3de000 |
| BIT_INFO | 1 | bus->read | 0x5080047e7100c000,0x55f8fcfff9e5f000 |
| BIT_INFO | 1 | bus->write | 0x20964b8024504000,0x29f6efa9eff36000 |
| TERMINATED | 1 | bus->name | 1 |
| MEM_ZERO | 0 | dev->vlan_cache | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->info->num_vlans | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/microchip/ksz_common.c ksz_mdio_register() -> ksz_parse_dt_phy_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->of_node | 1-u64max |
| PARAM_VALUE | 0 | dev->dev_ops->get_port_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->masks | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->info->shifts | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vlan_cache | 1-u64max |
| PARAM_VALUE | 1 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | bus->name | 1187970913189879808,4629921765292032000 |
| PARAM_VALUE | 1 | bus->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | bus->read | 5886359189816733696,6109261535132303360 |
| PARAM_VALUE | 1 | bus->write | 2429251786955251712,2942763195482259456 |
| PARAM_VALUE | 2 | mdio_np | 4096-ptr_max |
| PARAM_VALUE | 2 | mdio_np->fwnode.ops->get | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | bus | 3752,3784,3792,3800,3808,3816,3824,3912 |
| BUF_SIZE | 1 | bus | 3752,3784,3792,3800,3808,3816,3824,3912 |
| BUF_SIZE | 1 | bus->name | 13-14 |
| BUF_SIZE | 1 | bus->priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dev->info->port_cnt | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | bus | r devm_mdiobus_alloc |
| DATA_SOURCE | 2 | mdio_np | r of_get_child_by_name |
| STR_LEN | 1 | bus->id | 60 |
| STR_LEN | 1 | bus->name | 12-13 |
| BIT_INFO | 1 | bus->name | 0x4081400c04c000,0x507ccd50fe3de000 |
| BIT_INFO | 1 | bus->read | 0x5080047e7100c000,0x55f8fcfff9e5f000 |
| BIT_INFO | 1 | bus->write | 0x20964b8024504000,0x29f6efa9eff36000 |
| TERMINATED | 1 | bus->name | 1 |
| MEM_ZERO | 0 | dev->vlan_cache | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->info->num_vlans | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |