Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/virtio/virtio_rtc_ptp.c viortc_ptp_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 1850300569848258560
PARAM_VALUE 1 ctx 3249263440198819840
PARAM_VALUE 2 history_begin 1176338950619832320
PARAM_VALUE 2 history_begin->valid 0-1
PARAM_VALUE 3 xtstamp 4096-ptr_max
PARAM_VALUE 3 xtstamp->clock_id 0
BUF_SIZE 1 ctx 24
DATA_SOURCE 3 xtstamp $1
HOST_DATA 2 history_begin->cycles 0-u64max

drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 9048946764967649280
PARAM_VALUE 1 ctx 4305268995731365888
PARAM_VALUE 2 history_begin 4305268995731365888
PARAM_VALUE 2 history_begin->clock_was_set_seq 0
PARAM_VALUE 2 history_begin->cs_id 0
PARAM_VALUE 2 history_begin->cs_was_changed_seq 0
PARAM_VALUE 2 history_begin->cycles 0
PARAM_VALUE 2 history_begin->hw_csid 0
PARAM_VALUE 2 history_begin->monoraw 0
PARAM_VALUE 2 history_begin->systime 0
PARAM_VALUE 2 history_begin->valid 0
PARAM_VALUE 3 xtstamp 4096-ptr_max
PARAM_VALUE 3 xtstamp->clock_id 0
BUF_SIZE 1 ctx 72
DATA_SOURCE 3 xtstamp $1

drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c stmmac_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 3556098665978482688
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 3 xtstamp $1

drivers/ptp/ptp_kvm_common.c ptp_kvm_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 7825379426237104128
PARAM_VALUE 1 ctx 0
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 3 xtstamp $1

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_ptp_getcrosscycles() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 1812100826809327616
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 1022531794870288384
PARAM_VALUE 2 history_begin->hw_csid 0,4
PARAM_VALUE 2 history_begin->valid 0-1
PARAM_VALUE 3 xtstamp 4096-ptr_max
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 1 ctx r mlx5_clock_mdev_get
DATA_SOURCE 3 xtstamp $1
HOST_DATA 2 history_begin->cycles 0-u64max

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_ptp_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 4175166666313375744
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 4158300811804196864
PARAM_VALUE 2 history_begin->hw_csid 0,4
PARAM_VALUE 2 history_begin->valid 0-1
PARAM_VALUE 3 xtstamp 4096-ptr_max
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 1 ctx r mlx5_clock_mdev_get
DATA_SOURCE 3 xtstamp $1
HOST_DATA 2 history_begin->cycles 0-u64max

drivers/ptp/ptp_vmclock.c ptp_vmclock_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 3879761924768133120
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 3 xtstamp $1

drivers/ptp/ptp_vmclock.c ptp_vmclock_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 3879761924768133120
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp 4096-ptr_max
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 3 xtstamp $1
HOST_DATA 3 xtstamp->device s64min-s64max
HOST_DATA 3 xtstamp->sys_counter.cycles 0-u64max

drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c bnxt_ptp_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 5920214542928674816
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 3 xtstamp $1

drivers/net/ethernet/intel/igc/igc_ptp.c igc_ptp_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 2662645598618202112
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 4096-ptr_max
PARAM_VALUE 3 xtstamp 4096-ptr_max
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 3 xtstamp $1
LOCK2 &adapter->ptm_lock
TYPE_LOCK (struct igc_adapter)->ptm_lock

drivers/net/ethernet/intel/idpf/idpf_ptp.c idpf_ptp_get_crosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 2035632503308615680
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 1 ctx r idpf_ptp_info_to_adapter
DATA_SOURCE 3 xtstamp $1

drivers/net/ethernet/intel/e1000e/ptp.c e1000e_phc_getcrosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 205145257045635072
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp->clock_id 0
DATA_SOURCE 3 xtstamp $1

sound/hda/common/controller.c azx_get_crosststamp() -> get_device_system_crosststamp()

Type Parameter Key Value
PARAM_VALUE 0 get_time_fn 8487695962163576832
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 history_begin 0
PARAM_VALUE 3 xtstamp 6743580144054099968
PARAM_VALUE 3 xtstamp->clock_id 0
PARAM_VALUE 3 xtstamp->device 0
BUF_SIZE 1 ctx s32min-(-1),1-s32max
DATA_SOURCE 1 ctx $0
DATA_SOURCE 3 xtstamp $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex