Lines Matching +full:ptp +full:- +full:timer
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 PTP Header file
18 /* IEEE 1588 PTP register offsets */
20 #define PTP_SSIR 0x04 /* Sub-Second Increment Reg */
27 #define PTP_ATNR 0x48 /* Auxiliary Timestamp - Nanoseconds Reg */
28 #define PTP_ATSR 0x4c /* Auxiliary Timestamp - Seconds Reg */
37 #define PTP_DIGITAL_ROLLOVER_MODE 0x3B9ACA00 /* 10e9-1 ns */
40 /* PTP Timestamp control register defines */
49 /* Enable PTP packet Processing for Version 2 Format */
51 /* Enable Processing of PTP over Ethernet Frames */
53 /* Enable Processing of PTP Frames Sent over IPv6-UDP */
55 /* Enable Processing of PTP Frames Sent over IPv4-UDP */
61 /* Select PTP packets for Taking Snapshots
69 /* Enable MAC address for PTP Frame Filtering */
84 #define PMC_ART_VALUE0 0x01 /* PMC_ART[15:0] timer value */
85 #define PMC_ART_VALUE1 0x02 /* PMC_ART[31:16] timer value */
86 #define PMC_ART_VALUE2 0x03 /* PMC_ART[47:32] timer value */
87 #define PMC_ART_VALUE3 0x04 /* PMC_ART[63:48] timer value */
88 #define GMAC4_ART_TIME_SHIFT 16 /* ART TIME 16-bits shift */