Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/phy/sfp.c sfp_sm_mod_hpower() -> sfp_modify_u8()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->module_power_mW 1001-u32max
PARAM_VALUE 0 sfp->quirk->support 0,4096-ptr_max
PARAM_VALUE 0 sfp->sfp_bus->registered 0-1
PARAM_VALUE 0 sfp->sfp_bus->socket_ops 0-s64max
PARAM_VALUE 0 sfp->sm_mod_state 4-255
PARAM_VALUE 0 sfp->sm_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->sm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->sm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->sm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->sm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 118
PARAM_VALUE 3 mask 1
PARAM_VALUE 4 val 0-1
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
DATA_SOURCE 0 sfp $0
FUZZY_MAX 0 sfp->module_power_mW 1001
FUZZY_MAX 0 sfp->sm_mod_state 5
FUZZY_MAX 4 val 1
HARD_MAX 4 val 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
LOCK2 0 &sfp->sm_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct sfp)->sm_mutex

drivers/net/phy/sfp.c sfp_soft_set_state() -> sfp_modify_u8()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 110
PARAM_VALUE 3 mask 8,64,72
PARAM_VALUE 4 val 0,8,64,72
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
DATA_SOURCE 0 sfp $0
FUZZY_MAX 4 val 0
BIT_INFO 3 mask 0x0,0x48
BIT_INFO 4 val 0x0,0x48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sfp unit_byte
HALF_LOCKED2 0 &sfp->sm_mutex
HALF_LOCKED2 0 &sfp->st_mutex

drivers/net/phy/sfp.c sfp_soft_set_state() -> sfp_modify_u8()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 118
PARAM_VALUE 3 mask 8
PARAM_VALUE 4 val 0,8
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sfp unit_byte
HALF_LOCKED2 0 &sfp->sm_mutex
HALF_LOCKED2 0 &sfp->st_mutex