/openbmc/linux/drivers/ptp/ |
H A D | ptp_clock.c | 27 struct class *ptp_class; variable 311 ptp->dev.class = ptp_class; in ptp_clock_register() 468 class_destroy(ptp_class); in ptp_exit() 477 ptp_class = class_create("ptp"); in ptp_init() 478 if (IS_ERR(ptp_class)) { in ptp_init() 480 return PTR_ERR(ptp_class); in ptp_init() 489 ptp_class->dev_groups = ptp_groups; in ptp_init() 494 class_destroy(ptp_class); in ptp_init()
|
H A 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()
|
H A D | ptp_private.h | 114 extern struct class *ptp_class;
|
H A D | ptp_vclock.c | 244 dev = class_find_device_by_name(ptp_class, name); in ptp_get_vclocks_index()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_ptp.c | 655 hdr = ptp_parse_header(skb, OCELOT_SKB_CB(skb)->ptp_class); in ocelot_port_dequeue_ptp_tx_skb() 723 unsigned int ptp_class) in ocelot_ptp_is_onestep_sync() argument 728 hdr = ptp_parse_header(skb, ptp_class); in ocelot_ptp_is_onestep_sync() 732 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync() 747 unsigned int ptp_class; in ocelot_port_txtstamp_request() local 754 ptp_class = ptp_classify_raw(skb); in ocelot_port_txtstamp_request() 755 if (ptp_class == PTP_CLASS_NONE) in ocelot_port_txtstamp_request() 760 if (ocelot_ptp_is_onestep_sync(skb, ptp_class)) { in ocelot_port_txtstamp_request() 783 OCELOT_SKB_CB(*clone)->ptp_class = ptp_class; in ocelot_port_txtstamp_request()
|
/openbmc/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 | 892 unsigned int ptp_class = ptp_classify_raw(skb); in am65_skb_get_mtype_seqid() local 897 if (ptp_class == PTP_CLASS_NONE) in am65_skb_get_mtype_seqid() 900 hdr = ptp_parse_header(skb, ptp_class); in am65_skb_get_mtype_seqid() 904 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
|
/openbmc/linux/include/linux/dsa/ |
H A D | ocelot.h | 17 unsigned int ptp_class; /* valid only for clones */ member
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 119 unsigned int ptp_class; in enetc_ptp_parse() local 124 ptp_class = ptp_classify_raw(skb); in enetc_ptp_parse() 125 if (ptp_class == PTP_CLASS_NONE) in enetc_ptp_parse() 128 hdr = ptp_parse_header(skb, ptp_class); in enetc_ptp_parse() 132 type = ptp_class & PTP_CLASS_PMASK; in enetc_ptp_parse() 138 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 1213 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()
|