Home
last modified time | relevance | path

Searched refs:ptp_class (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/mscc/
A Docelot_ptp.c639 unsigned int ptp_class) in ocelot_ptp_is_onestep_sync() argument
644 hdr = ptp_parse_header(skb, ptp_class); in ocelot_ptp_is_onestep_sync()
648 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync()
663 unsigned int ptp_class; in ocelot_port_txtstamp_request() local
670 ptp_class = ptp_classify_raw(skb); in ocelot_port_txtstamp_request()
671 if (ptp_class == PTP_CLASS_NONE) in ocelot_port_txtstamp_request()
676 if (ocelot_ptp_is_onestep_sync(skb, ptp_class)) { in ocelot_port_txtstamp_request()
695 OCELOT_SKB_CB(*clone)->ptp_class = ptp_class; in ocelot_port_txtstamp_request()
733 hdr = ptp_parse_header(clone, OCELOT_SKB_CB(clone)->ptp_class); in ocelot_validate_ptp_skb()
/linux/drivers/ptp/
A Dptp_clock.c28 const struct class ptp_class = { variable
345 ptp->dev.class = &ptp_class; in ptp_clock_register()
519 class_unregister(&ptp_class); in ptp_exit()
528 err = class_register(&ptp_class); in ptp_init()
544 class_unregister(&ptp_class); in ptp_init()
A Dptp_ines.c170 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class,
429 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, in ines_match() argument
437 if (unlikely(ptp_class & PTP_CLASS_V1)) in ines_match()
440 hdr = ptp_parse_header(skb, ptp_class); in ines_match()
444 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
A Dptp_private.h123 extern const struct class ptp_class;
A Dptp_vclock.c244 dev = class_find_device_by_name(&ptp_class, name); in ptp_get_vclocks_index()
/linux/drivers/net/ethernet/ti/
A Dcpts.c436 unsigned int ptp_class = ptp_classify_raw(skb); in cpts_skb_get_mtype_seqid() local
441 if (ptp_class == PTP_CLASS_NONE) in cpts_skb_get_mtype_seqid()
444 hdr = ptp_parse_header(skb, ptp_class); in cpts_skb_get_mtype_seqid()
448 msgtype = ptp_get_msgtype(hdr, ptp_class); in cpts_skb_get_mtype_seqid()
A Dam65-cpts.c876 unsigned int ptp_class = ptp_classify_raw(skb); in am65_skb_get_mtype_seqid() local
881 if (ptp_class == PTP_CLASS_NONE) in am65_skb_get_mtype_seqid()
884 hdr = ptp_parse_header(skb, ptp_class); in am65_skb_get_mtype_seqid()
888 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
/linux/include/linux/dsa/
A Docelot.h17 unsigned int ptp_class; /* valid only for clones */ member
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ptp.c489 unsigned int ptp_class; in mlxsw_sp_ptp_parse() local
492 ptp_class = ptp_classify_raw(skb); in mlxsw_sp_ptp_parse()
494 switch (ptp_class & PTP_CLASS_VMASK) { in mlxsw_sp_ptp_parse()
502 hdr = ptp_parse_header(skb, ptp_class); in mlxsw_sp_ptp_parse()
506 *p_message_type = ptp_get_msgtype(hdr, ptp_class); in mlxsw_sp_ptp_parse()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c39 unsigned int ptp_class; in bnxt_ptp_parse() local
42 ptp_class = ptp_classify_raw(skb); in bnxt_ptp_parse()
44 switch (ptp_class & PTP_CLASS_VMASK) { in bnxt_ptp_parse()
47 hdr = ptp_parse_header(skb, ptp_class); in bnxt_ptp_parse()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc.c116 unsigned int ptp_class; in enetc_ptp_parse() local
121 ptp_class = ptp_classify_raw(skb); in enetc_ptp_parse()
122 if (ptp_class == PTP_CLASS_NONE) in enetc_ptp_parse()
125 hdr = ptp_parse_header(skb, ptp_class); in enetc_ptp_parse()
129 type = ptp_class & PTP_CLASS_PMASK; in enetc_ptp_parse()
135 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-eth.c765 unsigned int ptp_class; in dpaa2_eth_ptp_parse() local
770 ptp_class = ptp_classify_raw(skb); in dpaa2_eth_ptp_parse()
771 if (ptp_class == PTP_CLASS_NONE) in dpaa2_eth_ptp_parse()
774 hdr = ptp_parse_header(skb, ptp_class); in dpaa2_eth_ptp_parse()
778 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse()
781 type = ptp_class & PTP_CLASS_PMASK; in dpaa2_eth_ptp_parse()
/linux/drivers/net/ethernet/cadence/
A Dmacb_main.c1213 unsigned int ptp_class; in ptp_one_step_sync() local
1221 ptp_class = ptp_classify_raw(skb); in ptp_one_step_sync()
1222 if (ptp_class == PTP_CLASS_NONE) in ptp_one_step_sync()
1225 hdr = ptp_parse_header(skb, ptp_class); in ptp_one_step_sync()
1232 msgtype = ptp_get_msgtype(hdr, ptp_class); in ptp_one_step_sync()

Completed in 60 milliseconds