Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/dsa/
Docelot.h19 u8 ptp_cmd; member
265 u8 ptp_cmd = OCELOT_SKB_CB(skb)->ptp_cmd; in ocelot_ptp_rew_op() local
268 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP && clone) { in ocelot_ptp_rew_op()
269 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
271 } else if (ptp_cmd == IFH_REW_OP_ORIGIN_PTP) { in ocelot_ptp_rew_op()
272 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
/linux-6.12.1/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()
662 u8 ptp_cmd = ocelot_port->ptp_cmd; in ocelot_port_txtstamp_request() local
667 if (!ptp_cmd) in ocelot_port_txtstamp_request()
675 if (ptp_cmd == IFH_REW_OP_ORIGIN_PTP) { in ocelot_port_txtstamp_request()
677 OCELOT_SKB_CB(skb)->ptp_cmd = ptp_cmd; in ocelot_port_txtstamp_request()
682 ptp_cmd = IFH_REW_OP_TWO_STEP_PTP; in ocelot_port_txtstamp_request()
685 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP) { in ocelot_port_txtstamp_request()
[all …]
/linux-6.12.1/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.h170 u8 ptp_cmd; member
/linux-6.12.1/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.12.1/include/soc/mscc/
Docelot.h788 u8 ptp_cmd; member