Searched refs:ts_raw (Results 1 – 6 of 6) sorted by relevance
/linux/include/linux/ |
H A D | pps_kernel.h | 37 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()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-timestamp.c | 17 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 D | mcp251xfd-core.c | 873 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() 1042 err = can_rx_offload_queue_timestamp(&priv->offload, skb, ts_raw); in mcp251xfd_handle_ivmif() [all …]
|
H A D | mcp251xfd.h | 819 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()
|
/linux/drivers/pps/ |
H A D | kc.c | 107 hardpps(&ts->ts_real, &ts->ts_raw); in pps_kc_event()
|
/linux/drivers/net/phy/ |
H A D | nxp-c45-tja11xx.c | 696 u32 ts_raw; in nxp_c45_do_aux_work() local 711 ts_raw = __be32_to_cpu(NXP_C45_SKB_CB(skb)->header->reserved2); in nxp_c45_do_aux_work() 712 hwts.sec = ts_raw >> 30; in nxp_c45_do_aux_work() 713 hwts.nsec = ts_raw & GENMASK(29, 0); in nxp_c45_do_aux_work()
|