Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/fddi/skfp/fplustm.c formac_reinit_tx() -> init_mac()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ess.sync_bw_available 0-1
PARAM_VALUE 0 priv->evcs->evc_code 0-255
PARAM_VALUE 0 priv->evcs->evc_index 0-255
PARAM_VALUE 0 priv->evcs->evc_para 0,4168,8332-8336,16464-16467
PARAM_VALUE 0 priv->evcs->evc_rep_required 0-255
PARAM_VALUE 0 priv->hw.fp.fifo.fifo_config_mode 2-u16max
PARAM_VALUE 0 priv->hw.fp.fifo.tx_s_size 0
PARAM_VALUE 0 priv->mib.a 4096-ptr_max
PARAM_VALUE 0 priv->mib.m 4096-ptr_max
PARAM_VALUE 0 priv->mib.m->fddiMACAvailablePaths 1
PARAM_VALUE 0 priv->mib.m->fddiMACCurrentPath 3
PARAM_VALUE 0 priv->mib.m->fddiMACDA_Flag 0-1
PARAM_VALUE 0 priv->mib.m->fddiMACDownstreamPORTType 0-2,4
PARAM_VALUE 0 priv->mib.m->fddiMACDupAddressTest 0-2
PARAM_VALUE 0 priv->mib.m->fddiMACFrameStatusFunctions 0
PARAM_VALUE 0 priv->mib.m->fddiMACHardwarePresent 1
PARAM_VALUE 0 priv->mib.m->fddiMACIndex 1
PARAM_VALUE 0 priv->mib.m->fddiMACMA_UnitdataAvailable 0-1
PARAM_VALUE 0 priv->mib.m->fddiMACMA_UnitdataEnable 0-1
PARAM_VALUE 0 priv->mib.m->fddiMACRequestedPaths 4-u16max
PARAM_VALUE 0 priv->mib.m->fddiMACTVXCapabilitiy s64max
PARAM_VALUE 0 priv->mib.m->fddiMACT_MaxCapabilitiy s64max
PARAM_VALUE 0 priv->mib.m->fddiMACT_MaxMIB s64max
PARAM_VALUE 0 priv->mib.m->fddiMACT_Neg 4292870144-4294967295
PARAM_VALUE 0 priv->mib.m->fddiMACT_ReqMIB s64max
PARAM_VALUE 0 priv->mib.m->fddiMACTvxValueMIB s64max
PARAM_VALUE 0 priv->mib.m->fddiMACUNDA_Flag 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTBS_Flag 0
PARAM_VALUE 0 priv->mib.p->fddiPORTConnectState 0-3
PARAM_VALUE 0 priv->mib.p->fddiPORTConnectionPolicies 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTCurrentPath 0,4-5
PARAM_VALUE 0 priv->mib.p->fddiPORTHardwarePresent 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTIndex 1-2
PARAM_VALUE 0 priv->mib.p->fddiPORTLer_Alarm 4-15
PARAM_VALUE 0 priv->mib.p->fddiPORTLer_Cutoff 4-15
PARAM_VALUE 0 priv->mib.p->fddiPORTLer_Estimate 0-65
PARAM_VALUE 0 priv->mib.p->fddiPORTMACPlacement 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTMacIndicated.R_val 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTMacIndicated.T_val 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTMaint_LS 0-4
PARAM_VALUE 0 priv->mib.p->fddiPORTMy_Type 0-2,4
PARAM_VALUE 0 priv->mib.p->fddiPORTNeighborType 0-4
PARAM_VALUE 0 priv->mib.p->fddiPORTPCMStateX 0-4,6-u16max
PARAM_VALUE 0 priv->mib.p->fddiPORTPC_LS 0-5
PARAM_VALUE 0 priv->mib.p->fddiPORTPC_Withhold 0-3
PARAM_VALUE 0 priv->mib.p->fddiPORTPMDClass 0-2,4-6
PARAM_VALUE 0 priv->os.hwm.tx_p->tx_curr_put->txd_txdscr 1073741824,1207959552-1476395008
PARAM_VALUE 0 priv->os.pdev.dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 priv->y->bitn 0,3-4,7-8
PARAM_VALUE 0 priv->y->cem_pst 0-2
PARAM_VALUE 0 priv->y->cf_join 0-1
PARAM_VALUE 0 priv->y->cf_loop 0-1
PARAM_VALUE 0 priv->y->curr_ls 12-15
PARAM_VALUE 0 priv->y->lc_test 1-4
PARAM_VALUE 0 priv->y->lem.lem_on 0-1
PARAM_VALUE 0 priv->y->ls_flag 0
PARAM_VALUE 0 priv->y->mib->fddiPORTHardwarePresent 0-1
PARAM_VALUE 0 priv->y->mib->fddiPORTLer_Estimate 0-65
PARAM_VALUE 0 priv->y->mib->fddiPORTMy_Type 0-2,4
PARAM_VALUE 0 priv->y->mib->fddiPORTNeighborType 0-4
PARAM_VALUE 0 priv->y->mib->fddiPORTPCMStateX 0-4,6-u16max
PARAM_VALUE 0 priv->y->mib->fddiPORTPMDClass 0-2,4-6
PARAM_VALUE 0 priv->y->np 0-1
PARAM_VALUE 0 priv->y->pc_lem_fail 0-1
PARAM_VALUE 0 priv->y->pc_mode 0-2
PARAM_VALUE 0 priv->y->plc.np_err 0
PARAM_VALUE 0 priv->y->plc.p_bits 0-3
PARAM_VALUE 0 priv->y->plc.p_pad 0
PARAM_VALUE 0 priv->y->plc.p_start 0,3-4,7-8
PARAM_VALUE 0 priv->y->plc.p_state 0-7
PARAM_VALUE 0 priv->y->plc.parity_err 0
PARAM_VALUE 0 priv->y->pmd_scramble 0-1
PARAM_VALUE 0 priv->y->rc_flag 0
PARAM_VALUE 0 priv->y->scrub 0-1
PARAM_VALUE 0 priv->y->tc_flag 0
PARAM_VALUE 0 priv->y->td_flag 0-1
PARAM_VALUE 0 priv->y->timer0_exp 0
PARAM_VALUE 0 priv->y->tr_flag 0-1
PARAM_VALUE 0 priv->y->twisted 0-1
PARAM_VALUE 0 priv->y->wc_flag 0-1
PARAM_VALUE 1 all 0
BUF_SIZE 0 priv->q.ev_get (-1),256
CAPPED_DATA 0 priv->mib.fddiESSPayload 1
DATA_SOURCE 0 priv $0
FUZZY_MAX 0 priv->ess.sync_bw_available 1
HARD_MAX 0 priv->ess.sync_bw_available 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 priv->e.ecm_timer.tm_smc->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->e.ecm_timer.tm_smc->hw.fp.s2u 0-u16max
HOST_DATA 0 priv->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->hw.fp.s2u 0-u16max
HOST_DATA 0 priv->r.rmt_timer0.tm_smc->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->r.rmt_timer0.tm_smc->hw.fp.s2u 0-u16max
HOST_DATA 0 priv->r.rmt_timer1.tm_smc->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->r.rmt_timer1.tm_smc->hw.fp.s2u 0-u16max
HOST_DATA 0 priv->r.rmt_timer2.tm_smc->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->r.rmt_timer2.tm_smc->hw.fp.s2u 0-u16max
HOST_DATA 0 priv->sm.smt_timer.tm_smc->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->sm.smt_timer.tm_smc->hw.fp.s2u 0-u16max
NO_OVERFLOW_SIMPLE 0 priv->e.ecm_timer.tm_smc->os.MacStat.gen.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->e.ecm_timer.tm_smc->os.hwm.tx_len
NO_OVERFLOW_SIMPLE 0 priv->os.hwm.tx_len
NO_OVERFLOW_SIMPLE 0 priv->r.rmt_timer0.tm_smc->os.MacStat.gen.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->r.rmt_timer0.tm_smc->os.hwm.tx_len
NO_OVERFLOW_SIMPLE 0 priv->r.rmt_timer1.tm_smc->os.MacStat.gen.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->r.rmt_timer1.tm_smc->os.hwm.tx_len
NO_OVERFLOW_SIMPLE 0 priv->r.rmt_timer2.tm_smc->os.MacStat.gen.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->r.rmt_timer2.tm_smc->os.hwm.tx_len
NO_OVERFLOW_SIMPLE 0 priv->t.st_fast.tm_smc->os.MacStat.gen.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->t.st_fast.tm_smc->os.hwm.tx_len
HALF_LOCKED2 &bp->DriverLock
HALF_LOCKED2 Flags

drivers/net/fddi/skfp/fplustm.c init_fplus() -> init_mac()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->evcs->evc_code 0-255
PARAM_VALUE 0 priv->evcs->evc_rep_required 0-255
PARAM_VALUE 0 priv->hw.fp.fm_st1l 4096-ptr_max
PARAM_VALUE 0 priv->hw.fp.fm_st1u 4096-ptr_max
PARAM_VALUE 0 priv->hw.fp.fm_st2l 4096-ptr_max
PARAM_VALUE 0 priv->hw.fp.fm_st2u 4096-ptr_max
PARAM_VALUE 0 priv->hw.fp.fm_st3l 4096-ptr_max
PARAM_VALUE 0 priv->hw.fp.fm_st3u 4096-ptr_max
PARAM_VALUE 0 priv->hw.fp.frselreg_init 49152
PARAM_VALUE 0 priv->hw.fp.func_addr 0
PARAM_VALUE 0 priv->hw.fp.mdr2init 47491
PARAM_VALUE 0 priv->hw.fp.mdr3init 129,385
PARAM_VALUE 0 priv->hw.fp.nsa_mode 512
PARAM_VALUE 0 priv->hw.fp.rx_mode 0
PARAM_VALUE 0 priv->hw.fp.s2l 0
PARAM_VALUE 0 priv->hw.fp.s2u 0
PARAM_VALUE 0 priv->hw.hw_is_64bit 0-1
PARAM_VALUE 0 priv->hw.hw_state 0
PARAM_VALUE 0 priv->hw.is_imask 8368179
PARAM_VALUE 0 priv->hw.mac_ct.mac_nobuf_counter 0
PARAM_VALUE 0 priv->hw.mac_ct.mac_r_restart_counter 0
PARAM_VALUE 0 priv->hw.mac_pa.t_neg 0
PARAM_VALUE 0 priv->hw.mac_pa.t_pri 0
PARAM_VALUE 0 priv->hw.mac_ring_is_up 0
PARAM_VALUE 0 priv->mib.fddiSMTBypassPresent 0-1
PARAM_VALUE 0 priv->mib.p 4096-ptr_max
PARAM_VALUE 0 priv->mib.p->fddiPORTAvailablePaths 0-255
PARAM_VALUE 0 priv->mib.p->fddiPORTHardwarePresent 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTIndex 1-2
PARAM_VALUE 0 priv->mib.p->fddiPORTLer_Alarm 4-15
PARAM_VALUE 0 priv->mib.p->fddiPORTLer_Cutoff 4-15
PARAM_VALUE 0 priv->mib.p->fddiPORTPMDClass 0-2,4-6
PARAM_VALUE 0 priv->os.hwm.tx_p->tx_curr_put->txd_txdscr 1073741824,1207959552-1476395008
PARAM_VALUE 0 priv->os.pdev.dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 priv->s.sas 0-1
PARAM_VALUE 0 priv->y 4096-ptr_max
PARAM_VALUE 0 priv->y->wc_flag 0-1
PARAM_VALUE 0 *priv->hw.fddi_canon_addr.a 0-255
PARAM_VALUE 0 *priv->hw.fddi_home_addr.a 0-255
PARAM_VALUE 0 *priv->hw.fddi_phys_addr.a 0-255
PARAM_VALUE 1 all 1
DATA_SOURCE 0 priv $0
BIT_INFO 0 priv->hw.fp.mdr3init 0x81,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->DriverLock

drivers/net/fddi/skfp/fplustm.c sm_ma_control() -> init_mac()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->evcs->evc_code 0-255
PARAM_VALUE 0 priv->evcs->evc_para 0,4168,8332-8336,16464-16467
PARAM_VALUE 0 priv->evcs->evc_rep_required 0-255
PARAM_VALUE 0 priv->mib.m 4096-ptr_max
PARAM_VALUE 0 priv->mib.m->fddiMACTVXCapabilitiy s64max
PARAM_VALUE 0 priv->mib.m->fddiMACT_MaxCapabilitiy s64max
PARAM_VALUE 0 priv->mib.m->fddiMACT_MaxMIB s64max
PARAM_VALUE 0 priv->mib.m->fddiMACT_ReqMIB s64max
PARAM_VALUE 0 priv->mib.m->fddiMACTvxValueMIB s64max
PARAM_VALUE 0 priv->mib.p->fddiPORTAvailablePaths 0-255
PARAM_VALUE 0 priv->mib.p->fddiPORTHardwarePresent 0-1
PARAM_VALUE 0 priv->mib.p->fddiPORTIndex 1-2
PARAM_VALUE 0 priv->mib.p->fddiPORTLer_Alarm 4-15
PARAM_VALUE 0 priv->mib.p->fddiPORTLer_Cutoff 4-15
PARAM_VALUE 0 priv->mib.p->fddiPORTPMDClass 0-2,4-6
PARAM_VALUE 0 priv->os.hwm.isr_flag 0-1
PARAM_VALUE 0 priv->os.hwm.llc_rx_pipe->m_next 0
PARAM_VALUE 0 priv->os.hwm.tx_p->tx_curr_put->txd_txdscr 1073741824,1207959552-1476395008
PARAM_VALUE 0 priv->y->lem.lem_float_ber 0-u16max
PARAM_VALUE 0 priv->y->lem.lem_on 0-1
PARAM_VALUE 0 priv->y->ls_flag 0
PARAM_VALUE 0 priv->y->mib->fddiPORTAvailablePaths 0-255
PARAM_VALUE 0 priv->y->mib->fddiPORTHardwarePresent 0-1
PARAM_VALUE 0 priv->y->mib->fddiPORTLer_Estimate 0-65
PARAM_VALUE 0 priv->y->mib->fddiPORTMy_Type 0-2,4
PARAM_VALUE 0 priv->y->mib->fddiPORTNeighborType 0-4
PARAM_VALUE 0 priv->y->mib->fddiPORTPCMState 0-u16max
PARAM_VALUE 0 priv->y->mib->fddiPORTPCMStateX 0-4,6-u16max
PARAM_VALUE 0 priv->y->mib->fddiPORTPMDClass 0-2,4-6
PARAM_VALUE 0 priv->y->np 0-1
PARAM_VALUE 0 priv->y->pc_lem_fail 0-1
PARAM_VALUE 0 priv->y->phy_name 0-255
PARAM_VALUE 0 priv->y->plc.np_err 0
PARAM_VALUE 0 priv->y->plc.p_bits 0-3
PARAM_VALUE 0 priv->y->plc.p_pad 0
PARAM_VALUE 0 priv->y->plc.p_start 0,3-4,7-8
PARAM_VALUE 0 priv->y->plc.p_state 0-7
PARAM_VALUE 0 priv->y->plc.parity_err 0
PARAM_VALUE 0 priv->y->pmd_scramble 0-1
PARAM_VALUE 0 priv->y->rc_flag 0
PARAM_VALUE 0 priv->y->tc_flag 0
PARAM_VALUE 0 priv->y->td_flag 0-1
PARAM_VALUE 0 priv->y->wc_flag 0-1
PARAM_VALUE 0 *priv->evcs->evc_cond_state 0-255
PARAM_VALUE 0 *priv->evcs->evc_multiple 0-255
PARAM_VALUE 0 *priv->hw.fddi_canon_addr.a 0-255
PARAM_VALUE 0 *priv->hw.fddi_home_addr.a 0-255
PARAM_VALUE 0 *priv->hw.fddi_phys_addr.a 0-255
PARAM_VALUE 0 *priv->mib.fddiSMTStationId.sid_node.a 0-255
PARAM_VALUE 1 all 0
BUF_SIZE 0 priv->q.ev_get (-1),256
DATA_SOURCE 0 priv $0
HARD_MAX 0 priv->os.hwm.isr_flag 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 priv->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->hw.fp.s2u 0-u16max
HOST_DATA 0 priv->sm.smt_timer.tm_smc->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->sm.smt_timer.tm_smc->hw.fp.s2u 0-u16max
HOST_DATA 0 priv->t.st_fast.tm_smc->hw.fp.s2l 0-u16max
HOST_DATA 0 priv->t.st_fast.tm_smc->hw.fp.s2u 0-u16max
HALF_LOCKED2 &bp->DriverLock

drivers/net/ethernet/altera/altera_tse_main.c tse_open() -> init_mac()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dmaops 4096-ptr_max
PARAM_VALUE 0 priv->mac_cfg_lock.rlock.dep_map->name 0-255
BIT_INFO 0 priv->msg_enable 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &priv->mac_cfg_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct altera_tse_private)->mac_cfg_lock