| /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()
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_ptp.c | 153 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 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()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ptp.c | 329 u8 *rew_op, u8 *pdu_type) in lan966x_ptp_classify() argument 336 *rew_op = IFH_REW_OP_NOOP; in lan966x_ptp_classify() 343 *rew_op = IFH_REW_OP_NOOP; in lan966x_ptp_classify() 350 *rew_op = IFH_REW_OP_NOOP; in lan966x_ptp_classify() 363 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in lan966x_ptp_classify() 372 *rew_op = IFH_REW_OP_ONE_STEP_PTP; in lan966x_ptp_classify() 376 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in lan966x_ptp_classify() 402 u8 rew_op; in lan966x_ptp_txtstamp_request() local 404 lan966x_ptp_classify(port, skb, &rew_op, &pdu_type); in lan966x_ptp_txtstamp_request() 405 LAN966X_SKB_CB(skb)->rew_op = rew_op; in lan966x_ptp_txtstamp_request() [all …]
|
| 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() 387 lan966x_ifh_set_rew_op(ifh, LAN966X_SKB_CB(skb)->rew_op); in lan966x_port_xmit()
|
| H A D | lan966x_fdma.c | 766 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit() 776 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit()
|
| H A D | lan966x_main.h | 260 u8 rew_op; member
|
| /linux/drivers/net/ethernet/mscc/ |
| 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_fdma.h | 160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
|
| H A D | ocelot_net.c | 555 struct sk_buff *skb, u32 *rew_op) in ocelot_xmit_timestamp() argument 568 *rew_op = ocelot_ptp_rew_op(skb); in ocelot_xmit_timestamp() 581 u32 rew_op = 0; in ocelot_port_xmit_fdma() local 583 if (!ocelot_xmit_timestamp(ocelot, port, skb, &rew_op)) in ocelot_port_xmit_fdma() 586 ocelot_fdma_inject_frame(ocelot, port, rew_op, skb, dev); in ocelot_port_xmit_fdma() 598 u32 rew_op = 0; in ocelot_port_xmit_inj() local 607 if (!ocelot_xmit_timestamp(ocelot, port, skb, &rew_op)) { in ocelot_port_xmit_inj() 612 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in ocelot_port_xmit_inj()
|
| H A D | ocelot.c | 1426 u32 rew_op, struct sk_buff *skb) in ocelot_ifh_set_basic() argument 1446 if (rew_op) in ocelot_ifh_set_basic() 1447 ocelot_ifh_set_rew_op(ifh, rew_op); in ocelot_ifh_set_basic() 1452 u32 rew_op, struct sk_buff *skb) in ocelot_port_inject_frame() argument 1462 ocelot_ifh_set_basic(ifh, ocelot, port, rew_op, skb); in ocelot_port_inject_frame()
|
| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_fdma.c | 338 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan969x_fdma_xmit()
|
| /linux/include/soc/mscc/ |
| H A D | ocelot.h | 987 u32 rew_op, struct sk_buff *skb); 989 u32 rew_op, struct sk_buff *skb);
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix.c | 1647 u32 rew_op = ocelot_ptp_rew_op(skb); in felix_port_deferred_xmit() local 1670 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in felix_port_deferred_xmit()
|