Defined in 2 files as a function:
- drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h, line 90 (as a function)
- drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h, line 124 (as a function)
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c, line 1775
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, line 4818
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_hwtstamp_set() -> mlx5_clock_get_ptp_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mdev | unit_byte |
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_ethtool_get_ts_info() -> mlx5_clock_get_ptp_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mdev | unit_byte |
| HALF_LOCKED2 | rcu_read |