Home
last modified time | relevance | path

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

/linux/include/linux/dsa/
H A Docelot.h226 static inline void ocelot_ifh_set_rew_op(void *injection, u64 rew_op) in ocelot_ifh_set_rew_op() argument
228 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op()
266 u32 rew_op = 0; in ocelot_ptp_rew_op() local
269 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
270 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; in ocelot_ptp_rew_op()
272 rew_op = ptp_cmd; in ocelot_ptp_rew_op()
275 return rew_op; in ocelot_ptp_rew_op()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_ptp.c149 u8 *rew_op, u8 *pdu_type, u8 *pdu_w16_offset) in sparx5_ptp_classify() argument
156 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify()
164 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify()
172 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify()
187 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in sparx5_ptp_classify()
196 *rew_op = IFH_REW_OP_ONE_STEP_PTP; in sparx5_ptp_classify()
200 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in sparx5_ptp_classify()
224 u8 rew_op, pdu_type, pdu_w16_offset; in sparx5_ptp_txtstamp_request() local
227 sparx5_ptp_classify(port, skb, &rew_op, &pdu_type, &pdu_w16_offset); in sparx5_ptp_txtstamp_request()
228 SPARX5_SKB_CB(skb)->rew_op = rew_op; in sparx5_ptp_txtstamp_request()
[all …]
H A Dsparx5_packet.c240 sparx5_set_port_ifh_rew_op(ifh, SPARX5_SKB_CB(skb)->rew_op); in sparx5_port_xmit_impl()
264 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl()
276 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl()
H A Dsparx5_netdev.c78 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op) in sparx5_set_port_ifh_rew_op() argument
80 ifh_encode_bitfield(ifh_hdr, rew_op, VSTAX + 32, 10); in sparx5_set_port_ifh_rew_op()
H A Dsparx5_main.h193 u8 rew_op; member
375 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op);
/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()
H A Dlan966x_main.h256 u8 rew_op; member
/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.h160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
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_net.c560 u32 rew_op = 0; in ocelot_port_xmit() local
578 rew_op = ocelot_ptp_rew_op(skb); in ocelot_port_xmit()
582 ocelot_fdma_inject_frame(ocelot, port, rew_op, skb, dev); in ocelot_port_xmit()
584 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in ocelot_port_xmit()
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.h980 u32 rew_op, struct sk_buff *skb);
982 u32 rew_op, struct sk_buff *skb);
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1618 u32 rew_op = ocelot_ptp_rew_op(skb); in felix_port_deferred_xmit() local
1641 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in felix_port_deferred_xmit()