Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/usb/sr9800.c sr9800_bind() -> sr_read_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->data.eeprom_len 255
PARAM_VALUE 0 dev->deferred.poisoned 0
PARAM_VALUE 0 dev->deferred.suspend_wakeups.counter 0
PARAM_VALUE 0 dev->deferred.wait.head.next 4096-ptr_max
PARAM_VALUE 0 dev->deferred.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->deferred.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->deferred.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->deferred.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->delay.entry.pprev 0
PARAM_VALUE 0 dev->delay.flags 0-4194302
PARAM_VALUE 0 dev->delay.lockdep_map->name 0-255
PARAM_VALUE 0 dev->done.next 4096-ptr_max
PARAM_VALUE 0 dev->done.prev 4096-ptr_max
PARAM_VALUE 0 dev->done.qlen 0
PARAM_VALUE 0 dev->driver_info 4096-ptr_max
PARAM_VALUE 0 dev->driver_info->flags 32,61,96,1024,1536,2080,2592,4096-4097,4100,4112,4114,4128,4152
PARAM_VALUE 0 dev->in 0,128-u32max
PARAM_VALUE 0 dev->interrupt_count 0
PARAM_VALUE 0 dev->interrupt_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->interrupt_mutex.first_waiter 0
PARAM_VALUE 0 dev->interrupt_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->interrupt_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->interrupt_mutex.owner.counter 0
PARAM_VALUE 0 dev->intf 4096-ptr_max
PARAM_VALUE 0 dev->intf->authorized 1
PARAM_VALUE 0 dev->intf->condition 1
PARAM_VALUE 0 dev->intf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.driver 4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.power.runtime_status 0,2
PARAM_VALUE 0 dev->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->intf->dev.type 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->needs_altsetting0 0
PARAM_VALUE 0 dev->intf->needs_binding 0
PARAM_VALUE 0 dev->net 4096-ptr_max
PARAM_VALUE 0 dev->net->dev.parent 4096-ptr_max
PARAM_VALUE 0 dev->out 0,1073741824-u32max
PARAM_VALUE 0 dev->phy_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->phy_mutex.first_waiter 0
PARAM_VALUE 0 dev->phy_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->phy_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->phy_mutex.owner.counter 0
PARAM_VALUE 0 dev->rx_speed (-1)
PARAM_VALUE 0 dev->rxq.next 4096-ptr_max
PARAM_VALUE 0 dev->rxq.prev 4096-ptr_max
PARAM_VALUE 0 dev->rxq.qlen 0
PARAM_VALUE 0 dev->rxq_pause.next 4096-ptr_max
PARAM_VALUE 0 dev->rxq_pause.prev 4096-ptr_max
PARAM_VALUE 0 dev->rxq_pause.qlen 0
PARAM_VALUE 0 dev->status 0
PARAM_VALUE 0 dev->tx_speed (-1)
PARAM_VALUE 0 dev->txq.next 4096-ptr_max
PARAM_VALUE 0 dev->txq.prev 4096-ptr_max
PARAM_VALUE 0 dev->txq.qlen 0
PARAM_VALUE 0 dev->wait.head.next 4096-ptr_max
PARAM_VALUE 0 dev->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 *dev->net->name 0-255
PARAM_VALUE 0 *dev->udev->toggle 0-4294967295
PARAM_VALUE 0 *dev->udev->tt->hcpriv (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 cmd 19
PARAM_VALUE 2 value 0
PARAM_VALUE 3 index 0
PARAM_VALUE 4 size 6
PARAM_VALUE 5 data 9115808821675794432
BUF_SIZE 0 dev->driver_name 4-25,28-29,32
BUF_SIZE 5 data 6
DATA_SOURCE 0 dev $0
MEM_ZERO 0 &dev->deferred
RX_PATH
TASK_NOT_RUNNING

drivers/net/usb/sr9800.c sr_get_eeprom() -> sr_read_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 cmd 11
PARAM_VALUE 3 index 0
PARAM_VALUE 4 size 2
PARAM_VALUE 5 data 4096-ptr_max
PARAM_VALUE 5 *data 0-u16max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 value 0-u16max[c]
UNITS 2 value unit_byte

drivers/net/usb/sr9800.c sr_get_phy_addr() -> sr_read_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver_info 4096-ptr_max
PARAM_VALUE 0 dev->driver_info->flags 32,82,96,1024,1536,2080,2592,4096-4097,4100,4112,4114,4128,4152,6176,8288,8544,9232,9744,10336,12848,14384,14896,15376,17408,48144,67072
PARAM_VALUE 0 dev->driver_info->reset 0,4096-ptr_max
PARAM_VALUE 0 dev->intf 4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->intf->dev.type 0,4096-ptr_max
PARAM_VALUE 0 *dev->net->name 0-255
PARAM_VALUE 0 *dev->udev->toggle 0-4294967295
PARAM_VALUE 1 cmd 25
PARAM_VALUE 2 value 0
PARAM_VALUE 3 index 0
PARAM_VALUE 4 size 2
PARAM_VALUE 5 data 243683554124812288
BUF_SIZE 0 dev->driver_name (-1),4-25,28-29,32
BUF_SIZE 5 data 2
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/usb/sr9800.c sr_get_wol() -> sr_read_cmd()

Type Parameter Key Value
PARAM_VALUE 1 cmd 28
PARAM_VALUE 2 value 0
PARAM_VALUE 3 index 0
PARAM_VALUE 4 size 1
PARAM_VALUE 5 data 105032684558131200
RX_PATH
TASK_NOT_RUNNING

drivers/net/usb/sr9800.c sr_mdio_read() -> sr_read_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->intf 4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->intf->dev.type 0,4096-ptr_max
PARAM_VALUE 0 dev->phy_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->phy_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->phy_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->phy_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->phy_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->phy_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->phy_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 *dev->net->name 0-255
PARAM_VALUE 1 cmd 7
PARAM_VALUE 4 size 2
PARAM_VALUE 5 data 4382703857038413824
PARAM_VALUE 5 *data 0
BUF_SIZE 5 data 2
CAPPED_DATA 0 &dev->phy_mutex 1
DATA_SOURCE 2 value $1
DATA_SOURCE 3 index $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 value
UNITS 2 value unit_array_size
LOCK2 0 &dev->phy_mutex
TYPE_LOCK (struct usbnet)->phy_mutex

drivers/net/usb/sr9800.c sr_read_medium_status() -> sr_read_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver_info 4096-ptr_max
PARAM_VALUE 0 dev->driver_info->flags 32,82,96,1024,1536,2080,2592,4096-4097,4100,4112,4114,4128,4152,6176,8288,8544,9232,9744,10336,12848,14384,14896,15376,17408,48144,67072
PARAM_VALUE 0 dev->driver_info->reset 0,4096-ptr_max
PARAM_VALUE 0 dev->intf 4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->intf->dev.type 0,4096-ptr_max
PARAM_VALUE 0 dev->mii.mdio_read 4096-ptr_max
PARAM_VALUE 0 dev->net->priv->intf->dev.power.deferred_resume 0-1
PARAM_VALUE 0 dev->net->priv->intf->dev.power.idle_notification 0-1
PARAM_VALUE 0 dev->net->priv->intf->dev.power.request 0-4294967295
PARAM_VALUE 0 dev->net->priv->intf->dev.power.request_pending 0-1
PARAM_VALUE 0 dev->net->priv->intf->dev.power.runtime_error s32min-s32max
PARAM_VALUE 0 dev->net->priv->intf->dev.power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->net->priv->intf->dev.power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->net->priv->intf->dev.power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->net->priv->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->net->priv->phy_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->net->priv->phy_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->net->priv->phy_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->net->priv->phy_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->net->priv->phy_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->net->priv->phy_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->net->priv->phy_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->net->priv->phy_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 *dev->net->name 0-255
PARAM_VALUE 0 *dev->udev->toggle 0-4294967295
PARAM_VALUE 1 cmd 26
PARAM_VALUE 2 value 0
PARAM_VALUE 3 index 0
PARAM_VALUE 4 size 2
PARAM_VALUE 5 data 6780193237752053760
BUF_SIZE 0 dev->driver_name (-1),4-25,28-29,32
BUF_SIZE 0 dev->net->ethtool_ops (-1),656
BUF_SIZE 0 dev->net->netdev_ops (-1),760
BUF_SIZE 5 data 2
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->mii.phy_id

drivers/net/usb/sr9800.c sr_read_rx_ctl() -> sr_read_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver_info 4096-ptr_max
PARAM_VALUE 0 dev->driver_info->flags 32,82,96,1024,1536,2080,2592,4096-4097,4100,4112,4114,4128,4152,6176,8288,8544,9232,9744,10336,12848,14384,14896,15376,17408,48144,67072
PARAM_VALUE 0 dev->driver_info->reset 0,4096-ptr_max
PARAM_VALUE 0 dev->intf 4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 dev->intf->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->intf->dev.type 0,4096-ptr_max
PARAM_VALUE 0 *dev->net->name 0-255
PARAM_VALUE 0 *dev->udev->toggle 0-4294967295
PARAM_VALUE 1 cmd 15
PARAM_VALUE 2 value 0
PARAM_VALUE 3 index 0
PARAM_VALUE 4 size 2
PARAM_VALUE 5 data 8569472913498243072
BUF_SIZE 0 dev->driver_name (-1),4-25,28-29,32
BUF_SIZE 0 dev->net->ethtool_ops (-1),656
BUF_SIZE 0 dev->net->netdev_ops (-1),760
BUF_SIZE 5 data 2
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->mii.phy_id