Home
last modified time | relevance | path

Searched refs:rew_op (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/dsa/
H A Docelot.h227 static inline void ocelot_ifh_set_rew_op(void *injection, u64 rew_op) in ocelot_ifh_set_rew_op() argument
229 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op()
267 u32 rew_op = 0; in ocelot_ptp_rew_op() local
270 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
271 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; in ocelot_ptp_rew_op()
273 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
276 return rew_op; in ocelot_ptp_rew_op()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_ptp.c153 u8 *rew_op, u8 *pdu_type, u8 *pdu_w16_offset) in sparx5_ptp_classify() argument
160 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify()
168 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify()
176 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify()
191 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in sparx5_ptp_classify()
200 *rew_op = IFH_REW_OP_ONE_STEP_PTP; in sparx5_ptp_classify()
204 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in sparx5_ptp_classify()
228 u8 rew_op, pdu_type, pdu_w16_offset; in sparx5_ptp_txtstamp_request() local
231 sparx5_ptp_classify(port, skb, &rew_op, &pdu_type, &pdu_w16_offset); in sparx5_ptp_txtstamp_request()
232 SPARX5_SKB_CB(skb)->rew_op = rew_op; in sparx5_ptp_txtstamp_request()
[all …]
/linux/net/dsa/
H A Dtag_ocelot.c19 u32 rew_op = 0; in ocelot_xmit_common() local
39 rew_op = ocelot_ptp_rew_op(skb); in ocelot_xmit_common()
40 if (rew_op) in ocelot_xmit_common()
41 ocelot_ifh_set_rew_op(injection, rew_op); in ocelot_xmit_common()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c377 u8 rew_op; in lan966x_ptp_txtstamp_request() local
379 rew_op = lan966x_ptp_classify(port, skb); in lan966x_ptp_txtstamp_request()
380 LAN966X_SKB_CB(skb)->rew_op = rew_op; in lan966x_ptp_txtstamp_request()
382 if (rew_op != IFH_REW_OP_TWO_STEP_PTP) in lan966x_ptp_txtstamp_request()
H A Dlan966x_main.c294 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_port_ifh_xmit()
302 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_port_ifh_xmit()
351 static void lan966x_ifh_set_rew_op(void *ifh, u64 rew_op) in lan966x_ifh_set_rew_op() argument
353 lan966x_ifh_set(ifh, rew_op, IFH_POS_REW_CMD, IFH_WID_REW_CMD); in lan966x_ifh_set_rew_op()
382 lan966x_ifh_set_rew_op(ifh, LAN966X_SKB_CB(skb)->rew_op); in lan966x_port_xmit()
H A Dlan966x_fdma.c767 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit()
777 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit()
/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.c640 static int ocelot_fdma_prepare_skb(struct ocelot *ocelot, int port, u32 rew_op, in ocelot_fdma_prepare_skb() argument
668 ocelot_ifh_set_basic(ifh, ocelot, port, rew_op, skb); in ocelot_fdma_prepare_skb()
673 int ocelot_fdma_inject_frame(struct ocelot *ocelot, int port, u32 rew_op, in ocelot_fdma_inject_frame() argument
687 if (ocelot_fdma_prepare_skb(ocelot, port, rew_op, skb, dev)) in ocelot_fdma_inject_frame()
H A Docelot_fdma.h160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
H A Docelot.c1420 u32 rew_op, struct sk_buff *skb) in ocelot_ifh_set_basic() argument
1440 if (rew_op) in ocelot_ifh_set_basic()
1441 ocelot_ifh_set_rew_op(ifh, rew_op); in ocelot_ifh_set_basic()
1446 u32 rew_op, struct sk_buff *skb) in ocelot_port_inject_frame() argument
1456 ocelot_ifh_set_basic(ifh, ocelot, port, rew_op, skb); in ocelot_port_inject_frame()
/linux/include/soc/mscc/
H A Docelot.h987 u32 rew_op, struct sk_buff *skb);
989 u32 rew_op, struct sk_buff *skb);