/linux-6.1.9/include/linux/dsa/ |
D | ocelot.h | 224 static inline void ocelot_ifh_set_rew_op(void *injection, u64 rew_op) in ocelot_ifh_set_rew_op() argument 226 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op() 264 u32 rew_op = 0; in ocelot_ptp_rew_op() local 267 rew_op = ptp_cmd; in ocelot_ptp_rew_op() 268 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; in ocelot_ptp_rew_op() 270 rew_op = ptp_cmd; in ocelot_ptp_rew_op() 273 return rew_op; in ocelot_ptp_rew_op()
|
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_ptp.c | 151 u8 *rew_op, u8 *pdu_type, u8 *pdu_w16_offset) in sparx5_ptp_classify() argument 158 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify() 166 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify() 174 *rew_op = IFH_REW_OP_NOOP; in sparx5_ptp_classify() 189 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in sparx5_ptp_classify() 198 *rew_op = IFH_REW_OP_ONE_STEP_PTP; in sparx5_ptp_classify() 202 *rew_op = IFH_REW_OP_TWO_STEP_PTP; in sparx5_ptp_classify() 226 u8 rew_op, pdu_type, pdu_w16_offset; in sparx5_ptp_txtstamp_request() local 229 sparx5_ptp_classify(port, skb, &rew_op, &pdu_type, &pdu_w16_offset); in sparx5_ptp_txtstamp_request() 230 SPARX5_SKB_CB(skb)->rew_op = rew_op; in sparx5_ptp_txtstamp_request() [all …]
|
D | sparx5_packet.c | 240 sparx5_set_port_ifh_rew_op(ifh, SPARX5_SKB_CB(skb)->rew_op); in sparx5_port_xmit_impl() 262 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl() 274 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl()
|
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()
|
D | sparx5_main.h | 212 u8 rew_op; member 362 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op);
|
/linux-6.1.9/net/dsa/ |
D | tag_ocelot.c | 49 u32 rew_op = 0; in ocelot_xmit_common() local 68 rew_op = ocelot_ptp_rew_op(skb); in ocelot_xmit_common() 69 if (rew_op) in ocelot_xmit_common() 70 ocelot_ifh_set_rew_op(injection, rew_op); in ocelot_xmit_common()
|
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_ptp.c | 162 u8 rew_op; in lan966x_ptp_txtstamp_request() local 164 rew_op = lan966x_ptp_classify(port, skb); in lan966x_ptp_txtstamp_request() 165 LAN966X_SKB_CB(skb)->rew_op = rew_op; in lan966x_ptp_txtstamp_request() 167 if (rew_op != IFH_REW_OP_TWO_STEP_PTP) in lan966x_ptp_txtstamp_request()
|
D | lan966x_main.c | 291 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_port_ifh_xmit() 299 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_port_ifh_xmit() 335 static void lan966x_ifh_set_rew_op(void *ifh, u64 rew_op) in lan966x_ifh_set_rew_op() argument 337 packing(ifh, &rew_op, IFH_POS_REW_CMD + IFH_WID_REW_CMD - 1, in lan966x_ifh_set_rew_op() 368 lan966x_ifh_set_rew_op(ifh, LAN966X_SKB_CB(skb)->rew_op); in lan966x_port_xmit()
|
D | lan966x_fdma.c | 641 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit() 664 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit()
|
D | lan966x_main.h | 197 u8 rew_op; member
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_fdma.h | 160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
|
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 669 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); in ocelot_fdma_prepare_skb() 674 int ocelot_fdma_inject_frame(struct ocelot *ocelot, int port, u32 rew_op, in ocelot_fdma_inject_frame() argument 688 if (ocelot_fdma_prepare_skb(ocelot, port, rew_op, skb, dev)) in ocelot_fdma_inject_frame()
|
D | ocelot_net.c | 569 u32 rew_op = 0; in ocelot_port_xmit() local 587 rew_op = ocelot_ptp_rew_op(skb); in ocelot_port_xmit() 591 ocelot_fdma_inject_frame(ocelot, port, rew_op, skb, dev); in ocelot_port_xmit() 593 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in ocelot_port_xmit()
|
D | ocelot.c | 1091 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag) in ocelot_ifh_port_set() argument 1098 if (rew_op) in ocelot_ifh_port_set() 1099 ocelot_ifh_set_rew_op(ifh, rew_op); in ocelot_ifh_port_set() 1104 u32 rew_op, struct sk_buff *skb) in ocelot_port_inject_frame() argument 1112 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); in ocelot_port_inject_frame()
|
/linux-6.1.9/include/soc/mscc/ |
D | ocelot.h | 1126 u32 rew_op, struct sk_buff *skb); 1127 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag);
|
/linux-6.1.9/drivers/net/dsa/ocelot/ |
D | felix.c | 1491 u32 rew_op = ocelot_ptp_rew_op(skb); in felix_port_deferred_xmit() local 1511 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in felix_port_deferred_xmit()
|