Defined in 4 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/mdio/mdio-xgene.c xgene_mdio_reset() -> xgene_enet_ecc_init()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->clk 0,4096-ptr_max
PARAM_VALUE 0 p->dev 4096-ptr_max
PARAM_VALUE 0 p->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 p->mac_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->mdio_id s32min-(-1),1-s32max
BUF_SIZE 0 p 128
BUF_SIZE 0 p->clk (-1)-s32max
BUF_SIZE 0 p->dev 1616
DATA_SOURCE 0 p $0
MEM_ZERO 0 p
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c xgene_enet_reset() -> xgene_enet_ecc_init()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->base_addr 4096-ptr_max
PARAM_VALUE 0 p->bp_bufnum 32,34,42
PARAM_VALUE 0 p->cle.base 4096-ptr_max
PARAM_VALUE 0 p->cle_ops 5902719294766219264
PARAM_VALUE 0 p->cle_ops->cle_init 85183355599302656
PARAM_VALUE 0 p->clk 0,4096-u64max
PARAM_VALUE 0 p->cpu_bufnum 0,12
PARAM_VALUE 0 p->cq_cnt 0-8
PARAM_VALUE 0 p->enet_id 1-u32max
PARAM_VALUE 0 p->eth_bufnum 0,2,10
PARAM_VALUE 0 p->eth_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->eth_diag_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->eth_ring_if_addr 4096-ptr_max
PARAM_VALUE 0 p->mac_ops 1627732935986294784,3423792160230154240,5699344350772453376
PARAM_VALUE 0 p->mac_ops->enable_tx_pause 1112335856800751616,3339652768413564928,3843662114273247232
PARAM_VALUE 0 p->mac_ops->flowctl_rx 1217410060860772352,3297521020921712640,9031173552732508160
PARAM_VALUE 0 p->mac_ops->flowctl_tx 2078702814733647872,2783809818152452096,5304632318164836352
PARAM_VALUE 0 p->mac_ops->get_drop_cnt 604807248720007168,4053083482872942592,8038974048301076480
PARAM_VALUE 0 p->mac_ops->init 2635962597699907584,4109314939683311616,5750538533451755520
PARAM_VALUE 0 p->mac_ops->link_state 0,6162598248960888832,8709832051633078272
PARAM_VALUE 0 p->mac_ops->reset 4379797092788641792,7309601326392954880,8926327638305456128
PARAM_VALUE 0 p->mac_ops->rx_disable 1210063645446656000,3173331400146649088,3551021463342542848
PARAM_VALUE 0 p->mac_ops->rx_enable 367166823248248832,4745882282933215232,4954556270018134016
PARAM_VALUE 0 p->mac_ops->set_framesize 1327752681431998464,3239532115682029568,7549759075381788672
PARAM_VALUE 0 p->mac_ops->set_mac_addr 3088308069062324224,5335476297416847360,5652431500423815168
PARAM_VALUE 0 p->mac_ops->set_mss 0,5525790641576173568
PARAM_VALUE 0 p->mac_ops->set_speed 0,395849106347356160,4309229330825613312
PARAM_VALUE 0 p->mac_ops->tx_disable 862500280876605440,2419705982266036224,6437994537819287552
PARAM_VALUE 0 p->mac_ops->tx_enable 2045804063170002944,2419655514127552512,5520669779485655040
PARAM_VALUE 0 p->ndev 4096-ptr_max
PARAM_VALUE 0 p->ndev->addr_assign_type 1
PARAM_VALUE 0 p->pdev 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 p->pdev->num_resources 1-u32max
PARAM_VALUE 0 p->phy_mode 4,9-12,15
PARAM_VALUE 0 p->port_ops 3941057910839087104,5029293423375626240,6343797020499111936
PARAM_VALUE 0 p->port_ops->cle_bypass 2456027501439057920,4534207722107740160,4568131747576872960
PARAM_VALUE 0 p->port_ops->clear 2842622105048932352,6577785220047351808,8868804941992542208
PARAM_VALUE 0 p->port_ops->reset 2470323696345710592,3317143420558897152,9023326624372269056
PARAM_VALUE 0 p->port_ops->shutdown 1824910738500501504,5102370217960353792,7909737047885086720
PARAM_VALUE 0 p->ring_cmd_addr 4096-ptr_max
PARAM_VALUE 0 p->ring_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->ring_num 0,8,256,264
PARAM_VALUE 0 p->ring_ops 2341918733471191040,2406788932461363200
PARAM_VALUE 0 p->ring_ops->clear 5914969249886916608,8205709188836573184
PARAM_VALUE 0 p->ring_ops->coalesce 0,4703791070661570560
PARAM_VALUE 0 p->ring_ops->len 4647335664322809856,8741278108752719872
PARAM_VALUE 0 p->ring_ops->num_ring_config 5-6
PARAM_VALUE 0 p->ring_ops->num_ring_id_shift 6,13
PARAM_VALUE 0 p->ring_ops->setup 6377138825580339200,7350069259206803456
PARAM_VALUE 0 p->ring_ops->wr_cmd 1635274688691306496,3754385227648954368
PARAM_VALUE 0 p->rm 0-1,3
PARAM_VALUE 0 p->rx_buff_cnt 1024
PARAM_VALUE 0 p->rx_delay 0-7
PARAM_VALUE 0 p->rxq_cnt 1-8
PARAM_VALUE 0 p->sfp_rdy 4096-u64max
PARAM_VALUE 0 p->tx_delay 0-7
PARAM_VALUE 0 p->txq_cnt 0-8
PARAM_VALUE 0 *p->irqs 1-s32max
PARAM_VALUE 0 *p->ndev->name 0
PARAM_VALUE 0 *p->ndev->perm_addr 0-255
CAPPED_DATA 0 p->pdev->num_resources 1
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/apm/xgene/xgene_enet_hw.c xgene_enet_reset() -> xgene_enet_ecc_init()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->base_addr 4096-ptr_max
PARAM_VALUE 0 p->bp_bufnum 32,34,42
PARAM_VALUE 0 p->cle.base 4096-ptr_max
PARAM_VALUE 0 p->cle_ops 5902719294766219264
PARAM_VALUE 0 p->cle_ops->cle_init 85183355599302656
PARAM_VALUE 0 p->clk 0,4096-u64max
PARAM_VALUE 0 p->cpu_bufnum 0,12
PARAM_VALUE 0 p->cq_cnt 0-8
PARAM_VALUE 0 p->enet_id 1-u32max
PARAM_VALUE 0 p->eth_bufnum 0,2,10
PARAM_VALUE 0 p->eth_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->eth_diag_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->eth_ring_if_addr 4096-ptr_max
PARAM_VALUE 0 p->mac_ops 1627732935986294784,3423792160230154240,5699344350772453376
PARAM_VALUE 0 p->mac_ops->enable_tx_pause 1112335856800751616,3339652768413564928,3843662114273247232
PARAM_VALUE 0 p->mac_ops->flowctl_rx 1217410060860772352,3297521020921712640,9031173552732508160
PARAM_VALUE 0 p->mac_ops->flowctl_tx 2078702814733647872,2783809818152452096,5304632318164836352
PARAM_VALUE 0 p->mac_ops->get_drop_cnt 604807248720007168,4053083482872942592,8038974048301076480
PARAM_VALUE 0 p->mac_ops->init 2635962597699907584,4109314939683311616,5750538533451755520
PARAM_VALUE 0 p->mac_ops->link_state 0,6162598248960888832,8709832051633078272
PARAM_VALUE 0 p->mac_ops->reset 4379797092788641792,7309601326392954880,8926327638305456128
PARAM_VALUE 0 p->mac_ops->rx_disable 1210063645446656000,3173331400146649088,3551021463342542848
PARAM_VALUE 0 p->mac_ops->rx_enable 367166823248248832,4745882282933215232,4954556270018134016
PARAM_VALUE 0 p->mac_ops->set_framesize 1327752681431998464,3239532115682029568,7549759075381788672
PARAM_VALUE 0 p->mac_ops->set_mac_addr 3088308069062324224,5335476297416847360,5652431500423815168
PARAM_VALUE 0 p->mac_ops->set_mss 0,5525790641576173568
PARAM_VALUE 0 p->mac_ops->set_speed 0,395849106347356160,4309229330825613312
PARAM_VALUE 0 p->mac_ops->tx_disable 862500280876605440,2419705982266036224,6437994537819287552
PARAM_VALUE 0 p->mac_ops->tx_enable 2045804063170002944,2419655514127552512,5520669779485655040
PARAM_VALUE 0 p->mdio_driver 0
PARAM_VALUE 0 p->ndev 4096-ptr_max
PARAM_VALUE 0 p->ndev->addr_assign_type 1
PARAM_VALUE 0 p->pdev 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 p->pdev->num_resources 1-u32max
PARAM_VALUE 0 p->phy_mode 4,9-12,15
PARAM_VALUE 0 p->port_ops 3941057910839087104,5029293423375626240,6343797020499111936
PARAM_VALUE 0 p->port_ops->cle_bypass 2456027501439057920,4534207722107740160,4568131747576872960
PARAM_VALUE 0 p->port_ops->clear 2842622105048932352,6577785220047351808,8868804941992542208
PARAM_VALUE 0 p->port_ops->reset 2470323696345710592,3317143420558897152,9023326624372269056
PARAM_VALUE 0 p->port_ops->shutdown 1824910738500501504,5102370217960353792,7909737047885086720
PARAM_VALUE 0 p->ring_cmd_addr 4096-ptr_max
PARAM_VALUE 0 p->ring_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->ring_num 0,8,256,264
PARAM_VALUE 0 p->ring_ops 2341918733471191040,2406788932461363200
PARAM_VALUE 0 p->ring_ops->clear 5914969249886916608,8205709188836573184
PARAM_VALUE 0 p->ring_ops->coalesce 0,4703791070661570560
PARAM_VALUE 0 p->ring_ops->len 4647335664322809856,8741278108752719872
PARAM_VALUE 0 p->ring_ops->num_ring_config 5-6
PARAM_VALUE 0 p->ring_ops->num_ring_id_shift 6,13
PARAM_VALUE 0 p->ring_ops->setup 6377138825580339200,7350069259206803456
PARAM_VALUE 0 p->ring_ops->wr_cmd 1635274688691306496,3754385227648954368
PARAM_VALUE 0 p->rm 0-1,3
PARAM_VALUE 0 p->rx_buff_cnt 1024
PARAM_VALUE 0 p->rx_delay 0-7
PARAM_VALUE 0 p->rxq_cnt 1-8
PARAM_VALUE 0 p->sfp_rdy 4096-u64max
PARAM_VALUE 0 p->tx_delay 0-7
PARAM_VALUE 0 p->txq_cnt 0-8
PARAM_VALUE 0 *p->irqs 1-s32max
PARAM_VALUE 0 *p->ndev->name 0
PARAM_VALUE 0 *p->ndev->perm_addr 0-255
CAPPED_DATA 0 p->pdev->num_resources 1
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c xgene_enet_reset() -> xgene_enet_ecc_init()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->base_addr 4096-ptr_max
PARAM_VALUE 0 p->bp_bufnum 32,34,42
PARAM_VALUE 0 p->cle.base 4096-ptr_max
PARAM_VALUE 0 p->cle_ops 5902719294766219264
PARAM_VALUE 0 p->cle_ops->cle_init 85183355599302656
PARAM_VALUE 0 p->clk 0,4096-u64max
PARAM_VALUE 0 p->cpu_bufnum 0,12
PARAM_VALUE 0 p->cq_cnt 0-8
PARAM_VALUE 0 p->enet_id 1-u32max
PARAM_VALUE 0 p->eth_bufnum 0,2,10
PARAM_VALUE 0 p->eth_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->eth_diag_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->eth_ring_if_addr 4096-ptr_max
PARAM_VALUE 0 p->mac_ops 1627732935986294784,3423792160230154240,5699344350772453376
PARAM_VALUE 0 p->mac_ops->enable_tx_pause 1112335856800751616,3339652768413564928,3843662114273247232
PARAM_VALUE 0 p->mac_ops->flowctl_rx 1217410060860772352,3297521020921712640,9031173552732508160
PARAM_VALUE 0 p->mac_ops->flowctl_tx 2078702814733647872,2783809818152452096,5304632318164836352
PARAM_VALUE 0 p->mac_ops->get_drop_cnt 604807248720007168,4053083482872942592,8038974048301076480
PARAM_VALUE 0 p->mac_ops->init 2635962597699907584,4109314939683311616,5750538533451755520
PARAM_VALUE 0 p->mac_ops->link_state 0,6162598248960888832,8709832051633078272
PARAM_VALUE 0 p->mac_ops->reset 4379797092788641792,7309601326392954880,8926327638305456128
PARAM_VALUE 0 p->mac_ops->rx_disable 1210063645446656000,3173331400146649088,3551021463342542848
PARAM_VALUE 0 p->mac_ops->rx_enable 367166823248248832,4745882282933215232,4954556270018134016
PARAM_VALUE 0 p->mac_ops->set_framesize 1327752681431998464,3239532115682029568,7549759075381788672
PARAM_VALUE 0 p->mac_ops->set_mac_addr 3088308069062324224,5335476297416847360,5652431500423815168
PARAM_VALUE 0 p->mac_ops->set_mss 0,5525790641576173568
PARAM_VALUE 0 p->mac_ops->set_speed 0,395849106347356160,4309229330825613312
PARAM_VALUE 0 p->mac_ops->tx_disable 862500280876605440,2419705982266036224,6437994537819287552
PARAM_VALUE 0 p->mac_ops->tx_enable 2045804063170002944,2419655514127552512,5520669779485655040
PARAM_VALUE 0 p->ndev 4096-ptr_max
PARAM_VALUE 0 p->ndev->addr_assign_type 1
PARAM_VALUE 0 p->pdev 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 p->pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 p->pdev->num_resources 1-u32max
PARAM_VALUE 0 p->phy_mode 4,9-12,15
PARAM_VALUE 0 p->port_id 0
PARAM_VALUE 0 p->port_ops 3941057910839087104,5029293423375626240,6343797020499111936
PARAM_VALUE 0 p->port_ops->cle_bypass 2456027501439057920,4534207722107740160,4568131747576872960
PARAM_VALUE 0 p->port_ops->clear 2842622105048932352,6577785220047351808,8868804941992542208
PARAM_VALUE 0 p->port_ops->reset 2470323696345710592,3317143420558897152,9023326624372269056
PARAM_VALUE 0 p->port_ops->shutdown 1824910738500501504,5102370217960353792,7909737047885086720
PARAM_VALUE 0 p->ring_cmd_addr 4096-ptr_max
PARAM_VALUE 0 p->ring_csr_addr 4096-ptr_max
PARAM_VALUE 0 p->ring_num 0,8,256,264
PARAM_VALUE 0 p->ring_ops 2341918733471191040,2406788932461363200
PARAM_VALUE 0 p->ring_ops->clear 5914969249886916608,8205709188836573184
PARAM_VALUE 0 p->ring_ops->coalesce 0,4703791070661570560
PARAM_VALUE 0 p->ring_ops->len 4647335664322809856,8741278108752719872
PARAM_VALUE 0 p->ring_ops->num_ring_config 5-6
PARAM_VALUE 0 p->ring_ops->num_ring_id_shift 6,13
PARAM_VALUE 0 p->ring_ops->setup 6377138825580339200,7350069259206803456
PARAM_VALUE 0 p->ring_ops->wr_cmd 1635274688691306496,3754385227648954368
PARAM_VALUE 0 p->rm 0-1,3
PARAM_VALUE 0 p->rx_buff_cnt 1024
PARAM_VALUE 0 p->rx_delay 0-7
PARAM_VALUE 0 p->rxq_cnt 1-8
PARAM_VALUE 0 p->sfp_rdy 4096-u64max
PARAM_VALUE 0 p->tx_delay 0-7
PARAM_VALUE 0 p->txq_cnt 0-8
PARAM_VALUE 0 *p->irqs 1-s32max
PARAM_VALUE 0 *p->ndev->name 0
PARAM_VALUE 0 *p->ndev->perm_addr 0-255
CAPPED_DATA 0 p->pdev->num_resources 1
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL