Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/broadcom/bgmac-platform.c platform_bgmac_clk_enable() -> bgmac_idm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bgmac | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->bcma.core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->clk_enabled | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->idm_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->net_dev->phydev->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,429496627,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max |
| PARAM_VALUE | 0 | bgmac->plat.idm_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 2048 |
| PARAM_VALUE | 2 | value | 0 |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->dma_dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->mii_bus | (-1),3752,3784,3792,3800,3808,3816,3824,3912 |
| DATA_SOURCE | 0 | bgmac | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/broadcom/bgmac-platform.c platform_bgmac_clk_enable() -> bgmac_idm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bgmac | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->clk_enabled | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->idm_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->net_dev->phydev->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,429496627,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max |
| PARAM_VALUE | 0 | bgmac->plat.idm_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 1032 |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->dma_dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->mii_bus | (-1),3752,3784,3792,3800,3808,3816,3824,3912 |
| DATA_SOURCE | 0 | bgmac | $0 |
| BIT_INFO | 2 | value | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | value | 0-u32max |
drivers/net/ethernet/broadcom/bgmac.c bgmac_chip_reset_idm_config() -> bgmac_idm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bgmac | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->bcma.core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->clk_enabled | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->idm_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->net_dev->phydev->attached_dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 1 | offset | 1032 |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->dma_dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->mii_bus | (-1),3752,3784,3792,3800,3808,3816,3824,3912 |
| DATA_SOURCE | 0 | bgmac | $0 |
| BIT_INFO | 0 | bgmac->feature_flags | 0x0,0xffefffff |
| BIT_INFO | 2 | value | 0x0,0xfffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | value | 0-u32max |
| UNITS | 0 | bgmac | unit_byte |
drivers/net/ethernet/broadcom/bgmac.c bgmac_enet_probe() -> bgmac_idm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bgmac | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->bcma.core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->bcma.core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->cco_ctl_maskset | 1911985089718321152,2836161683730718720 |
| PARAM_VALUE | 0 | bgmac->clk_enable | 3674805469200842752,8894666406551937024 |
| PARAM_VALUE | 0 | bgmac->clk_enabled | 1947136798956724224,8997015185270575104 |
| PARAM_VALUE | 0 | bgmac->cmn_maskset32 | 597199176689475584,8712987608641204224 |
| PARAM_VALUE | 0 | bgmac->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->get_bus_clock | 6003392983651291136,7435470948172337152 |
| PARAM_VALUE | 0 | bgmac->idm_read | 1527166292826488832,3414710835999649792 |
| PARAM_VALUE | 0 | bgmac->idm_write | 2265407111106248704,8193237325556011008 |
| PARAM_VALUE | 0 | bgmac->in_init | 1 |
| PARAM_VALUE | 0 | bgmac->net_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->net_dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->net_dev->dev.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->net_dev->dev_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->net_dev->ethtool_ops | 2189710607479525376 |
| PARAM_VALUE | 0 | bgmac->net_dev->netdev_ops | 820152611659128832 |
| PARAM_VALUE | 0 | bgmac->phy_connect | 516318553910988800,4264035439723364352,7990405671314407424 |
| PARAM_VALUE | 0 | bgmac->read | 2613319637133938688,7492900966385758208 |
| PARAM_VALUE | 0 | bgmac->write | 1603713233934925824,2441709048120696832 |
| PARAM_VALUE | 0 | *bgmac->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | offset | 256 |
| PARAM_VALUE | 2 | value | 134 |
| BUF_SIZE | 0 | bgmac->dev | 1616 |
| BUF_SIZE | 0 | bgmac->dma_dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->mii_bus | (-1),3752,3784,3792,3800,3808,3816,3824,3912 |
| DATA_SOURCE | 0 | bgmac | $0 |
| BIT_INFO | 0 | bgmac->feature_flags | 0x10000,0xffefffff |
| BIT_INFO | 0 | bgmac->phy_connect | 0x220048100424000,0xffffffffffffffff |
| TERMINATED | 0 | bgmac->node.name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/broadcom/bgmac.c bgmac_miiconfig() -> bgmac_idm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bgmac | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->bcma.core->bus->mapped_core | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->bcma.core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->clk_enabled | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->idm_read | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->mac_duplex | 255 |
| PARAM_VALUE | 0 | bgmac->mac_speed | (-1) |
| PARAM_VALUE | 0 | bgmac->net_dev->phydev->attached_dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 0 | bgmac->read | 4096-ptr_max |
| PARAM_VALUE | 0 | bgmac->write | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1032 |
| PARAM_VALUE | 2 | value | 0,4-u32max |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->dma_dev | (-1),1616 |
| BUF_SIZE | 0 | bgmac->irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bgmac->mii_bus | (-1),3752,3784,3792,3800,3808,3816,3824,3912 |
| DATA_SOURCE | 0 | bgmac | $0 |
| BIT_INFO | 0 | bgmac->feature_flags | 0x4000,0xffffffffffffffff |
| BIT_INFO | 2 | value | 0x44,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | value | 0,4-u32max |
| UNITS | 0 | bgmac | unit_byte |