Home
last modified time | relevance | path

Searched refs:ts_raw (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/linux/
H A Dpps_kernel.h37 struct timespec64 ts_raw; member
107 ts->ts_raw = ktime_to_timespec64(snap.raw); in pps_get_ts()
116 ts->ts_raw = timespec64_sub(ts->ts_raw, delta); in pps_sub_ts()
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-timestamp.c17 u32 ts_raw = 0; in mcp251xfd_timestamp_raw_read() local
21 err = mcp251xfd_get_timestamp_raw(priv, &ts_raw); in mcp251xfd_timestamp_raw_read()
27 return ts_raw; in mcp251xfd_timestamp_raw_read()
H A Dmcp251xfd-core.c873 struct can_frame **cf, u32 *ts_raw) in mcp251xfd_alloc_can_err_skb() argument
878 err = mcp251xfd_get_timestamp_raw(priv, ts_raw); in mcp251xfd_alloc_can_err_skb()
884 mcp251xfd_skb_set_timestamp_raw(priv, skb, *ts_raw); in mcp251xfd_alloc_can_err_skb()
895 u32 ts_raw, rxovif; in mcp251xfd_handle_rxovif() local
930 skb = mcp251xfd_alloc_can_err_skb(priv, &cf, &ts_raw); in mcp251xfd_handle_rxovif()
937 err = can_rx_offload_queue_timestamp(&priv->offload, skb, ts_raw); in mcp251xfd_handle_rxovif()
954 u32 bdiag1, ts_raw; in mcp251xfd_handle_ivmif() local
959 err = mcp251xfd_get_timestamp_raw(priv, &ts_raw); in mcp251xfd_handle_ivmif()
1041 mcp251xfd_skb_set_timestamp_raw(priv, skb, ts_raw); in mcp251xfd_handle_ivmif()
1055 u32 trec, ts_raw; in mcp251xfd_handle_cerrif() local
[all …]
H A Dmcp251xfd.h819 u32 *ts_raw) in mcp251xfd_get_timestamp_raw() argument
821 return regmap_read(priv->map_reg, MCP251XFD_REG_TBC, ts_raw); in mcp251xfd_get_timestamp_raw()
833 struct sk_buff *skb, u32 ts_raw) in mcp251xfd_skb_set_timestamp_raw() argument
837 ns = timecounter_cyc2time(&priv->tc, ts_raw); in mcp251xfd_skb_set_timestamp_raw()
/openbmc/linux/drivers/pps/
H A Dkc.c107 hardpps(&ts->ts_real, &ts->ts_raw); in pps_kc_event()
/openbmc/linux/drivers/net/phy/
H A Dnxp-c45-tja11xx.c713 u32 ts_raw; in nxp_c45_do_aux_work() local
728 ts_raw = __be32_to_cpu(NXP_C45_SKB_CB(skb)->header->reserved2); in nxp_c45_do_aux_work()
729 hwts.sec = ts_raw >> 30; in nxp_c45_do_aux_work()
730 hwts.nsec = ts_raw & GENMASK(29, 0); in nxp_c45_do_aux_work()