Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_hw_init() -> mtk_is_netsys_v1()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->version 1-3
BUF_SIZE 0 eth (-1),4160
BUF_SIZE 0 eth (-1),4160
BUF_SIZE 0 eth->dev (-1)-0,1616
BUF_SIZE 0 eth->dma_dev (-1)-0,1616
BUF_SIZE 0 eth->ethsys (-1)-s32max
BUF_SIZE 0 eth->infra (-1)-s32max
BUF_SIZE 0 eth->pctl (-1)-s32max
DATA_SOURCE 0 eth $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_hw_init() -> mtk_is_netsys_v1()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->version 1-2
BUF_SIZE 0 eth (-1),4160
BUF_SIZE 0 eth (-1),4160
BUF_SIZE 0 eth->dev (-1)-0,1616
BUF_SIZE 0 eth->dma_dev (-1)-0,1616
BUF_SIZE 0 eth->ethsys (-1)-s32max
BUF_SIZE 0 eth->infra (-1)-s32max
BUF_SIZE 0 eth->pctl (-1)-s32max
DATA_SOURCE 0 eth $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_poll_rx() -> mtk_is_netsys_v1()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->version 1-3
DATA_SOURCE 0 eth $2

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_set_queue_speed() -> mtk_is_netsys_v1()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->soc 4096-ptr_max
DATA_SOURCE 0 eth $0

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_tx_alloc() -> mtk_is_netsys_v1()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->version 1-3
CAPPED_DATA 0 eth->dma_dev 1
DATA_SOURCE 0 eth $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex