Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/atheros/alx/ethtool.c alx_set_link_ksettings() -> alx_setup_speed_duplex()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
BUF_SIZE 0 hw 592
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/ethtool.c alx_set_pauseparam() -> alx_setup_speed_duplex()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 2 flowctrl 0-7
BUF_SIZE 0 hw 592
FUZZY_MAX 2 flowctrl 0
BIT_INFO 0 hw->adv_cfg 0x40,0xffffffff
BIT_INFO 1 ethadv 0x40,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/main.c alx_probe() -> alx_setup_speed_duplex()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->mdio_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 0 hw->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 hw->rx_ctrl 0,4-4294967292
BUF_SIZE 0 hw 592
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx