Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/microchip/sparx5/sparx5_port.c sparx5_port_dev_index() -> (struct sparx5_ops)->get_port_dev_index()

Type Parameter Key Value
PARAM_VALUE 0 $ 4096-ptr_max
PARAM_VALUE 0 $->data 4096-ptr_max
PARAM_VALUE 0 $->data->consts->n_sio_clks 1,3
PARAM_VALUE 0 $->data->ops 4096-ptr_max
PARAM_VALUE 0 $->data->ops->get_port_dev_bit 4096-ptr_max
PARAM_VALUE 0 $->data->ops->get_port_dev_index 4096-ptr_max
PARAM_VALUE 0 $->data->ops->is_port_2g5 4096-ptr_max
PARAM_VALUE 0 $->data->ops->is_port_5g 4096-ptr_max
PARAM_VALUE 0 $->data->regs->gsize 4096-ptr_max
PARAM_VALUE 0 $->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 $->debugfs_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 $->debugfs_root->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 $->debugfs_root->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 0 $->debugfs_root->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 $->debugfs_root->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 $->debugfs_root->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 $->debugfs_root->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 $->debugfs_root->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 $->debugfs_root->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 $->debugfs_root->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 $->debugfs_root->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
BUF_SIZE 0 $->debugfs_root s32min-(-1),1-s32max
BUF_SIZE 0 $->dev (-1),1616
BUF_SIZE 0 $->fdma_irq s32min-(-1),1-s32max
BUF_SIZE 0 $->ptp_irq s32min-(-1),1-s32max
BUF_SIZE 0 $->xtr_irq s32min-(-1),1-s32max
DATA_SOURCE 0 $ $0
DATA_SOURCE 1 $ $1
CONTAINER 0 -40-16-84432+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 $->chip_id 0-u32max
HOST_DATA 0 $->target_ct 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 $->fdma_irq
NO_OVERFLOW_SIMPLE 0 $->port_count
NO_OVERFLOW_SIMPLE 0 $->ptp_irq
NO_OVERFLOW_SIMPLE 0 $->xtr_irq

drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c sparx5_port_dev_index() -> (struct sparx5_ops)->get_port_dev_index()

Type Parameter Key Value
PARAM_VALUE 0 $ 4096-ptr_max
PARAM_VALUE 0 $->data 4096-ptr_max
PARAM_VALUE 0 $->data->consts 4096-ptr_max
PARAM_VALUE 0 $->data->consts->n_ports 30,65
PARAM_VALUE 0 $->data->ops 4096-ptr_max
PARAM_VALUE 0 $->stats 4096-ptr_max
PARAM_VALUE 1 $ 0-u16max
CAPPED_DATA 1 $ 1
DATA_SOURCE 0 $ $0
DATA_SOURCE 1 $ $1
CONTAINER 0 -40-16-84432+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/microchip/sparx5/sparx5_port.c sparx5_dev_switch() -> (struct sparx5_ops)->get_port_dev_bit()

Type Parameter Key Value
PARAM_VALUE 0 $ 4096-ptr_max
PARAM_VALUE 0 $->data 4096-ptr_max
PARAM_VALUE 0 $->data->consts->n_sio_clks 1,3
PARAM_VALUE 0 $->data->ops 1018391433411833856,3498921452240199680
PARAM_VALUE 0 $->data->ops->get_port_dev_bit 6466842842042036224,7085620163852492800
PARAM_VALUE 0 $->data->ops->get_port_dev_index 4096-ptr_max
PARAM_VALUE 0 $->data->ops->is_port_2g5 4096-ptr_max
PARAM_VALUE 0 $->data->ops->is_port_5g 4096-ptr_max
PARAM_VALUE 0 $->data->regs->gsize 4096-ptr_max
PARAM_VALUE 0 $->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 $->debugfs_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 $->debugfs_root->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 $->debugfs_root->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 0 $->debugfs_root->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 $->debugfs_root->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 $->debugfs_root->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 $->debugfs_root->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 $->debugfs_root->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 $->debugfs_root->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 $->debugfs_root->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 $->debugfs_root->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 $->debugfs_root->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 $->debugfs_root->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
BUF_SIZE 0 $->debugfs_root s32min-(-1),1-s32max
BUF_SIZE 0 $->dev (-1),1616
BUF_SIZE 0 $->fdma_irq s32min-(-1),1-s32max
BUF_SIZE 0 $->ptp_irq s32min-(-1),1-s32max
BUF_SIZE 0 $->xtr_irq s32min-(-1),1-s32max
DATA_SOURCE 0 $ $0
DATA_SOURCE 1 $ $1
CONTAINER 0 -48-16-84432+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 $->chip_id 0-u32max
HOST_DATA 0 $->target_ct 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 $->fdma_irq
NO_OVERFLOW_SIMPLE 0 $->port_count
NO_OVERFLOW_SIMPLE 0 $->ptp_irq
NO_OVERFLOW_SIMPLE 0 $->xtr_irq