Documented in 1 files:

Defined in 1 files as a struct:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 37 files:

Smatch caller information:

drivers/net/phy/nxp-c45-tja11xx.c nxp_c45_do_aux_work() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 1573737408069218304
PARAM_VALUE 1 event->type 1
NOCHECK_CALL

drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c dpaa2_ptp_irq_handler_thread() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2171386742801653760
PARAM_VALUE 1 event->type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c dwmac1000_timestamp_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2935950215517503488
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295[c]
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/net/phy/dp83640.c decode_evnt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 1151319154845077504
PARAM_VALUE 1 event->index 0-5
PARAM_VALUE 1 event->offset (-35)-4294967296073741788
PARAM_VALUE 1 event->timestamp 0-4294967296073741788,18446744073709551581-u64max
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ei_local->page_lock
HALF_LOCKED2 &lp->rx_lock
HALF_LOCKED2 &ocelot->inj_lock
HALF_LOCKED2 flags

drivers/net/ethernet/renesas/ravb_ptp.c ravb_ptp_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 8239784893278388224
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->offset 0-4294967295
PARAM_VALUE 1 event->timestamp 0-u32max
PARAM_VALUE 1 event->type 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-u32max
LOCK2 &priv->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct ravb_private)->lock

drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_extts_event() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7592035010536210432
PARAM_VALUE 1 event->index 0-2
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-u64max
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/dsa/mv88e6xxx/ptp.c mv88e6352_tai_event_work() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2207940762068815872
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/ptp/ptp_netc.c netc_timer_handle_etts_event() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2266045044099493888
PARAM_VALUE 1 event->index 0-1
PARAM_VALUE 1 event->type 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-u64max
LOCK2 &priv->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct netc_timer)->lock

drivers/ptp/ptp_netc.c netc_timer_isr() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2941764924893528064
PARAM_VALUE 1 event->type 3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct netc_timer)->lock

drivers/ptp/ptp_pch.c isr() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 4360298057323876352
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->offset s64min-(-32),0,32-s64max
PARAM_VALUE 1 event->timestamp 0,32-18446744073709551584
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->offset s64min-(-32),0,32-s64max
HOST_DATA 1 event->pps_times.ts_real.tv_nsec s64min-s64max
HOST_DATA 1 event->pps_times.ts_real.tv_sec s64min-s64max
HOST_DATA 1 event->timestamp 0,32-18446744073709551584
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/ptp/ptp_pch.c isr() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 4360298057323876352
PARAM_VALUE 1 event->index 1
PARAM_VALUE 1 event->offset s64min-(-32),0,32-s64max
PARAM_VALUE 1 event->timestamp 0,32-18446744073709551584
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->offset s64min-(-32),0,32-s64max
HOST_DATA 1 event->pps_times.ts_real.tv_nsec s64min-s64max
HOST_DATA 1 event->pps_times.ts_real.tv_sec s64min-s64max
HOST_DATA 1 event->timestamp 0,32-18446744073709551584
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/net/phy/bcm-phy-ptp.c bcm_ptp_extts_work() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 4571084129617178624
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->offset (-2147483650147483648)-2147483649147483647
PARAM_VALUE 1 event->timestamp 0-2147483649147483647,16299260423562067968-u64max
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
LOCK2 &priv->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bcm_ptp_private)->mutex

drivers/ptp/ptp_idt82p33.c idt82p33_extts_check_channel() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2731840481979092992
PARAM_VALUE 1 event->index 0-1
PARAM_VALUE 1 event->offset 0-65535000065535
PARAM_VALUE 1 event->timestamp 0-65535000065535
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 idt82p33->lock
HALF_LOCKED2 idt82p33->lock

drivers/net/ethernet/intel/igc/igc_main.c igc_tsync_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7301971328733167616
PARAM_VALUE 1 event->type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/intel/igc/igc_main.c igc_tsync_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7301971328733167616
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->offset 0-4294967299294967295
PARAM_VALUE 1 event->timestamp 0-4294967299294967295
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/intel/igc/igc_main.c igc_tsync_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7301971328733167616
PARAM_VALUE 1 event->index 1
PARAM_VALUE 1 event->offset 0-4294967299294967295
PARAM_VALUE 1 event->timestamp 0-4294967299294967295
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c timestamp_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7974804370915373056
PARAM_VALUE 1 event->index 0-63
PARAM_VALUE 1 event->offset 0-4294967299294967295
PARAM_VALUE 1 event->timestamp 0-4294967299294967295
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295[c]
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_pps_event() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 8954676915492229120
PARAM_VALUE 1 event->index 0-255
PARAM_VALUE 1 event->type 1,4
NOCHECK_CALL

drivers/net/ethernet/sfc/siena/ptp.c efx_ptp_pps_worker() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 1161830022677680128
PARAM_VALUE 1 event->type 4
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_extts0_work() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 5004421600872079360
PARAM_VALUE 1 event->index 0-255
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-u64max
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/sfc/ptp.c efx_ptp_pps_worker() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7743222804637466624
PARAM_VALUE 1 event->type 4
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/ti/cpts.c cpts_fifo_read() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 5012279304766238720
PARAM_VALUE 1 event->type 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->index (-1)-30
LOCK2 &cpts->lock
LOCK2 flags
HALF_LOCKED2 &cpts->ptp_clk_mutex
TYPE_LOCK (struct cpts)->lock

drivers/net/ethernet/ti/icssg/icss_iep.c icss_iep_cap_cmp_work() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 6230208656916979712
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 4
NOCHECK_CALL
LOCK2 &iep->ptp_clk_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct icss_iep)->ptp_clk_mutex

drivers/net/ethernet/freescale/fec_ptp.c fec_pps_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 4412356528434409472
PARAM_VALUE 1 event->type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/ptp/ptp_ocp.c ptp_ocp_ts_irq() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2135798166581710848
PARAM_VALUE 1 event->type 3
NOCHECK_CALL

drivers/ptp/ptp_ocp.c ptp_ocp_ts_irq() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2135798166581710848
PARAM_VALUE 1 event->offset 0-4294967299294967295
PARAM_VALUE 1 event->timestamp 0-4294967299294967295
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295

drivers/net/phy/micrel.c lan8814_gpio_process_cap() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 696835375370391552
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &phydev->lock
LOCK2 &shared->shared_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct lan8814_shared_priv)->shared_lock
TYPE_LOCK (struct phy_device)->lock

drivers/net/phy/micrel.c lan8841_gpio_process_cap() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 0 ptp 4096-ptr_max
PARAM_VALUE 0 ptp->info 4096-ptr_max
PARAM_VALUE 0 ptp->info->n_pins 1-s32max
PARAM_VALUE 0 ptp->pincfg_mux.dep_map->name 0-255
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ptp->pincfg_mux.osq.tail.counter 0-s32max
PARAM_VALUE 1 event 5734140523646672896
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 1
CAPPED_DATA 0 ptp->info->n_pins 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &phydev->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct phy_device)->lock

drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c ixgbe_ptp_check_pps_event() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 0 ptp 1-u64max
PARAM_VALUE 1 event 418295137229664256
PARAM_VALUE 1 event->type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/intel/igb/igb_main.c igb_extts() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 0 ptp 4096-ptr_max
PARAM_VALUE 0 ptp->info 4096-ptr_max
PARAM_VALUE 0 ptp->info->n_pins 1-s32max
PARAM_VALUE 1 event 7054996937049751552
PARAM_VALUE 1 event->index 0-1
PARAM_VALUE 1 event->offset 0-4294967299294967295
PARAM_VALUE 1 event->timestamp 0-4294967299294967295
PARAM_VALUE 1 event->type 1
CAPPED_DATA 0 ptp->info->n_pins 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295[c]
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/net/ethernet/intel/igb/igb_main.c igb_tsync_interrupt() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7555903800164007936
PARAM_VALUE 1 event->type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/net/ethernet/aquantia/atlantic/aq_ptp.c aq_ptp_check_sync1588() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 3369863623657889792
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c otx2_ptp_extts_check() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2568753992628609024
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/dsa/sja1105/sja1105_ptp.c sja1105_extts_poll() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 4145473051156480
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
LOCK2 &ptp_data->lock
TYPE_LOCK (struct sja1105_ptp_data)->lock

drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c lan966x_ptp_ext_irq_handler() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 0 ptp 4096-ptr_max
PARAM_VALUE 0 ptp->info 4096-ptr_max
PARAM_VALUE 0 ptp->info->n_pins 1-s32max
PARAM_VALUE 0 ptp->pincfg_mux.dep_map->name 0-255
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ptp->pincfg_mux.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ptp->pincfg_mux.osq.tail.counter 0-s32max
PARAM_VALUE 1 event 2531810313412833280
PARAM_VALUE 1 event->index 0-s32max
PARAM_VALUE 1 event->type 1
CAPPED_DATA 0 ptp->info->n_pins 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ptp/ptp_clockmatrix.c idtcm_extts_check_channel() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 2954494528151216128
PARAM_VALUE 1 event->index 0-3
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
LOCK2 idtcm->lock
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c bnxt_ptp_pps_event() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 1412173792881598464
PARAM_VALUE 1 event->index 0-7
PARAM_VALUE 1 event->type 1,4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/ptp/ptp_qoriq.c extts_clean_up() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 4286315335493791744
PARAM_VALUE 1 event->index 0-1
PARAM_VALUE 1 event->type 1
NOSPEC 1 event->index
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 event->index 1[c]
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

drivers/ptp/ptp_qoriq.c ptp_qoriq_isr() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 476858620211212288
PARAM_VALUE 1 event->type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/net/ethernet/microchip/lan743x_ptp.c lan743x_ptpci_do_aux_work() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7019017240517881856
PARAM_VALUE 1 event->index 0-6
PARAM_VALUE 1 event->offset 0-4294967299294967295
PARAM_VALUE 1 event->timestamp 0-4294967299294967295
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295[c]

drivers/net/ethernet/microchip/lan743x_ptp.c lan743x_ptpci_do_aux_work() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 7019017240517881856
PARAM_VALUE 1 event->index 0-7
PARAM_VALUE 1 event->offset 0-4294967299294967295
PARAM_VALUE 1 event->timestamp 0-4294967299294967295
PARAM_VALUE 1 event->type 1
NOCHECK_CALL
HOST_DATA 1 event->timestamp 0-4294967299294967295[c]

drivers/ptp/ptp_fc3.c get_tdc_meas_continuous() -> ptp_clock_event()

Type Parameter Key Value
PARAM_VALUE 1 event 1593775077394399232
PARAM_VALUE 1 event->index 0
PARAM_VALUE 1 event->type 2
NOCHECK_CALL
LOCK2 idtfc3->lock