/linux-6.3-rc2/include/linux/dsa/ |
A 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.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A 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 …]
|
A 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()
|
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()
|
A D | sparx5_main.h | 213 u8 rew_op; member 377 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op);
|
/linux-6.3-rc2/net/dsa/ |
A D | tag_ocelot.c | 53 u32 rew_op = 0; in ocelot_xmit_common() local 72 rew_op = ocelot_ptp_rew_op(skb); in ocelot_xmit_common() 73 if (rew_op) in ocelot_xmit_common() 74 ocelot_ifh_set_rew_op(injection, rew_op); in ocelot_xmit_common()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_ptp.c | 381 u8 rew_op; in lan966x_ptp_txtstamp_request() local 383 rew_op = lan966x_ptp_classify(port, skb); in lan966x_ptp_txtstamp_request() 384 LAN966X_SKB_CB(skb)->rew_op = rew_op; in lan966x_ptp_txtstamp_request() 386 if (rew_op != IFH_REW_OP_TWO_STEP_PTP) in lan966x_ptp_txtstamp_request()
|
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() 338 static void lan966x_ifh_set_rew_op(void *ifh, u64 rew_op) in lan966x_ifh_set_rew_op() argument 340 packing(ifh, &rew_op, IFH_POS_REW_CMD + IFH_WID_REW_CMD - 1, in lan966x_ifh_set_rew_op() 371 lan966x_ifh_set_rew_op(ifh, LAN966X_SKB_CB(skb)->rew_op); in lan966x_port_xmit()
|
A D | lan966x_fdma.c | 853 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit() 863 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in lan966x_fdma_xmit()
|
A D | lan966x_main.h | 249 u8 rew_op; member
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot_fdma.h | 160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
|
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 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()
|
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()
|
A D | ocelot.c | 1093 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag) in ocelot_ifh_port_set() argument 1100 if (rew_op) in ocelot_ifh_port_set() 1101 ocelot_ifh_set_rew_op(ifh, rew_op); in ocelot_ifh_port_set() 1106 u32 rew_op, struct sk_buff *skb) in ocelot_port_inject_frame() argument 1114 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); in ocelot_port_inject_frame()
|
/linux-6.3-rc2/include/soc/mscc/ |
A D | ocelot.h | 959 u32 rew_op, struct sk_buff *skb); 960 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag);
|
/linux-6.3-rc2/drivers/net/dsa/ocelot/ |
A D | felix.c | 1498 u32 rew_op = ocelot_ptp_rew_op(skb); in felix_port_deferred_xmit() local 1518 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in felix_port_deferred_xmit()
|