Searched refs:ifh (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_packet.c35 void sparx5_ifh_parse(u32 *ifh, struct frame_info *info) argument
37 u8 *xtr_hdr = (u8 *)ifh;
63 u32 ifh[IFH_LEN]; local
68 ifh[i] = spx5_rd(sparx5, QS_XTR_RD(grp));
71 sparx5_ifh_parse(ifh, &fi);
163 u32 *ifh,
185 spx5_wr(ifh[w], sparx5, QS_INJ_WR(grp));
230 u32 ifh[IFH_LEN]; local
233 memset(ifh, 0, IFH_LEN * 4);
234 sparx5_set_port_ifh(ifh, por
162 sparx5_inject(struct sparx5 *sparx5, u32 *ifh, struct sk_buff *skb, struct net_device *ndev) argument
[all...]
H A Dsparx5_netdev.c17 #define ifh_encode_bitfield(ifh, value, pos, _width) \
26 __ifh_encode_bitfield((ifh), (value), (pos), width); \
29 static void __ifh_encode_bitfield(void *ifh, u64 value, u32 pos, u32 width) argument
31 u8 *ifh_hdr = ifh;
H A Dsparx5_fdma.c309 int sparx5_fdma_xmit(struct sparx5 *sparx5, u32 *ifh, struct sk_buff *skb) argument
329 memcpy(db->cpu_addr, ifh, IFH_LEN * 4);
H A Dsparx5_main.h313 void sparx5_ifh_parse(u32 *ifh, struct frame_info *info);
322 int sparx5_fdma_xmit(struct sparx5 *sparx5, u32 *ifh, struct sk_buff *skb);
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c226 __be32 *ifh,
253 lan_wr((__force u32)ifh[i], lan966x, QS_INJ_WR(grp));
308 static void lan966x_ifh_set(u8 *ifh, size_t val, size_t pos, size_t length) argument
319 ifh[p] |= v << ((pos + i) % 8);
320 ifh[p - 1] |= v >> (8 - (pos + i) % 8);
326 void lan966x_ifh_set_bypass(void *ifh, u64 bypass) argument
328 lan966x_ifh_set(ifh, bypass, IFH_POS_BYPASS, IFH_WID_BYPASS);
331 void lan966x_ifh_set_port(void *ifh, u64 port) argument
333 lan966x_ifh_set(ifh, port, IFH_POS_DSTS, IFH_WID_DSTS);
336 static void lan966x_ifh_set_qos_class(void *ifh, u6 argument
225 lan966x_port_ifh_xmit(struct sk_buff *skb, __be32 *ifh, struct net_device *dev) argument
341 lan966x_ifh_set_ipv(void *ifh, u64 ipv) argument
346 lan966x_ifh_set_vid(void *ifh, u64 vid) argument
351 lan966x_ifh_set_rew_op(void *ifh, u64 rew_op) argument
356 lan966x_ifh_set_timestamp(void *ifh, u64 timestamp) argument
366 __be32 ifh[IFH_LEN]; local
605 lan966x_ifh_get(u8 *ifh, size_t pos, size_t length) argument
624 lan966x_ifh_get_src_port(void *ifh, u64 *src_port) argument
629 lan966x_ifh_get_len(void *ifh, u64 *len) argument
634 lan966x_ifh_get_timestamp(void *ifh, u64 *timestamp) argument
652 u32 ifh[IFH_LEN]; local
[all...]
H A Dlan966x_fdma.c714 __be32 *ifh; local
739 ifh = xdpf->data - IFH_LEN_BYTES;
740 memset(ifh, 0x0, sizeof(__be32) * IFH_LEN);
741 lan966x_ifh_set_bypass(ifh, 1);
742 lan966x_ifh_set_port(ifh, BIT_ULL(port->chip_port));
763 ifh = page_address(page) + XDP_PACKET_HEADROOM;
764 memset(ifh, 0x0, sizeof(__be32) * IFH_LEN);
765 lan966x_ifh_set_bypass(ifh, 1);
766 lan966x_ifh_set_port(ifh, BIT_ULL(port->chip_port));
800 int lan966x_fdma_xmit(struct sk_buff *skb, __be32 *ifh, struc argument
[all...]
H A Dlan966x_main.h487 void lan966x_ifh_get_src_port(void *ifh, u64 *src_port);
488 void lan966x_ifh_get_timestamp(void *ifh, u64 *timestamp);
489 void lan966x_ifh_set_bypass(void *ifh, u64 bypass);
490 void lan966x_ifh_set_port(void *ifh, u64 bypass);
601 int lan966x_fdma_xmit(struct sk_buff *skb, __be32 *ifh, struct net_device *dev);
/linux-master/net/dsa/
H A Dtag_ocelot.c46 __be32 ifh_prefix, void **ifh)
76 *ifh = injection;
45 ocelot_xmit_common(struct sk_buff *skb, struct net_device *netdev, __be32 ifh_prefix, void **ifh) argument
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.c1024 static int ocelot_rx_frame_word(struct ocelot *ocelot, u8 grp, bool ifh, argument
1031 if (ifh)
1196 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag) argument
1198 ocelot_ifh_set_bypass(ifh, 1);
1199 ocelot_ifh_set_dest(ifh, BIT_ULL(port));
1200 ocelot_ifh_set_tag_type(ifh, IFH_TAG_TYPE_C);
1202 ocelot_ifh_set_vlan_tci(ifh, vlan_tag);
1204 ocelot_ifh_set_rew_op(ifh, rew_op);
1211 u32 ifh[OCELOT_TAG_LEN / 4] = {0}; local
1217 ocelot_ifh_port_set(ifh, por
[all...]
H A Docelot_fdma.c645 void *ifh; local
666 ifh = skb_push(skb, OCELOT_TAG_LEN);
668 memset(ifh, 0, OCELOT_TAG_LEN);
669 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb));
/linux-master/include/linux/
H A Dperf_event.h1692 struct perf_addr_filters_head *ifh = &event->addr_filters; local
1695 ifh = &event->parent->addr_filters;
1697 return ifh;
/linux-master/kernel/events/
H A Dcore.c3128 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); local
3133 raw_spin_lock(&ifh->lock);
3138 raw_spin_unlock(&ifh->lock);
8037 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); local
8045 raw_spin_lock_irqsave(&ifh->lock, flags);
8046 list_for_each_entry(filter, &ifh->list, entry) {
8058 raw_spin_unlock_irqrestore(&ifh->lock, flags);
8860 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); local
8872 raw_spin_lock_irqsave(&ifh->lock, flags);
8873 list_for_each_entry(filter, &ifh
10701 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); local
12064 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); local
[all...]
/linux-master/include/soc/mscc/
H A Docelot.h972 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag);

Completed in 556 milliseconds