/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_packet.c | 35 void sparx5_ifh_parse(u32 *ifh, struct frame_info *info) in sparx5_ifh_parse() argument 37 u8 *xtr_hdr = (u8 *)ifh; in sparx5_ifh_parse() 63 u32 ifh[IFH_LEN]; in sparx5_xtr_grp() local 68 ifh[i] = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp() 71 sparx5_ifh_parse(ifh, &fi); in sparx5_xtr_grp() 163 u32 *ifh, in sparx5_inject() argument 185 spx5_wr(ifh[w], sparx5, QS_INJ_WR(grp)); in sparx5_inject() 230 u32 ifh[IFH_LEN]; in sparx5_port_xmit_impl() local 233 memset(ifh, 0, IFH_LEN * 4); in sparx5_port_xmit_impl() 234 sparx5_set_port_ifh(ifh, port->portno); in sparx5_port_xmit_impl() [all …]
|
D | sparx5_netdev.c | 17 #define ifh_encode_bitfield(ifh, value, pos, _width) \ argument 26 __ifh_encode_bitfield((ifh), (value), (pos), width); \ 29 static void __ifh_encode_bitfield(void *ifh, u64 value, u32 pos, u32 width) in __ifh_encode_bitfield() argument 31 u8 *ifh_hdr = ifh; in __ifh_encode_bitfield()
|
D | sparx5_fdma.c | 309 int sparx5_fdma_xmit(struct sparx5 *sparx5, u32 *ifh, struct sk_buff *skb) in sparx5_fdma_xmit() argument 329 memcpy(db->cpu_addr, ifh, IFH_LEN * 4); in sparx5_fdma_xmit()
|
D | sparx5_main.h | 313 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-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.c | 226 __be32 *ifh, in lan966x_port_ifh_xmit() argument 253 lan_wr((__force u32)ifh[i], lan966x, QS_INJ_WR(grp)); in lan966x_port_ifh_xmit() 308 static void lan966x_ifh_set(u8 *ifh, size_t val, size_t pos, size_t length) in lan966x_ifh_set() argument 319 ifh[p] |= v << ((pos + i) % 8); in lan966x_ifh_set() 320 ifh[p - 1] |= v >> (8 - (pos + i) % 8); in lan966x_ifh_set() 326 void lan966x_ifh_set_bypass(void *ifh, u64 bypass) in lan966x_ifh_set_bypass() argument 328 lan966x_ifh_set(ifh, bypass, IFH_POS_BYPASS, IFH_WID_BYPASS); in lan966x_ifh_set_bypass() 331 void lan966x_ifh_set_port(void *ifh, u64 port) in lan966x_ifh_set_port() argument 333 lan966x_ifh_set(ifh, port, IFH_POS_DSTS, IFH_WID_DSTS); in lan966x_ifh_set_port() 336 static void lan966x_ifh_set_qos_class(void *ifh, u64 qos) in lan966x_ifh_set_qos_class() argument [all …]
|
D | lan966x_fdma.c | 714 __be32 *ifh; in lan966x_fdma_xmit_xdpf() local 739 ifh = xdpf->data - IFH_LEN_BYTES; in lan966x_fdma_xmit_xdpf() 740 memset(ifh, 0x0, sizeof(__be32) * IFH_LEN); in lan966x_fdma_xmit_xdpf() 741 lan966x_ifh_set_bypass(ifh, 1); in lan966x_fdma_xmit_xdpf() 742 lan966x_ifh_set_port(ifh, BIT_ULL(port->chip_port)); in lan966x_fdma_xmit_xdpf() 763 ifh = page_address(page) + XDP_PACKET_HEADROOM; in lan966x_fdma_xmit_xdpf() 764 memset(ifh, 0x0, sizeof(__be32) * IFH_LEN); in lan966x_fdma_xmit_xdpf() 765 lan966x_ifh_set_bypass(ifh, 1); in lan966x_fdma_xmit_xdpf() 766 lan966x_ifh_set_port(ifh, BIT_ULL(port->chip_port)); in lan966x_fdma_xmit_xdpf() 800 int lan966x_fdma_xmit(struct sk_buff *skb, __be32 *ifh, struct net_device *dev) in lan966x_fdma_xmit() argument [all …]
|
D | lan966x_main.h | 487 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-6.6.21/net/dsa/ |
D | tag_ocelot.c | 46 __be32 ifh_prefix, void **ifh) in ocelot_xmit_common() argument 76 *ifh = injection; in ocelot_xmit_common()
|
/linux-6.6.21/drivers/net/ethernet/mscc/ |
D | ocelot.c | 1024 static int ocelot_rx_frame_word(struct ocelot *ocelot, u8 grp, bool ifh, in ocelot_rx_frame_word() argument 1031 if (ifh) in ocelot_rx_frame_word() 1196 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag) in ocelot_ifh_port_set() argument 1198 ocelot_ifh_set_bypass(ifh, 1); in ocelot_ifh_port_set() 1199 ocelot_ifh_set_dest(ifh, BIT_ULL(port)); in ocelot_ifh_port_set() 1200 ocelot_ifh_set_tag_type(ifh, IFH_TAG_TYPE_C); in ocelot_ifh_port_set() 1202 ocelot_ifh_set_vlan_tci(ifh, vlan_tag); in ocelot_ifh_port_set() 1204 ocelot_ifh_set_rew_op(ifh, rew_op); in ocelot_ifh_port_set() 1211 u32 ifh[OCELOT_TAG_LEN / 4] = {0}; in ocelot_port_inject_frame() local 1217 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); in ocelot_port_inject_frame() [all …]
|
D | ocelot_fdma.c | 645 void *ifh; in ocelot_fdma_prepare_skb() local 666 ifh = skb_push(skb, OCELOT_TAG_LEN); in ocelot_fdma_prepare_skb() 668 memset(ifh, 0, OCELOT_TAG_LEN); in ocelot_fdma_prepare_skb() 669 ocelot_ifh_port_set(ifh, port, rew_op, skb_vlan_tag_get(skb)); in ocelot_fdma_prepare_skb()
|
/linux-6.6.21/include/linux/ |
D | perf_event.h | 1672 struct perf_addr_filters_head *ifh = &event->addr_filters; in perf_event_addr_filters() local 1675 ifh = &event->parent->addr_filters; in perf_event_addr_filters() 1677 return ifh; in perf_event_addr_filters()
|
/linux-6.6.21/kernel/events/ |
D | core.c | 3128 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); in perf_event_addr_filters_sync() local 3133 raw_spin_lock(&ifh->lock); in perf_event_addr_filters_sync() 3138 raw_spin_unlock(&ifh->lock); in perf_event_addr_filters_sync() 8017 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); in perf_event_addr_filters_exec() local 8025 raw_spin_lock_irqsave(&ifh->lock, flags); in perf_event_addr_filters_exec() 8026 list_for_each_entry(filter, &ifh->list, entry) { in perf_event_addr_filters_exec() 8038 raw_spin_unlock_irqrestore(&ifh->lock, flags); in perf_event_addr_filters_exec() 8840 struct perf_addr_filters_head *ifh = perf_event_addr_filters(event); in __perf_addr_filters_adjust() local 8852 raw_spin_lock_irqsave(&ifh->lock, flags); in __perf_addr_filters_adjust() 8853 list_for_each_entry(filter, &ifh->list, entry) { in __perf_addr_filters_adjust() [all …]
|
/linux-6.6.21/include/soc/mscc/ |
D | ocelot.h | 972 void ocelot_ifh_port_set(void *ifh, int port, u32 rew_op, u32 vlan_tag);
|