Documented in 1 files:
Defined in 1 files as a function:
Referenced in 18 files:
- drivers/net/dsa/mv88e6xxx/ptp.c, line 275
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c, line 13740
- drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c, line 242
- drivers/net/ethernet/cavium/common/cavium_ptp.c, line 147
- drivers/net/ethernet/freescale/fec_ptp.c, line 427
- drivers/net/ethernet/intel/e1000e/ptp.c, line 73
- drivers/net/ethernet/intel/igb/igb_ptp.c, line 235
- drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c, line 532
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c, line 237
- drivers/net/ethernet/mellanox/mlx4/en_clock.c, line 159
- drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c, line 633
- drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c, line 212
- drivers/net/ethernet/pensando/ionic/ionic_phc.c, line 410
- drivers/net/ethernet/qlogic/qede/qede_ptp.c, line 73
- drivers/net/ethernet/ti/cpts.c, line 235
- drivers/net/ethernet/wangxun/libwx/wx_ptp.c, line 90
- drivers/ptp/ptp_mock.c, line 70
- drivers/ptp/ptp_vclock.c, line 68
Smatch caller information:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp1_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &clock->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mlxsw_sp1_ptp_clock)->lock |
drivers/net/dsa/mv88e6xxx/ptp.c mv88e6xxx_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &chip->reg_lock | ||
| TYPE_LOCK | (struct mv88e6xxx_chip)->reg_lock |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &clock->lock.lock | ||
| TYPE_LOCK | (struct seqlock)->lock |
drivers/net/ethernet/mellanox/mlx4/en_clock.c mlx4_en_phc_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &mdev->clock_lock.lock | ||
| TYPE_LOCK | (struct seqlock)->lock |
drivers/net/ethernet/intel/igb/igb_ptp.c igb_ptp_adjtime_82576() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &igb->tmreg_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct igb_adapter)->tmreg_lock |
drivers/ptp/ptp_vclock.c ptp_vclock_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 3847897229709136128 |
| DATA_SOURCE | 1 | delta | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &vclock->lock | ||
| TYPE_LOCK | (struct ptp_vclock)->lock |
drivers/net/ethernet/ti/cpts.c cpts_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &cpts->ptp_clk_mutex | ||
| TYPE_LOCK | (struct cpts)->ptp_clk_mutex |
drivers/net/ethernet/pensando/ionic/ionic_phc.c ionic_phc_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &phc->lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ionic_phc)->lock |
drivers/net/ethernet/freescale/fec_ptp.c fec_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &fep->tmreg_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fec_enet_private)->tmreg_lock |
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c ixgbe_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &adapter->tmreg_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ixgbe_adapter)->tmreg_lock |
drivers/net/ethernet/wangxun/libwx/wx_ptp.c wx_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &wx->hw_tc_lock.lock | ||
| TYPE_LOCK | (struct seqlock)->lock |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c otx2_ptp_tc_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &pfvf->mbox.lock | ||
| TYPE_LOCK | (struct mbox)->lock |
drivers/net/ethernet/cavium/common/cavium_ptp.c cavium_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &clock->spin_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct cavium_ptp)->spin_lock |
drivers/net/ethernet/qlogic/qede/qede_ptp.c qede_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ptp->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct qede_ptp)->lock |
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c bnxt_ptp_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ptp->ptp_lock.lock | ||
| TYPE_LOCK | (struct seqlock)->lock |
drivers/ptp/ptp_mock.c mock_phc_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &phc->lock | ||
| TYPE_LOCK | (struct mock_phc)->lock |
drivers/net/ethernet/intel/e1000e/ptp.c e1000e_phc_adjtime() -> timecounter_adjtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tc | 4096-ptr_max |
| DATA_SOURCE | 1 | delta | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &adapter->systim_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct e1000_adapter)->systim_lock |