/openbmc/linux/include/linux/dsa/ |
H A D | ocelot.h | 227 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()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_ptp.c | 149 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 D | sparx5_packet.c | 244 sparx5_set_port_ifh_rew_op(ifh, SPARX5_SKB_CB(skb)->rew_op); in sparx5_port_xmit_impl() 268 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl() 280 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl()
|
H A D | sparx5_netdev.c | 78 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 D | sparx5_main.h | 214 u8 rew_op; member 379 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op);
|
/openbmc/linux/net/dsa/ |
H A D | tag_ocelot.c | 19 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()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ptp.c | 377 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 D | lan966x_main.c | 294 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 D | lan966x_fdma.c | 865 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit() 875 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit()
|
H A D | lan966x_main.h | 308 u8 rew_op; member
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.h | 160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
|
H A D | ocelot_fdma.c | 640 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 D | ocelot_net.c | 560 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 D | ocelot.c | 1254 u32 rew_op, struct sk_buff *skb) in ocelot_ifh_set_basic() argument 1274 if (rew_op) in ocelot_ifh_set_basic() 1275 ocelot_ifh_set_rew_op(ifh, rew_op); in ocelot_ifh_set_basic() 1280 u32 rew_op, struct sk_buff *skb) in ocelot_port_inject_frame() argument 1290 ocelot_ifh_set_basic(ifh, ocelot, port, rew_op, skb); in ocelot_port_inject_frame()
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot.h | 978 u32 rew_op, struct sk_buff *skb); 980 u32 rew_op, struct sk_buff *skb);
|
/openbmc/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | 1504 u32 rew_op = ocelot_ptp_rew_op(skb); in felix_port_deferred_xmit() local 1527 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in felix_port_deferred_xmit()
|