Home
last modified time | relevance | path

Searched refs:ptp_cmd (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/include/linux/dsa/
Docelot.h17 u8 ptp_cmd; member
263 u8 ptp_cmd = OCELOT_SKB_CB(skb)->ptp_cmd; in ocelot_ptp_rew_op() local
266 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP && clone) { in ocelot_ptp_rew_op()
267 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
269 } else if (ptp_cmd == IFH_REW_OP_ORIGIN_PTP) { in ocelot_ptp_rew_op()
270 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_ptp.c503 switch (ocelot_port->ptp_cmd) { in ocelot_hwstamp_get()
534 ocelot_port->ptp_cmd = IFH_REW_OP_TWO_STEP_PTP; in ocelot_hwstamp_set()
540 ocelot_port->ptp_cmd = IFH_REW_OP_ORIGIN_PTP; in ocelot_hwstamp_set()
543 ocelot_port->ptp_cmd = 0; in ocelot_hwstamp_set()
666 u8 ptp_cmd = ocelot_port->ptp_cmd; in ocelot_port_txtstamp_request() local
671 if (!ptp_cmd) in ocelot_port_txtstamp_request()
679 if (ptp_cmd == IFH_REW_OP_ORIGIN_PTP) { in ocelot_port_txtstamp_request()
681 OCELOT_SKB_CB(skb)->ptp_cmd = ptp_cmd; in ocelot_port_txtstamp_request()
686 ptp_cmd = IFH_REW_OP_TWO_STEP_PTP; in ocelot_port_txtstamp_request()
689 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP) { in ocelot_port_txtstamp_request()
[all …]
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c94 port->ptp_cmd = IFH_REW_OP_TWO_STEP_PTP; in sparx5_ptp_hwtstamp_set()
97 port->ptp_cmd = IFH_REW_OP_ONE_STEP_PTP; in sparx5_ptp_hwtstamp_set()
100 port->ptp_cmd = IFH_REW_OP_NOOP; in sparx5_ptp_hwtstamp_set()
155 if (port->ptp_cmd == IFH_REW_OP_NOOP) { in sparx5_ptp_classify()
186 if (port->ptp_cmd == IFH_REW_OP_TWO_STEP_PTP) { in sparx5_ptp_classify()
Dsparx5_main.h191 u8 ptp_cmd; member
/linux-6.6.21/drivers/net/phy/mscc/
Dmscc_ptp.h432 enum ptp_cmd { enum
Dmscc_ptp.c808 …t vsc85xx_ts_ptp_action_flow(struct phy_device *phydev, enum ts_blk blk, u8 flow, enum ptp_cmd cmd) in vsc85xx_ts_ptp_action_flow()
/linux-6.6.21/include/soc/mscc/
Docelot.h788 u8 ptp_cmd; member