Home
last modified time | relevance | path

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

/linux/drivers/ptp/
H A Dptp_clock.c29 const struct class ptp_class = { variable
432 ptp->dev.class = &ptp_class; in ptp_clock_register()
589 dev = class_find_device(&ptp_class, NULL, np, in ptp_clock_index_by_of_node()
615 dev = class_find_device(&ptp_class, NULL, parent, in ptp_clock_index_by_dev()
677 class_unregister(&ptp_class); in ptp_exit()
686 err = class_register(&ptp_class); in ptp_init()
702 class_unregister(&ptp_class); in ptp_init()
H A Dptp_ines.c170 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class,
451 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, in ines_match() argument
459 if (unlikely(ptp_class & PTP_CLASS_V1)) in ines_match()
462 hdr = ptp_parse_header(skb, ptp_class); in ines_match()
466 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
H A Dptp_vclock.c251 dev = class_find_device_by_name(&ptp_class, name); in ptp_get_vclocks_index()
/linux/drivers/net/ethernet/ti/
H 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()
H A Dam65-cpts.c898 unsigned int ptp_class = ptp_classify_raw(skb); in am65_skb_get_mtype_seqid() local
903 if (ptp_class == PTP_CLASS_NONE) in am65_skb_get_mtype_seqid()
906 hdr = ptp_parse_header(skb, ptp_class); in am65_skb_get_mtype_seqid()
910 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
/linux/include/linux/dsa/
H A Docelot.h17 unsigned int ptp_class; /* valid only for clones */ member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H 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/
H 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/
H A Denetc.c165 unsigned int ptp_class; in enetc_ptp_parse() local
170 ptp_class = ptp_classify_raw(skb); in enetc_ptp_parse()
171 if (ptp_class == PTP_CLASS_NONE) in enetc_ptp_parse()
174 hdr = ptp_parse_header(skb, ptp_class); in enetc_ptp_parse()
178 type = ptp_class & PTP_CLASS_PMASK; in enetc_ptp_parse()
184 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
/linux/drivers/net/ethernet/freescale/dpaa2/
H 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/
H A Dmacb_main.c1237 unsigned int ptp_class; in ptp_one_step_sync() local
1245 ptp_class = ptp_classify_raw(skb); in ptp_one_step_sync()
1246 if (ptp_class == PTP_CLASS_NONE) in ptp_one_step_sync()
1249 hdr = ptp_parse_header(skb, ptp_class); in ptp_one_step_sync()
1256 msgtype = ptp_get_msgtype(hdr, ptp_class); in ptp_one_step_sync()