Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/dsa/mv88e6xxx/phy.c mv88e6xxx_phy_read() -> (struct mv88e6xxx_ops)->phy_read()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bus->mdio_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->bus->mdio_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->bus->mdio_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->bus->mdio_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 chip->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 chip->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->info 4096-ptr_max
PARAM_VALUE 0 chip->info->ops 4096-ptr_max
PARAM_VALUE 0 chip->info->ops->phy_read 5289309704225021952,7234953316408168448,7343868757029343232
PARAM_VALUE 0 chip->info->ops->serdes_get_lane 0,735916357181140992,1493236781242281984,4096615961556676608,4249758595000180736,4851041708045742080,9032660005535301632
PARAM_VALUE 0 chip->info->ops->serdes_get_regs 0,1215910269125488640,5746314052584067072
PARAM_VALUE 0 chip->info->ops->serdes_get_stats 0,1027280189284171776,5915131760631644160
PARAM_VALUE 0 chip->ppu_disabled s32min-(-1),1-s32max
PARAM_VALUE 0 chip->ppu_mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 chip->ppu_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 chip->ppu_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 chip->ppu_timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 chip->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->reg_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->smi_ops 4096-ptr_max
PARAM_VALUE 0 *chip->bus->priv->hw->hw_addr 0-255
PARAM_VALUE 1 bus 1-u64max
PARAM_VALUE 2 addr 0,9-10,12-13,15,18-23
PARAM_VALUE 3 reg s32min-21,23-s32max
PARAM_VALUE 4 val 4407233749270016000,6446346336152535040
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 bus r mv88e6xxx_default_mdio_bus
DATA_SOURCE 2 addr $1
DATA_SOURCE 3 reg $2
DATA_SOURCE 4 val $3
CONTAINER 0 -56-104-0+0 $(-1)
PARAM_COMPARE 0 &chip->mdios != $0->mdios.next
LOCK2 0 &chip->reg_lock
TYPE_LOCK (struct mv88e6xxx_chip)->reg_lock

drivers/net/dsa/mv88e6xxx/chip.c mv88e6xxx_mdio_read() -> (struct mv88e6xxx_ops)->phy_read()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->info 4096-ptr_max
PARAM_VALUE 0 chip->info->ops 4096-ptr_max
PARAM_VALUE 0 chip->info->ops->phy_read 5289309704225021952,7234953316408168448,7343868757029343232
PARAM_VALUE 0 chip->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->reg_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 chip->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 bus 4096-ptr_max
PARAM_VALUE 1 bus->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 1 bus->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 1 bus->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 1 bus->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 1 bus->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 1 bus->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 1 bus->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 bus->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 bus->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 bus->priv 4096-ptr_max
PARAM_VALUE 4 val 5491869965369962496
BUF_SIZE 1 bus s32min-(-1),1-s32max
BUF_SIZE 1 bus s32min-(-1),1-s32max
BUF_SIZE 1 bus->name s32min,(-10),(-1),1-s32max
BUF_SIZE 1 bus->parent (-1),1616
BUF_SIZE 1 bus->priv s32min-(-1),1-s32max
BUF_SIZE 1 bus->read (-1),8
BUF_SIZE 1 bus->read_c45 (-1),8
BUF_SIZE 1 bus->reset (-1),8
BUF_SIZE 1 bus->reset_gpiod s32min,(-1),1-s32max
BUF_SIZE 1 bus->write (-1),8
BUF_SIZE 1 bus->write_c45 (-1),8
DATA_SOURCE 1 bus $0
DATA_SOURCE 2 addr $1
DATA_SOURCE 3 reg $2
STR_LEN 1 bus->id (-1),60
STR_LEN 1 bus->name (-1),4-6,8-21,23-25,27-28,33,60
CONTAINER 0 -56-104-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 addr 2-31[c]
USER_DATA 3 reg 2-u16max[c]
NO_OVERFLOW_SIMPLE 1 bus->id
LOCK2 0 &chip->reg_lock
HALF_LOCKED2 &priv->bus->mdio_lock
HALF_LOCKED2 1 &bus->mdio_lock
TYPE_LOCK (struct mv88e6xxx_chip)->reg_lock