Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bgmac.c bgmac_change_mtu() -> bgmac_umac_write()

Type Parameter Key Value
PARAM_VALUE 1 offset 20
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/broadcom/bgmac.c bgmac_chip_init() -> bgmac_umac_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->dma_dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_uses_io_tlb 1
PARAM_VALUE 0 bgmac->dma_dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bgmac->net_dev 4096-ptr_max
PARAM_VALUE 0 bgmac->net_dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 bgmac->read 4096-ptr_max
PARAM_VALUE 0 bgmac->write 4096-ptr_max
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 value 1550
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
DATA_SOURCE 0 bgmac $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 bgmac unit_byte

drivers/net/ethernet/broadcom/bgmac.c bgmac_enable() -> bgmac_umac_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->dma_dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_uses_io_tlb 1
PARAM_VALUE 0 bgmac->dma_dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bgmac->net_dev 4096-ptr_max
PARAM_VALUE 0 bgmac->net_dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 bgmac->read 4096-ptr_max
PARAM_VALUE 0 bgmac->write 4096-ptr_max
PARAM_VALUE 1 offset 8
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
DATA_SOURCE 0 bgmac $0
BIT_INFO 0 bgmac->feature_flags 0x0,0xffffffff
BIT_INFO 2 value 0x3,0xffffffff
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_enable() -> bgmac_umac_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->dma_dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 bgmac->dma_dev->dma_uses_io_tlb 1
PARAM_VALUE 0 bgmac->dma_dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bgmac->feature_flags 512-u32max
PARAM_VALUE 0 bgmac->net_dev 4096-ptr_max
PARAM_VALUE 0 bgmac->net_dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 bgmac->read 4096-ptr_max
PARAM_VALUE 0 bgmac->write 4096-ptr_max
PARAM_VALUE 1 offset 816
PARAM_VALUE 2 value 163839
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
DATA_SOURCE 0 bgmac $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 bgmac unit_byte

drivers/net/ethernet/broadcom/bgmac.c bgmac_umac_cmd_maskset() -> bgmac_umac_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->net_dev->phydev->attached_dev->rtnl_link_ops->priv_size 0,8,32,40,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,3552,3720,9688-u64max
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->read 4096-ptr_max
PARAM_VALUE 0 bgmac->write 4096-ptr_max
PARAM_VALUE 1 offset 8
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,0xffffffff
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_write_mac_address() -> bgmac_umac_write()

Type Parameter Key Value
PARAM_VALUE 1 offset 12
PARAM_VALUE 2 value 0-s32max
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
DATA_SOURCE 0 bgmac $0
BIT_INFO 2 value 0x0,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 bgmac unit_byte

drivers/net/ethernet/broadcom/bgmac.c bgmac_write_mac_address() -> bgmac_umac_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->write 4096-ptr_max
PARAM_VALUE 1 offset 16
PARAM_VALUE 2 value 0-u16max
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
BUF_SIZE 0 bgmac s32min-(-1),1-s32max
DATA_SOURCE 0 bgmac $0
BIT_INFO 2 value 0x0,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 bgmac unit_byte