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/main.c alx_check_link() -> alx_enable_aspm()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 l0s_en 1
PARAM_VALUE 2 l1_en 1
BUF_SIZE 0 hw 592
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/main.c alx_check_link() -> alx_enable_aspm()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 l0s_en 0
PARAM_VALUE 2 l1_en 1
BUF_SIZE 0 hw 592
NOCHECK_CALL
LOCK2 &alx->mtx
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/main.c alx_halt() -> alx_enable_aspm()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 l0s_en 0
PARAM_VALUE 2 l1_en 0
BUF_SIZE 0 hw 592
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 hw->mtu 0-u16max[c]
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx

drivers/net/ethernet/atheros/alx/hw.c alx_reset_pcie() -> alx_enable_aspm()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 1 l0s_en 1
PARAM_VALUE 2 l1_en 1
BUF_SIZE 0 hw 592
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alx->mtx
TYPE_LOCK (struct alx_priv)->mtx