Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 4402377317515919360
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 1314745249047916544
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]

drivers/net/dsa/mv88e6xxx/hwtstamp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 6220273100504653824
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
LOCK2 &chip->reg_lock
TYPE_LOCK (struct mv88e6xxx_chip)->reg_lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 924950589626839040
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp1_ptp_clock_init() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 cc->mult 3435819912
PARAM_VALUE 0 cc->shift 29
PARAM_VALUE 1 cycles 0-2684474819
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 frac 5198841322804637696
PARAM_VALUE 3 *frac 0
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 993289340924129280
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &clock->lock
LOCK2 bh
TYPE_LOCK (struct mlxsw_sp1_ptp_clock)->lock

drivers/net/dsa/mv88e6xxx/ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 2372108631507197952
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
LOCK2 &chip->reg_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mv88e6xxx_chip)->reg_lock

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_init_overflow_period() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 cc->shift 0-47
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 frac 7048785238214594560
PARAM_VALUE 3 *frac 0
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &mdev->clock_state->compdev->comp->sem
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 774503601627303936
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &clock->lock.lock

kernel/time/timecounter.c timecounter_read_delta() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 4096-ptr_max
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-u64max[c]
HALF_LOCKED2 &adapter->tmreg_lock
HALF_LOCKED2 &chip->reg_lock
HALF_LOCKED2 &clock->lock
HALF_LOCKED2 &clock->lock.lock
HALF_LOCKED2 &clock->spin_lock
HALF_LOCKED2 &cpts->lock
HALF_LOCKED2 &cpts->ptp_clk_mutex
HALF_LOCKED2 &fep->ptp_clk_mutex
HALF_LOCKED2 &fep->tmreg_lock
HALF_LOCKED2 &mdev->clock_lock.lock
HALF_LOCKED2 &mdev->state_lock
HALF_LOCKED2 &parent->tc_lock
HALF_LOCKED2 &phc->lock
HALF_LOCKED2 &ptp->lock
HALF_LOCKED2 &ptp->nic->mbox.lock
HALF_LOCKED2 &ptp->ptp_lock.lock
HALF_LOCKED2 &vclock->lock
HALF_LOCKED2 &wx->hw_tc_lock.lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 irqflags

drivers/net/ethernet/mellanox/mlx4/en_clock.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 2518596970367320064
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING

drivers/net/can/rockchip/rockchip_canfd-timestamp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 5501173954928975872
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/net/ethernet/mellanox/mlx5/core/en_tx.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 5906810701986320384
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

drivers/net/ethernet/intel/igb/igb_ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 8469889568632463360
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 flags
HALF_LOCKED2 &adapter->tmreg_lock
HALF_LOCKED2 &igb->tmreg_lock
TYPE_LOCK (struct igb_adapter)->tmreg_lock

drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 4695580606580088832
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/ptp/ptp_vclock.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 5213647318521073664
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &vclock->lock
HALF_LOCKED2 global &vclock_srcu
TYPE_LOCK (struct ptp_vclock)->lock

drivers/net/ethernet/ti/cpts.c cpts_calc_mult_shift() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 cc->shift 0-32
PARAM_VALUE 2 mask u32max
PARAM_VALUE 3 frac 3780210508031610880
PARAM_VALUE 3 *frac 0
DATA_SOURCE 1 cycles r clk_get_rate
MEM_ZERO 0 cc
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/ti/cpts.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 8345716903065829376
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &cpts->lock
LOCK2 flags
HALF_LOCKED2 &cpts->ptp_clk_mutex
TYPE_LOCK (struct cpts)->lock

drivers/net/ethernet/pensando/ionic/ionic_phc.c ionic_lif_alloc_phc() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 frac 2051809157542428672
PARAM_VALUE 3 *frac 0
CAPPED_DATA 1 cycles 1
MEM_ZERO 0 cc
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 cc->mask 0
HOST_DATA 0 cc->shift 0,2-32[c]
HOST_DATA 1 cycles 0[c]
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/pensando/ionic/ionic_phc.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 2911774160316948480
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 irqflags
HALF_LOCKED2 &lif->phc->lock
HALF_LOCKED2 &phc->lock
TYPE_LOCK (struct ionic_phc)->lock

drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 2395613037348458496
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/fec_ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 1402760231808921600
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &fep->tmreg_lock
LOCK2 flags
TYPE_LOCK (struct fec_enet_private)->tmreg_lock

drivers/net/ethernet/intel/e1000e/netdev.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 913967258992820224
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &adapter->systim_lock
LOCK2 flags
TYPE_LOCK (struct e1000_adapter)->systim_lock

drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 3434549045969018880
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cavium/thunder/nicvf_main.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 1833799579554123776
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 cycles 0-s32max[c]
LOCK2 &cq->lock
LOCK2 &ptp->spin_lock
LOCK2 bh
LOCK2 flags
TYPE_LOCK (struct cavium_ptp)->spin_lock
TYPE_LOCK (struct cmp_queue)->lock

drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 1423381195028168704
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &adapter->tmreg_lock
LOCK2 flags
TYPE_LOCK (struct ixgbe_adapter)->tmreg_lock

drivers/net/ethernet/wangxun/libwx/wx_ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 3868348549185277952
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]

drivers/net/ethernet/intel/igb/igb_main.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 70113559350525952
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &adapter->tmreg_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct igb_adapter)->tmreg_lock

drivers/net/ethernet/qlogic/qede/qede_ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 6645889775689273344
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
HALF_LOCKED2 &ptp->lock
HALF_LOCKED2 bh

drivers/net/can/usb/gs_usb.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 8879450627142828032
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &parent->tc_lock
LOCK2 bh
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gs_usb)->tc_lock

drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 5057800653202366464
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]

drivers/net/ethernet/freescale/fec_main.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 531306626664337408
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fep->tmreg_lock
LOCK2 flags
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct fec_enet_private)->tmreg_lock

drivers/net/can/spi/mcp251xfd/mcp251xfd-rx.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 5815672400329711616
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/net/ethernet/intel/e1000e/ptp.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 3610012889823928320
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 cycles 0-s32max[c]
LOCK2 &adapter->systim_lock
LOCK2 flags
TYPE_LOCK (struct e1000_adapter)->systim_lock

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c timecounter_cyc2time() -> cyclecounter_cyc2ns()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 3 frac 5375353876668248064
CAPPED_DATA 1 cycles 1
CAPPED_DATA 1 cycles 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh