Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_extts_configure() -> mlx5_set_mtpps()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->caps.hca 4096-ptr_max
PARAM_VALUE 0 mdev->caps.mcam 4096-ptr_max
PARAM_VALUE 1 mtpps 4096-ptr_max
PARAM_VALUE 2 mtpps_size 60
BUF_SIZE 1 mtpps 60
DATA_SOURCE 0 mdev r mlx5_clock_mdev_get
RX_PATH
TASK_NOT_RUNNING
UNITS 2 mtpps_size unit_byte
HALF_LOCKED2 &of->mutex

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_perout_configure() -> mlx5_set_mtpps()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->caps.hca 4096-ptr_max
PARAM_VALUE 0 mdev->caps.mcam 4096-ptr_max
PARAM_VALUE 0 mdev->clock->pps_info.min_npps_period 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 mdev->clock->pps_info.min_out_pulse_duration_ns 0-s32max,18446744071562067968-u64max
PARAM_VALUE 1 mtpps 4096-ptr_max
PARAM_VALUE 2 mtpps_size 60
BUF_SIZE 1 mtpps 60
DATA_SOURCE 0 mdev r mlx5_clock_mdev_get
RX_PATH
TASK_NOT_RUNNING
UNITS 2 mtpps_size unit_byte
HALF_LOCKED2 &of->mutex

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_pps_out() -> mlx5_set_mtpps()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->clock->lock.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdev->clock->lock.seqcount.seqcount.dep_map->name 0-255
PARAM_VALUE 0 mdev->clock->pps_info.start 4096-ptr_max
PARAM_VALUE 0 mdev->clock->ptp_info.n_pins 1-s32max
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 1 mtpps 4096-ptr_max
PARAM_VALUE 2 mtpps_size 60
BUF_SIZE 1 mtpps 60
NOCHECK_CALL
UNITS 2 mtpps_size unit_byte
HALF_LOCKED2 &pool->lock