Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/mdio/fwnode_mdio.c, line 135
- drivers/net/phy/nxp-tja11xx.c, line 586
- drivers/net/phy/phy_device.c
Smatch caller information:
drivers/net/mdio/fwnode_mdio.c fwnode_mdiobus_register_phy() -> phy_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 0-31 |
| PARAM_VALUE | 3 | is_c45 | 0 |
| PARAM_VALUE | 4 | c45_ids | 0 |
| BUF_SIZE | 0 | bus | (-1),3752,3784,3792,3800,3808,3816,3824,3912 |
| BUF_SIZE | 0 | bus | (-1),3752,3784,3792,3800,3808,3816,3824,3912 |
| BUF_SIZE | 0 | bus->name | (-1),3-5,7,9-25,28-29,32,50,61,80 |
| BUF_SIZE | 0 | bus->parent | (-1),1616 |
| BUF_SIZE | 0 | bus->priv | (-1),16,32,48,88,128 |
| BUF_SIZE | 0 | bus->read | (-1),8 |
| BUF_SIZE | 0 | bus->read_c45 | (-1),8 |
| BUF_SIZE | 0 | bus->reset | (-1),8 |
| BUF_SIZE | 0 | bus->write | (-1),8 |
| BUF_SIZE | 0 | bus->write_c45 | (-1),8 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | addr | $2 |
| STR_LEN | 0 | bus->id | (-1),60 |
| STR_LEN | 0 | bus->name | (-1),4,6,8-21,23-24,27-28,60 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->id |
drivers/net/phy/phy_device.c get_phy_device() -> phy_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bus->mdio_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->mdio_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->mdio_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bus->mdio_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bus->mdio_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bus->read_c45 | 1-u64max |
| PARAM_VALUE | 1 | addr | s32min-31 |
| PARAM_VALUE | 2 | phy_id | 0 |
| PARAM_VALUE | 3 | is_c45 | 1 |
| PARAM_VALUE | 4 | c45_ids | 3698899574603661312 |
| PARAM_VALUE | 4 | c45_ids->mmds_present | 0,2-4294967294 |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus->name | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | bus->parent | (-1),1616 |
| BUF_SIZE | 0 | bus->priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus->read | (-1),8 |
| BUF_SIZE | 0 | bus->read_c45 | (-1),8 |
| BUF_SIZE | 0 | bus->reset | (-1),8 |
| BUF_SIZE | 0 | bus->reset_gpiod | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | bus->write | (-1),8 |
| BUF_SIZE | 0 | bus->write_c45 | (-1),8 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| STR_LEN | 0 | bus->id | (-1),60 |
| STR_LEN | 0 | bus->name | (-1),4-6,8-21,23-25,27-28,33,60 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->id | |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | &sfp->sm_mutex |
drivers/net/phy/phy_device.c get_phy_device() -> phy_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bus->mdio_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->mdio_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->mdio_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bus->mdio_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bus->mdio_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 4 | c45_ids | 3698899574603661312 |
| PARAM_VALUE | 4 | c45_ids->mmds_present | 0,2-4294967294 |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus->name | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | bus->parent | (-1),1616 |
| BUF_SIZE | 0 | bus->priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus->read | (-1),8 |
| BUF_SIZE | 0 | bus->read_c45 | (-1),8 |
| BUF_SIZE | 0 | bus->reset | (-1),8 |
| BUF_SIZE | 0 | bus->reset_gpiod | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | bus->write | (-1),8 |
| BUF_SIZE | 0 | bus->write_c45 | (-1),8 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | is_c45 | $2 |
| STR_LEN | 0 | bus->id | (-1),60 |
| STR_LEN | 0 | bus->name | (-1),4-6,8-21,23-25,27-28,33,60 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->id | |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | &sfp->sm_mutex |
drivers/net/phy/nxp-tja11xx.c tja1102_p1_register() -> phy_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 0-31 |
| PARAM_VALUE | 2 | phy_id | 25222272 |
| PARAM_VALUE | 3 | is_c45 | 0 |
| PARAM_VALUE | 4 | c45_ids | 0 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 1 | addr | r of_mdio_parse_addr |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | &pool->lock |