Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_dev_cap() -> _mlx4_dev_port()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 port 1-2
PARAM_VALUE 2 port_cap 4096-ptr_max
CAPPED_DATA 1 port 1
DATA_SOURCE 0 dev $0
PARAM_COMPARE 0 dev->caps.num_ports >= $1
PARAM_COMPARE 1 port <= $0->caps.num_ports
UNITS 1 port unit_array_size