| /linux/include/linux/ |
| H A D | ptp_classify.h | 68 struct ptp_header { struct 109 struct ptp_header *ptp_parse_header(struct sk_buff *skb, unsigned int type); 121 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype() 168 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction() 219 static inline struct ptp_header *ptp_parse_header(struct sk_buff *skb, in ptp_parse_header() 224 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype() 239 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction()
|
| /linux/net/core/ |
| H A D | ptp_classifier.c | 110 struct ptp_header *ptp_parse_header(struct sk_buff *skb, unsigned int type) in ptp_parse_header() 133 if (ptr + sizeof(struct ptp_header) > skb->data + skb->len) in ptp_parse_header() 136 return (struct ptp_header *)ptr; in ptp_parse_header() 142 struct ptp_header *hdr; in ptp_msg_is_sync()
|
| H A D | flow_dissector.c | 1474 struct ptp_header *hdr, _hdr; in __skb_flow_dissect() 1483 nhoff += sizeof(struct ptp_header); in __skb_flow_dissect()
|
| /linux/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek_hwtstamp.c | 147 static struct ptp_header *hellcreek_should_tstamp(struct hellcreek *hellcreek, in hellcreek_should_tstamp() 153 struct ptp_header *hdr; in hellcreek_should_tstamp() 165 static u64 hellcreek_get_reserved_field(const struct ptp_header *hdr) in hellcreek_get_reserved_field() 170 static void hellcreek_clear_reserved_field(struct ptp_header *hdr) in hellcreek_clear_reserved_field() 302 struct ptp_header *hdr; in hellcreek_get_rxts() 364 struct ptp_header *hdr; in hellcreek_port_txtstamp() 407 struct ptp_header *hdr; in hellcreek_port_rxtstamp()
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | hwtstamp.c | 209 static struct ptp_header *mv88e6xxx_should_tstamp(struct mv88e6xxx_chip *chip, in mv88e6xxx_should_tstamp() 214 struct ptp_header *hdr; in mv88e6xxx_should_tstamp() 241 struct ptp_header *hdr; in seq_match() 322 static int is_pdelay_resp(const struct ptp_header *hdr) in is_pdelay_resp() 332 struct ptp_header *hdr; in mv88e6xxx_port_rxtstamp() 468 struct ptp_header *hdr; in mv88e6xxx_port_txtstamp()
|
| /linux/drivers/net/phy/ |
| H A D | microchip_rds_ptp.c | 349 struct ptp_header *ptp_header; in mchp_rds_ptp_get_sig_rx() local 357 ptp_header = ptp_parse_header(skb, type); in mchp_rds_ptp_get_sig_rx() 358 if (!ptp_header) in mchp_rds_ptp_get_sig_rx() 363 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in mchp_rds_ptp_get_sig_rx() 916 struct ptp_header *ptp_header; in mchp_rds_ptp_get_sig_tx() local 923 ptp_header = ptp_parse_header(skb, type); in mchp_rds_ptp_get_sig_tx() 924 if (!ptp_header) in mchp_rds_ptp_get_sig_tx() 927 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in mchp_rds_ptp_get_sig_tx()
|
| H A D | micrel.c | 3307 struct ptp_header *ptp_header; in lan8814_get_sig_rx() local 3312 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_rx() 3315 if (!ptp_header) in lan8814_get_sig_rx() 3318 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_rx() 3990 struct ptp_header *ptp_header; in lan8814_get_sig_tx() local 3994 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_tx() 3996 if (!ptp_header) in lan8814_get_sig_tx() 3999 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_tx() 5177 struct ptp_header *header = ptp_parse_header(skb, type); in lan8841_rxtstamp()
|
| H A D | bcm-phy-ptp.c | 390 struct ptp_header *header; in bcm_ptp_rxtstamp() 748 struct ptp_header *hdr; in bcm_ptp_txtstamp()
|
| H A D | nxp-c45-tja11xx.c | 204 struct ptp_header *header; 505 static bool nxp_c45_match_ts(struct ptp_header *header, in nxp_c45_match_ts() 1000 struct ptp_header *header = ptp_parse_header(skb, type); in nxp_c45_rxtstamp()
|
| H A D | dp83640.c | 797 struct ptp_header *hdr; in match()
|
| /linux/drivers/ptp/ |
| H A D | ptp_ines.c | 454 struct ptp_header *hdr; in ines_match() 684 struct ptp_header *hdr; in is_sync_pdelay_resp()
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_ptp.c | 617 struct ptp_header *hdr; in ocelot_port_dequeue_ptp_tx_skb() 704 struct ptp_header *hdr; in ocelot_ptp_is_onestep_sync()
|
| /linux/net/dsa/ |
| H A D | tag_ksz.c | 207 struct ptp_header *ptp_hdr; in ksz_xmit_timestamp()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.c | 459 struct ptp_header *ptp_hdr; in ksz_port_rxtstamp() 499 struct ptp_header *hdr; in ksz_port_txtstamp()
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_ptp.c | 155 struct ptp_header *header; in sparx5_ptp_classify()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 437 struct ptp_header *hdr; in cpts_skb_get_mtype_seqid()
|
| H A D | am65-cpts.c | 899 struct ptp_header *hdr; in am65_skb_get_mtype_seqid()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ptp.c | 331 struct ptp_header *header; in lan966x_ptp_classify()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ptp.c | 40 struct ptp_header *hdr; in bnxt_ptp_parse()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 490 struct ptp_header *hdr; in mlxsw_sp_ptp_parse()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.c | 766 struct ptp_header *hdr; in dpaa2_eth_ptp_parse() 790 *origintimestamp_offset = (u8 *)hdr + sizeof(struct ptp_header) - base; in dpaa2_eth_ptp_parse()
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 1236 struct ptp_header *hdr; in ptp_one_step_sync()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 4114 struct ptp_header *hdr; in mvpp2_tx_hw_tstamp()
|