/linux-6.1.9/drivers/ptp/ |
D | ptp_clock.c | 27 struct class *ptp_class; variable 300 ptp->dev.class = ptp_class; in ptp_clock_register() 457 class_destroy(ptp_class); in ptp_exit() 466 ptp_class = class_create(THIS_MODULE, "ptp"); in ptp_init() 467 if (IS_ERR(ptp_class)) { in ptp_init() 469 return PTR_ERR(ptp_class); in ptp_init() 478 ptp_class->dev_groups = ptp_groups; in ptp_init() 483 class_destroy(ptp_class); in ptp_init()
|
D | ptp_ines.c | 170 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, 431 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, in ines_match() argument 439 if (unlikely(ptp_class & PTP_CLASS_V1)) in ines_match() 442 hdr = ptp_parse_header(skb, ptp_class); in ines_match() 446 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
|
D | ptp_private.h | 110 extern struct class *ptp_class;
|
D | ptp_vclock.c | 244 dev = class_find_device_by_name(ptp_class, name); in ptp_get_vclocks_index()
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_ptp.c | 622 unsigned int ptp_class) in ocelot_ptp_is_onestep_sync() argument 627 hdr = ptp_parse_header(skb, ptp_class); in ocelot_ptp_is_onestep_sync() 631 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync() 646 unsigned int ptp_class; in ocelot_port_txtstamp_request() local 653 ptp_class = ptp_classify_raw(skb); in ocelot_port_txtstamp_request() 654 if (ptp_class == PTP_CLASS_NONE) in ocelot_port_txtstamp_request() 659 if (ocelot_ptp_is_onestep_sync(skb, ptp_class)) { in ocelot_port_txtstamp_request() 678 OCELOT_SKB_CB(*clone)->ptp_class = ptp_class; in ocelot_port_txtstamp_request() 716 hdr = ptp_parse_header(clone, OCELOT_SKB_CB(clone)->ptp_class); in ocelot_validate_ptp_skb()
|
/linux-6.1.9/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()
|
/linux-6.1.9/include/linux/dsa/ |
D | ocelot.h | 15 unsigned int ptp_class; /* valid only for clones */ member
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.c | 38 unsigned int ptp_class; in bnxt_ptp_parse() local 41 ptp_class = ptp_classify_raw(skb); in bnxt_ptp_parse() 43 switch (ptp_class & PTP_CLASS_VMASK) { in bnxt_ptp_parse() 46 hdr = ptp_parse_header(skb, ptp_class); in bnxt_ptp_parse()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 500 unsigned int ptp_class; in mlxsw_sp_ptp_parse() local 503 ptp_class = ptp_classify_raw(skb); in mlxsw_sp_ptp_parse() 505 switch (ptp_class & PTP_CLASS_VMASK) { in mlxsw_sp_ptp_parse() 513 hdr = ptp_parse_header(skb, ptp_class); in mlxsw_sp_ptp_parse() 517 *p_message_type = ptp_get_msgtype(hdr, ptp_class); in mlxsw_sp_ptp_parse()
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 97 unsigned int ptp_class; in enetc_ptp_parse() local 102 ptp_class = ptp_classify_raw(skb); in enetc_ptp_parse() 103 if (ptp_class == PTP_CLASS_NONE) in enetc_ptp_parse() 106 hdr = ptp_parse_header(skb, ptp_class); in enetc_ptp_parse() 110 type = ptp_class & PTP_CLASS_PMASK; in enetc_ptp_parse() 116 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
|
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 731 unsigned int ptp_class; in dpaa2_eth_ptp_parse() local 736 ptp_class = ptp_classify_raw(skb); in dpaa2_eth_ptp_parse() 737 if (ptp_class == PTP_CLASS_NONE) in dpaa2_eth_ptp_parse() 740 hdr = ptp_parse_header(skb, ptp_class); in dpaa2_eth_ptp_parse() 744 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse() 747 type = ptp_class & PTP_CLASS_PMASK; in dpaa2_eth_ptp_parse()
|
/linux-6.1.9/drivers/net/ethernet/cadence/ |
D | macb_main.c | 1131 unsigned int ptp_class; in ptp_one_step_sync() local 1139 ptp_class = ptp_classify_raw(skb); in ptp_one_step_sync() 1140 if (ptp_class == PTP_CLASS_NONE) in ptp_one_step_sync() 1143 hdr = ptp_parse_header(skb, ptp_class); in ptp_one_step_sync() 1150 msgtype = ptp_get_msgtype(hdr, ptp_class); in ptp_one_step_sync()
|