Defined in 2 files as a prototype:
- drivers/net/ethernet/sfc/ptp.c, line 356 (as a prototype)
- drivers/net/ethernet/sfc/siena/ptp.c, line 352 (as a prototype)
Defined in 2 files as a function:
- drivers/net/ethernet/sfc/ptp.c, line 2138 (as a function)
- drivers/net/ethernet/sfc/siena/ptp.c, line 2096 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/siena/ptp.c efx_phc_settime() -> efx_phc_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 2429756055746293760 |
| DATA_SOURCE | 0 | ptp | $0 |
drivers/net/ethernet/sfc/ptp.c efx_phc_settime() -> efx_phc_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 2693610984087621632 |
| DATA_SOURCE | 0 | ptp | $0 |
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c tc_taprio_configure() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 2037475007202414592 |
| CONTAINER | 0 | -120+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->est_lock | ||
| TYPE_LOCK | (struct stmmac_priv)->est_lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c stmmac_adjust_time() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 5004230686552129536 |
| CONTAINER | 0 | -120+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &priv->est_lock | ||
| TYPE_LOCK | (struct stmmac_priv)->est_lock |
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dpaa2_eth_enable_tx_tstamp() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 2032199945718865920 |
| CONTAINER | 0 | -120+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &priv->onestep_tstamp_lock |
drivers/net/ethernet/renesas/rcar_gen4_ptp.c rcar_gen4_ptp_gettime64() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 3741979360088760320 |
| DATA_SOURCE | 1 | ts | $1 |
| CONTAINER | 0 | -120+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct rtsn_private)->lock |
drivers/net/phy/micrel.c lan8841_ptp_adjtime() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 547833812835627008 |
| PARAM_VALUE | 0 | ptp->adjfine | 5609056539116634112 |
| PARAM_VALUE | 0 | ptp->adjphase | 0 |
| PARAM_VALUE | 0 | ptp->adjtime | 5105694005941133312 |
| PARAM_VALUE | 0 | ptp->do_aux_work | 5343959781655896064 |
| PARAM_VALUE | 0 | ptp->enable | 4812634767315980288 |
| PARAM_VALUE | 0 | ptp->getcrosscycles | 0 |
| PARAM_VALUE | 0 | ptp->getcrosststamp | 0 |
| PARAM_VALUE | 0 | ptp->getcycles64 | 0 |
| PARAM_VALUE | 0 | ptp->getcyclesx64 | 0 |
| PARAM_VALUE | 0 | ptp->getmaxphase | 0 |
| PARAM_VALUE | 0 | ptp->gettime64 | 4135783629065990144 |
| PARAM_VALUE | 0 | ptp->gettimex64 | 0 |
| PARAM_VALUE | 0 | ptp->max_adj | 31249999 |
| PARAM_VALUE | 0 | ptp->n_alarm | 0 |
| PARAM_VALUE | 0 | ptp->n_ext_ts | 10 |
| PARAM_VALUE | 0 | ptp->n_per_lp | 0 |
| PARAM_VALUE | 0 | ptp->n_per_out | 10 |
| PARAM_VALUE | 0 | ptp->n_pins | 10 |
| PARAM_VALUE | 0 | ptp->name | 498710640991600640 |
| PARAM_VALUE | 0 | ptp->owner | 0 |
| PARAM_VALUE | 0 | ptp->perout_loopback | 0 |
| PARAM_VALUE | 0 | ptp->pin_config | 0 |
| PARAM_VALUE | 0 | ptp->pps | 0 |
| PARAM_VALUE | 0 | ptp->settime64 | 4866406180795535360 |
| PARAM_VALUE | 0 | ptp->supported_extts_flags | 0 |
| PARAM_VALUE | 0 | ptp->supported_perout_flags | 2 |
| PARAM_VALUE | 0 | ptp->verify | 5447296056442195968 |
| PARAM_VALUE | 1 | ts | 4836526069087870976 |
| DATA_SOURCE | 0 | ptp | $0 |
| CONTAINER | 0 | -120+0 | $(-1) |
| NOCHECK_CALL |
drivers/net/phy/micrel.c lan8841_ptp_adjtime() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 547833812835627008 |
| PARAM_VALUE | 0 | ptp->adjfine | 5609056539116634112 |
| PARAM_VALUE | 0 | ptp->adjphase | 0 |
| PARAM_VALUE | 0 | ptp->adjtime | 5105694005941133312 |
| PARAM_VALUE | 0 | ptp->do_aux_work | 5343959781655896064 |
| PARAM_VALUE | 0 | ptp->enable | 4812634767315980288 |
| PARAM_VALUE | 0 | ptp->getcrosscycles | 0 |
| PARAM_VALUE | 0 | ptp->getcrosststamp | 0 |
| PARAM_VALUE | 0 | ptp->getcycles64 | 0 |
| PARAM_VALUE | 0 | ptp->getcyclesx64 | 0 |
| PARAM_VALUE | 0 | ptp->getmaxphase | 0 |
| PARAM_VALUE | 0 | ptp->gettime64 | 4135783629065990144 |
| PARAM_VALUE | 0 | ptp->gettimex64 | 0 |
| PARAM_VALUE | 0 | ptp->max_adj | 31249999 |
| PARAM_VALUE | 0 | ptp->n_alarm | 0 |
| PARAM_VALUE | 0 | ptp->n_ext_ts | 10 |
| PARAM_VALUE | 0 | ptp->n_per_lp | 0 |
| PARAM_VALUE | 0 | ptp->n_per_out | 10 |
| PARAM_VALUE | 0 | ptp->n_pins | 10 |
| PARAM_VALUE | 0 | ptp->name | 498710640991600640 |
| PARAM_VALUE | 0 | ptp->owner | 0 |
| PARAM_VALUE | 0 | ptp->perout_loopback | 0 |
| PARAM_VALUE | 0 | ptp->pin_config | 0 |
| PARAM_VALUE | 0 | ptp->pps | 0 |
| PARAM_VALUE | 0 | ptp->settime64 | 4866406180795535360 |
| PARAM_VALUE | 0 | ptp->supported_extts_flags | 0 |
| PARAM_VALUE | 0 | ptp->supported_perout_flags | 2 |
| PARAM_VALUE | 0 | ptp->verify | 5447296056442195968 |
| PARAM_VALUE | 1 | ts | 4836526069087870976 |
| DATA_SOURCE | 0 | ptp | $0 |
| CONTAINER | 0 | -120+0 | $(-1) |
| NOCHECK_CALL |
drivers/ptp/ptp_clock.c ptp_clock_gettime() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->gettimex64 | 0 |
| PARAM_VALUE | 1 | ts | 99791054051651584,2256598480787394560,2317135252460216320 |
| DATA_SOURCE | 1 | ts | $1 |
| CONTAINER | 0 | *(-120+0) | $(-1) |
drivers/ptp/ptp_clock.c ptp_getcycles64() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->getcyclesx64 | 0 |
| PARAM_VALUE | 1 | ts | 286996878195216384 |
| PARAM_VALUE | 1 | ts->tv_nsec | 0 |
| PARAM_VALUE | 1 | ts->tv_sec | 0 |
| DATA_SOURCE | 0 | ptp | $0 |
| DATA_SOURCE | 1 | ts | $1 |
| CONTAINER | 0 | -120+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->ptp_clk_mutex | ||
| HALF_LOCKED2 | &fep->ptp_clk_mutex | ||
| HALF_LOCKED2 | &fep->tmreg_lock | ||
| HALF_LOCKED2 | &fp->private_data->clk->rwsem | ||
| HALF_LOCKED2 | &mdev->clock_lock.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/phy/microchip_rds_ptp.c mchp_rds_ptp_ltc_adjtime() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 6994144989615411200 |
| DATA_SOURCE | 0 | ptp | $0 |
| CONTAINER | 0 | -120+0 | $(-1) |
| NOCHECK_CALL |
drivers/net/phy/microchip_rds_ptp.c mchp_rds_ptp_ltc_adjtime() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 6994144989615411200 |
| DATA_SOURCE | 0 | ptp | $0 |
| CONTAINER | 0 | -120+0 | $(-1) |
| NOCHECK_CALL |
drivers/ptp/ptp_chardev.c ptp_sys_offset() -> (struct ptp_clock_info)->gettime64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->gettimex64 | 0 |
| PARAM_VALUE | 1 | ts | 6510108232589836288 |
| PARAM_VALUE | 1 | ts->tv_nsec | 0-999999999 |
| CONTAINER | 0 | -120+0 | $(-1) |
| NO_OVERFLOW_SIMPLE | 1 | ts->tv_sec |