Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/dsa/
H A Docelot.h20 u8 ptp_cmd; member
266 u8 ptp_cmd = OCELOT_SKB_CB(skb)->ptp_cmd; in ocelot_ptp_rew_op() local
269 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP && clone) { in ocelot_ptp_rew_op()
270 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
272 } else if (ptp_cmd == IFH_REW_OP_ORIGIN_PTP) { in ocelot_ptp_rew_op()
273 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c500 static int ocelot_ptp_tx_type_to_cmd(int tx_type, int *ptp_cmd) in ocelot_ptp_tx_type_to_cmd() argument
504 *ptp_cmd = IFH_REW_OP_TWO_STEP_PTP; in ocelot_ptp_tx_type_to_cmd()
510 *ptp_cmd = IFH_REW_OP_ORIGIN_PTP; in ocelot_ptp_tx_type_to_cmd()
513 *ptp_cmd = 0; in ocelot_ptp_tx_type_to_cmd()
527 switch (ocelot_port->ptp_cmd) { in ocelot_hwstamp_get()
548 int ptp_cmd, old_ptp_cmd = ocelot_port->ptp_cmd; in ocelot_hwstamp_set() local
558 err = ocelot_ptp_tx_type_to_cmd(cfg.tx_type, &ptp_cmd); in ocelot_hwstamp_set()
592 ocelot_port->ptp_cmd = ptp_cmd; in ocelot_hwstamp_set()
604 ocelot_port->ptp_cmd = old_ptp_cmd; in ocelot_hwstamp_set()
746 u8 ptp_cmd = ocelot_port->ptp_cmd; in ocelot_port_txtstamp_request() local
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A 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()
H A Dsparx5_main.h191 u8 ptp_cmd; member
/openbmc/linux/drivers/net/phy/mscc/
H A Dmscc_ptp.h432 enum ptp_cmd { enum
H A 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()
/openbmc/linux/include/soc/mscc/
H A Docelot.h787 u8 ptp_cmd; member