/linux-master/include/linux/dsa/ |
H A D | ocelot.h | 224 static inline void ocelot_ifh_set_rew_op(void *injection, u64 rew_op) argument 226 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); 264 u32 rew_op = 0; local 267 rew_op = ptp_cmd; 268 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; 270 rew_op = ptp_cmd; 273 return rew_op;
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_ptp.c | 149 u8 *rew_op, u8 *pdu_type, u8 *pdu_w16_offset) 156 *rew_op = IFH_REW_OP_NOOP; 164 *rew_op = IFH_REW_OP_NOOP; 172 *rew_op = IFH_REW_OP_NOOP; 187 *rew_op = IFH_REW_OP_TWO_STEP_PTP; 196 *rew_op = IFH_REW_OP_ONE_STEP_PTP; 200 *rew_op = IFH_REW_OP_TWO_STEP_PTP; 224 u8 rew_op, pdu_type, pdu_w16_offset; local 227 sparx5_ptp_classify(port, skb, &rew_op, &pdu_type, &pdu_w16_offset); 228 SPARX5_SKB_CB(skb)->rew_op 148 sparx5_ptp_classify(struct sparx5_port *port, struct sk_buff *skb, u8 *rew_op, u8 *pdu_type, u8 *pdu_w16_offset) argument [all...] |
H A D | sparx5_packet.c | 240 sparx5_set_port_ifh_rew_op(ifh, SPARX5_SKB_CB(skb)->rew_op); 264 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) 276 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP)
|
H A D | sparx5_netdev.c | 78 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op) argument 80 ifh_encode_bitfield(ifh_hdr, rew_op, VSTAX + 32, 10);
|
H A D | sparx5_main.h | 214 u8 rew_op; member in struct:sparx5_skb_cb 379 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op);
|
/linux-master/net/dsa/ |
H A D | tag_ocelot.c | 53 u32 rew_op = 0; local 72 rew_op = ocelot_ptp_rew_op(skb); 73 if (rew_op) 74 ocelot_ifh_set_rew_op(injection, rew_op);
|
/linux-master/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, argument 669 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); 674 int ocelot_fdma_inject_frame(struct ocelot *ocelot, int port, u32 rew_op, argument 688 if (ocelot_fdma_prepare_skb(ocelot, port, rew_op, skb, dev))
|
H A D | ocelot_net.c | 560 u32 rew_op = 0; local 578 rew_op = ocelot_ptp_rew_op(skb); 582 ocelot_fdma_inject_frame(ocelot, port, rew_op, skb, dev); 584 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb);
|
H A D | ocelot.c | 1196 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag) argument 1203 if (rew_op) 1204 ocelot_ifh_set_rew_op(ifh, rew_op); 1209 u32 rew_op, struct sk_buff *skb) 1217 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); 1208 ocelot_port_inject_frame(struct ocelot *ocelot, int port, int grp, u32 rew_op, struct sk_buff *skb) argument
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ptp.c | 377 u8 rew_op; local 379 rew_op = lan966x_ptp_classify(port, skb); 380 LAN966X_SKB_CB(skb)->rew_op = rew_op; 382 if (rew_op != IFH_REW_OP_TWO_STEP_PTP)
|
H A D | lan966x_main.c | 294 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) 302 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) 351 static void lan966x_ifh_set_rew_op(void *ifh, u64 rew_op) argument 353 lan966x_ifh_set(ifh, rew_op, IFH_POS_REW_CMD, IFH_WID_REW_CMD); 382 lan966x_ifh_set_rew_op(ifh, LAN966X_SKB_CB(skb)->rew_op);
|
H A D | lan966x_fdma.c | 865 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) 875 LAN966X_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP)
|
H A D | lan966x_main.h | 308 u8 rew_op; member in struct:lan966x_skb_cb
|
/linux-master/include/soc/mscc/ |
H A D | ocelot.h | 971 u32 rew_op, struct sk_buff *skb); 972 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag);
|
/linux-master/drivers/net/dsa/ocelot/ |
H A D | felix.c | 1502 u32 rew_op = ocelot_ptp_rew_op(skb); local 1522 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb);
|