| /linux/drivers/ptp/ |
| H A D | ptp_clock.c | 29 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 D | ptp_ines.c | 170 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 D | ptp_vclock.c | 251 dev = class_find_device_by_name(&ptp_class, name); in ptp_get_vclocks_index()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 436 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 D | am65-cpts.c | 898 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 D | ocelot.h | 17 unsigned int ptp_class; /* valid only for clones */ member
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 489 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 D | bnxt_ptp.c | 39 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 D | enetc.c | 165 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 D | dpaa2-eth.c | 765 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 D | macb_main.c | 1237 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()
|