Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/sun/sungem.c gem_init_phy() -> gem_begin_auto_negotiation()

Type Parameter Key Value
PARAM_VALUE 0 gp 4096-ptr_max
PARAM_VALUE 0 gp->dev 4096-ptr_max
PARAM_VALUE 0 gp->lstate 0
PARAM_VALUE 0 gp->mac_rx_cfg 12,36
PARAM_VALUE 0 gp->napi.dev 4096-ptr_max
PARAM_VALUE 0 gp->napi.dev->lock.dep_map->name 0-255
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 gp->napi.napi_hash_node.pprev 4096-ptr_max
PARAM_VALUE 0 gp->pdev 4096-ptr_max
PARAM_VALUE 0 gp->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 gp->pdev->irq 0
PARAM_VALUE 0 gp->pdev->is_busmaster 1
PARAM_VALUE 0 gp->pdev->pcie_cap 0-1
PARAM_VALUE 0 gp->phy_mii.def->features 8911,8959
PARAM_VALUE 0 gp->phy_mii.def->magic_aneg 0-1
PARAM_VALUE 0 gp->phy_mii.def->phy_id 0,65520,2121792,2121808,2121840,2121920,2121936,2121952,2122464,4219360,4219408,21040160,21040224,21040320,21216304,4294901760,4294967280
PARAM_VALUE 0 gp->phy_mii.def->phy_id_mask 0,4294967280
PARAM_VALUE 0 gp->rx_buf_sz s32min-(-1),1518-s32max
PARAM_VALUE 0 gp->rx_new 0
PARAM_VALUE 0 gp->rx_old 0
PARAM_VALUE 0 gp->timer_ticks 0
PARAM_VALUE 0 gp->tx_new 0
PARAM_VALUE 0 gp->tx_old 0
PARAM_VALUE 0 *gp->dev->name 0
PARAM_VALUE 0 *gp->rx_skbs 0
PARAM_VALUE 0 *gp->tx_skbs 0
PARAM_VALUE 1 ep 0
DATA_SOURCE 0 gp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/sun/sungem.c gem_link_timer() -> gem_begin_auto_negotiation()

Type Parameter Key Value
PARAM_VALUE 0 gp 4096-ptr_max
PARAM_VALUE 0 gp->phy_mii.def->magic_aneg 0-1
PARAM_VALUE 0 gp->phy_type 0-1,4-u32max
PARAM_VALUE 0 gp->reset_task_pending 0
PARAM_VALUE 1 ep 0
FUZZY_MAX 0 gp->phy_type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/sun/sungem.c gem_nway_reset() -> gem_begin_auto_negotiation()

Type Parameter Key Value
PARAM_VALUE 0 gp 4096-ptr_max
PARAM_VALUE 0 gp->dev 4096-ptr_max
PARAM_VALUE 0 gp->link_timer.entry.pprev 0
PARAM_VALUE 0 gp->link_timer.flags 0-4194302
PARAM_VALUE 0 gp->link_timer.function 0
PARAM_VALUE 0 gp->want_autoneg s32min-(-1),1-s32max
PARAM_VALUE 1 ep 0
CAPPED_DATA 0 &gp->link_timer 1
NOCHECK_CALL

drivers/net/ethernet/sun/sungem.c gem_reset_task() -> gem_begin_auto_negotiation()

Type Parameter Key Value
PARAM_VALUE 0 gp 4096-ptr_max
PARAM_VALUE 0 gp->dev 4096-ptr_max
PARAM_VALUE 0 gp->dev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gp->link_timer.entry.pprev 0
PARAM_VALUE 0 gp->link_timer.flags 0-4194302
PARAM_VALUE 0 gp->link_timer.function 0
PARAM_VALUE 0 gp->lstate 0-4,6-u32max
PARAM_VALUE 0 gp->mac_rx_cfg 12,36
PARAM_VALUE 0 gp->napi->thread->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 gp->napi.config 0,4096-ptr_max
PARAM_VALUE 0 gp->napi.dev 4096-ptr_max
PARAM_VALUE 0 gp->napi.dev->lock.dep_map->name 0-255
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 gp->napi.dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 gp->napi.napi_hash_node.next->pprev 1-u64max
PARAM_VALUE 0 gp->napi.thread 0,4096-ptr_max
PARAM_VALUE 0 gp->napi.thread->blocked_on 0
PARAM_VALUE 0 gp->napi.thread->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 gp->napi.thread->migration_disabled 0-1
PARAM_VALUE 0 gp->napi.thread->on_rq 0-1,3-255
PARAM_VALUE 0 gp->napi.thread->saved_state 0
PARAM_VALUE 0 gp->napi.thread->wake_cpu 0-s32max
PARAM_VALUE 0 gp->napi.timer.is_queued 0
PARAM_VALUE 0 gp->napi.timer.node.node.next 0
PARAM_VALUE 0 gp->napi.timer.node.node.prev 0
PARAM_VALUE 0 gp->pdev 4096-ptr_max
PARAM_VALUE 0 gp->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 gp->reset_task_pending 0
PARAM_VALUE 0 gp->rx_buf_sz s32min-(-1),1518-s32max
PARAM_VALUE 0 gp->rx_new 0
PARAM_VALUE 0 gp->rx_old 0
PARAM_VALUE 0 gp->tx_new 0
PARAM_VALUE 0 gp->tx_old 0
PARAM_VALUE 0 *gp->dev->name 0-255
PARAM_VALUE 0 *gp->rx_skbs 0
PARAM_VALUE 0 *gp->tx_skbs 0
PARAM_VALUE 1 ep 0
CAPPED_DATA 0 gp->napi.timer.base 1
CAPPED_DATA 0 &gp->link_timer 1
PARAM_COMPARE 0 &gp->napi.timer != $0->napi.timer.base->running
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/sun/sungem.c gem_set_link_ksettings() -> gem_begin_auto_negotiation()

Type Parameter Key Value
PARAM_VALUE 0 gp 4096-ptr_max
PARAM_VALUE 0 gp->dev 4096-ptr_max
PARAM_VALUE 0 gp->link_timer.entry.pprev 0
PARAM_VALUE 0 gp->link_timer.flags 0-4194302
PARAM_VALUE 0 gp->link_timer.function 0
PARAM_VALUE 1 ep 4096-ptr_max
PARAM_VALUE 1 ep->base.autoneg 0-1
PARAM_VALUE 1 ep->link_modes.advertising 4096-ptr_max
CAPPED_DATA 0 &gp->link_timer 1
DATA_SOURCE 1 ep $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 ep->base.autoneg 0
USER_DATA 1 ep->base.cmd 0-u32max
USER_DATA 1 ep->base.duplex 0-255
USER_DATA 1 ep->base.eth_tp_mdix 0-255
USER_DATA 1 ep->base.eth_tp_mdix_ctrl 0-255
USER_DATA 1 ep->base.master_slave_cfg 0
USER_DATA 1 ep->base.master_slave_state 0
USER_DATA 1 ep->base.mdio_support 0-255
USER_DATA 1 ep->base.phy_address 0-255
USER_DATA 1 ep->base.port 0-255
USER_DATA 1 ep->base.rate_matching 0-255
USER_DATA 1 ep->base.speed 0-u32max
USER_DATA 1 ep->base.transceiver 0-255