Searched refs:ptp_class (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_clock.c | 30 static struct class *ptp_class; variable 266 ptp->dev.class = ptp_class; in ptp_clock_register() 403 class_destroy(ptp_class); in ptp_exit() 412 ptp_class = class_create(THIS_MODULE, "ptp"); in ptp_init() 413 if (IS_ERR(ptp_class)) { in ptp_init() 415 return PTR_ERR(ptp_class); in ptp_init() 424 ptp_class->dev_groups = ptp_groups; in ptp_init() 429 class_destroy(ptp_class); in ptp_init()
|
D | ptp_ines.c | 175 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, 440 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, in ines_match() argument 448 if (unlikely(ptp_class & PTP_CLASS_V1)) in ines_match() 451 hdr = ptp_parse_header(skb, ptp_class); in ines_match() 455 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 317 unsigned int ptp_class; in mlxsw_sp_ptp_parse() local 320 ptp_class = ptp_classify_raw(skb); in mlxsw_sp_ptp_parse() 322 switch (ptp_class & PTP_CLASS_VMASK) { in mlxsw_sp_ptp_parse() 330 hdr = ptp_parse_header(skb, ptp_class); in mlxsw_sp_ptp_parse() 334 *p_message_type = ptp_get_msgtype(hdr, ptp_class); in mlxsw_sp_ptp_parse()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpts.c | 448 unsigned int ptp_class = ptp_classify_raw(skb); in cpts_skb_get_mtype_seqid() local 453 if (ptp_class == PTP_CLASS_NONE) in cpts_skb_get_mtype_seqid() 456 hdr = ptp_parse_header(skb, ptp_class); in cpts_skb_get_mtype_seqid() 460 msgtype = ptp_get_msgtype(hdr, ptp_class); in cpts_skb_get_mtype_seqid()
|
D | am65-cpts.c | 752 unsigned int ptp_class = ptp_classify_raw(skb); in am65_skb_get_mtype_seqid() local 757 if (ptp_class == PTP_CLASS_NONE) in am65_skb_get_mtype_seqid() 760 hdr = ptp_parse_header(skb, ptp_class); in am65_skb_get_mtype_seqid() 764 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 634 unsigned int ptp_class; in dpaa2_eth_ptp_parse() local 639 ptp_class = ptp_classify_raw(skb); in dpaa2_eth_ptp_parse() 640 if (ptp_class == PTP_CLASS_NONE) in dpaa2_eth_ptp_parse() 643 hdr = ptp_parse_header(skb, ptp_class); in dpaa2_eth_ptp_parse() 647 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse() 650 type = ptp_class & PTP_CLASS_PMASK; in dpaa2_eth_ptp_parse()
|