Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/ethtool/ioctl.c convert_link_ksettings_to_legacy_settings() -> ethtool_cmd_speed_set()

Type Parameter Key Value
PARAM_VALUE 0 ep 5353420792032317440
DATA_SOURCE 0 ep $0
MEM_ZERO 0 ep
NOCHECK_CALL

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c pch_gbe_phy_init_setting() -> ethtool_cmd_speed_set()

Type Parameter Key Value
PARAM_VALUE 0 ep 8422246218606297088
PARAM_VALUE 0 ep->speed 10,100,1000
PARAM_VALUE 0 ep->speed_hi 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/amd/pcnet32.c pcnet32_open() -> ethtool_cmd_speed_set()

Type Parameter Key Value
PARAM_VALUE 0 ep 4853949349757804544
PARAM_VALUE 0 ep->speed 0
PARAM_VALUE 0 ep->speed_hi 0
PARAM_VALUE 1 speed 10,100
FUZZY_MAX 1 speed 100
BIT_INFO 1 speed 0x0,0x6e
HARD_MAX 1 speed 100
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
LOCK2 &lp->lock
LOCK2 flags
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_device)->lock
TYPE_LOCK (struct pcnet32_private)->lock

drivers/net/mii.c mii_ethtool_gset() -> ethtool_cmd_speed_set()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->speed 0,10,100,1000
PARAM_VALUE 0 ep->speed_hi 0
PARAM_VALUE 1 speed 1000
DATA_SOURCE 0 ep $1
BIT_INFO 0 ep->advertising 0x2c0,0x7fff
BIT_INFO 0 ep->lp_advertising 0x0,0x7fff
BIT_INFO 0 ep->supported 0x2cf,0x2ff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &lp->lock
HALF_LOCKED2 flags

drivers/net/mii.c mii_ethtool_gset() -> ethtool_cmd_speed_set()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->speed 0,10,100,1000
PARAM_VALUE 0 ep->speed_hi 0
PARAM_VALUE 1 speed 100
DATA_SOURCE 0 ep $1
BIT_INFO 0 ep->advertising 0x2c0,0x7fff
BIT_INFO 0 ep->lp_advertising 0x0,0x7fff
BIT_INFO 0 ep->supported 0x2cf,0x2ff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &lp->lock
HALF_LOCKED2 flags

drivers/net/mii.c mii_ethtool_gset() -> ethtool_cmd_speed_set()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->speed 0,10,100,1000
PARAM_VALUE 0 ep->speed_hi 0
PARAM_VALUE 1 speed 10
DATA_SOURCE 0 ep $1
BIT_INFO 0 ep->advertising 0x2c0,0x7fff
BIT_INFO 0 ep->lp_advertising 0x0,0x7fff
BIT_INFO 0 ep->supported 0x2cf,0x2ff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &lp->lock
HALF_LOCKED2 flags

drivers/net/mii.c mii_ethtool_gset() -> ethtool_cmd_speed_set()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->speed 0,10,100,1000
PARAM_VALUE 0 ep->speed_hi 0
PARAM_VALUE 1 speed 10,100,1000
DATA_SOURCE 0 ep $1
FUZZY_MAX 1 speed 1000
BIT_INFO 0 ep->advertising 0x280,0x7fff
BIT_INFO 0 ep->supported 0x2cf,0x2ff
HARD_MAX 1 speed 1000
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &lp->lock
HALF_LOCKED2 flags