Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_update_pause_advertising() -> linkmode_set_pause()

Type Parameter Key Value
BUF_SIZE 0 advertisement 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hnae3_common_lock

drivers/net/phy/phy_device.c phy_set_asym_pause() -> linkmode_set_pause()

Type Parameter Key Value
BUF_SIZE 0 advertisement 16
DATA_SOURCE 1 tx $2
DATA_SOURCE 2 rx $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 tx 0-1
USER_DATA 2 rx 0-1

drivers/net/phy/phylink.c phylink_ethtool_set_pauseparam() -> linkmode_set_pause()

Type Parameter Key Value
BUF_SIZE 0 advertisement 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 tx 0-1
USER_DATA 2 rx 0-1
LOCK2 &pl->state_mutex
HALF_LOCKED2 &priv->mac_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct phylink)->state_mutex