Home
last modified time | relevance | path

Searched refs:rew_op (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/include/linux/dsa/
H A Docelot.h224 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_ptp.c149 u8 *rew_op, u8 *pdu_type, u8 *pdu_w16_offset) in sparx5_ptp_classify()
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 in sparx5_ptp_txtstamp_request()
148 sparx5_ptp_classify(struct sparx5_port *port, struct sk_buff *skb, u8 *rew_op, u8 *pdu_type, u8 *pdu_w16_offset) sparx5_ptp_classify() argument
[all...]
H A Dsparx5_packet.c240 sparx5_set_port_ifh_rew_op(ifh, SPARX5_SKB_CB(skb)->rew_op); in sparx5_port_xmit_impl()
264 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl()
276 SPARX5_SKB_CB(skb)->rew_op == IFH_REW_OP_TWO_STEP_PTP) in sparx5_port_xmit_impl()
H A Dsparx5_netdev.c78 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 Dsparx5_main.h214 u8 rew_op; member
379 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op);
/kernel/linux/linux-5.10/net/dsa/
H A Dtag_ocelot.c145 u64 qos_class, rew_op; in ocelot_xmit() local
163 rew_op = ocelot_port->ptp_cmd; in ocelot_xmit()
168 rew_op |= clone->cb[0] << 3; in ocelot_xmit()
170 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_xmit()
/kernel/linux/linux-6.6/net/dsa/
H A Dtag_ocelot.c53 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c377 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 Dlan966x_main.c294 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 Dlan966x_fdma.c865 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 Dlan966x_main.h308 u8 rew_op; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
H A Docelot.h40 u16 rew_op; member
H A Docelot_net.c314 ifh[0] = IFH_INJ_BYPASS | ((0x1ff & info->rew_op) << 21); in ocelot_gen_ifh()
348 info.rew_op = ocelot_port->ptp_cmd; in ocelot_port_xmit()
361 info.rew_op |= clone->cb[0] << 3; in ocelot_port_xmit()
366 info.rew_op = ocelot_port->ptp_cmd; in ocelot_port_xmit()
368 info.rew_op |= skb->cb[0] << 3; in ocelot_port_xmit()
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_fdma.h160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
H A Docelot_fdma.c640 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()
H A Docelot_net.c560 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 Docelot.c1196 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag) in ocelot_ifh_port_set() argument
1203 if (rew_op) in ocelot_ifh_port_set()
1204 ocelot_ifh_set_rew_op(ifh, rew_op); in ocelot_ifh_port_set()
1209 u32 rew_op, struct sk_buff *skb) in ocelot_port_inject_frame()
1217 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); in ocelot_port_inject_frame()
1208 ocelot_port_inject_frame(struct ocelot *ocelot, int port, int grp, u32 rew_op, struct sk_buff *skb) ocelot_port_inject_frame() argument
/kernel/linux/linux-6.6/include/soc/mscc/
H A Docelot.h971 u32 rew_op, struct sk_buff *skb);
972 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag);
/kernel/linux/linux-6.6/drivers/net/dsa/ocelot/
H A Dfelix.c1502 u32 rew_op = ocelot_ptp_rew_op(skb); in felix_port_deferred_xmit() local
1522 ocelot_port_inject_frame(ocelot, port, 0, rew_op, skb); in felix_port_deferred_xmit()

Completed in 28 milliseconds