Home
last modified time | relevance | path

Searched refs:twostep (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c726 u8 msgtype, twostep; in ocelot_ptp_is_onestep_sync() local
733 twostep = hdr->flag_field[0] & 0x2; in ocelot_ptp_is_onestep_sync()
735 if (msgtype == PTP_MSGTYPE_SYNC && twostep == 0) in ocelot_ptp_is_onestep_sync()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c116 u8 *msgtype, u8 *twostep, in enetc_ptp_parse() argument
139 *twostep = hdr->flag_field[0] & 0x2; in enetc_ptp_parse()
156 u8 msgtype, twostep, udp; in enetc_map_tx_buffs() local
186 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep, &offset1, in enetc_map_tx_buffs()
188 msgtype != PTP_MSGTYPE_SYNC || twostep) in enetc_map_tx_buffs()
655 u8 udp, msgtype, twostep; in enetc_xmit() local
668 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep, in enetc_xmit()
670 msgtype != PTP_MSGTYPE_SYNC || twostep != 0) in enetc_xmit()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c761 u8 *msgtype, u8 *twostep, u8 *udp, in dpaa2_eth_ptp_parse() argument
779 *twostep = hdr->flag_field[0] & 0x2; in dpaa2_eth_ptp_parse()
802 u8 msgtype, twostep, udp; in dpaa2_eth_enable_tx_tstamp() local
827 if (dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_enable_tx_tstamp()
829 msgtype != PTP_MSGTYPE_SYNC || twostep) { in dpaa2_eth_enable_tx_tstamp()
1545 u8 msgtype, twostep, udp; in dpaa2_eth_tx() local
1560 if (!dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_tx()
1562 if (msgtype == PTP_MSGTYPE_SYNC && twostep == 0) { in dpaa2_eth_tx()