| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 290 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 295 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 300 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() 311 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 327 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22() 351 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45() 387 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22() 409 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45() 447 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local 455 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c45() local [all …]
|
| H A D | mtk_ppe_offload.c | 17 struct ethhdr eth; member 57 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr() 66 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr() 75 mtk_flow_offload_mangle_eth(const struct flow_action_entry *act, void *eth) in mtk_flow_offload_mangle_eth() 200 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 257 mtk_flow_is_valid_idev(const struct mtk_eth *eth, const struct net_device *idev) in mtk_flow_is_valid_idev() 276 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace() 530 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 550 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 576 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd() [all …]
|
| H A D | mtk_ppe.c | 61 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp() 144 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry() 185 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2() 199 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2() 212 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_prepare() 279 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth, in mtk_foe_entry_set_pse_port() 297 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv4_tuple() 337 int mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv6_tuple() 370 int mtk_foe_entry_set_dsa(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_dsa() 387 int mtk_foe_entry_set_vlan(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_vlan() [all …]
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 54 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_num_stats_entries() local 64 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_sram_num_entries() local 76 bool airoha_ppe_is_enabled(struct airoha_eth *eth, int index) in airoha_ppe_is_enabled() 93 struct airoha_eth *eth = dev->eth; in airoha_ppe_set_cpu_port() local 106 struct airoha_eth *eth = dev->eth; in airoha_ppe_set_xmit_frame_size() local 134 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() local 223 static void airoha_ppe_flow_mangle_eth(const struct flow_action_entry *act, void *eth) in airoha_ppe_flow_mangle_eth() 342 static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth, in airoha_ppe_foe_entry_prepare() 698 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_get_entry_locked() local 777 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_commit_entry() local [all …]
|
| H A D | airoha_eth.c | 77 struct airoha_eth *eth = dev->eth; in airoha_set_macaddr() local 146 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u32 addr, in airoha_set_gdm_port_fwd_cfg() 162 struct airoha_eth *eth = dev->eth; in airoha_set_vip_for_gdm_port() local 177 static void airoha_fe_maccr_init(struct airoha_eth *eth) in airoha_fe_maccr_init() 197 static void airoha_fe_vip_setup(struct airoha_eth *eth) in airoha_fe_vip_setup() 261 static u32 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_get_pse_queue_rsv_pages() 273 static void airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_set_pse_queue_rsv_pages() 286 static u32 airoha_fe_get_pse_all_rsv(struct airoha_eth *eth) in airoha_fe_get_pse_all_rsv() 291 static int airoha_fe_set_pse_oq_rsv(struct airoha_eth *eth, in airoha_fe_set_pse_oq_rsv() 324 static void airoha_fe_pse_ports_init(struct airoha_eth *eth) in airoha_fe_pse_ports_init() [all …]
|
| H A D | airoha_eth.h | 474 struct ethhdr eth; member 560 struct airoha_eth *eth; member 581 struct airoha_eth *eth; member 616 struct airoha_eth *eth; member 671 #define airoha_fe_rr(eth, offset) \ argument 673 #define airoha_fe_wr(eth, offset, val) \ argument 675 #define airoha_fe_rmw(eth, offset, mask, val) \ argument 677 #define airoha_fe_set(eth, offset, val) \ argument 679 #define airoha_fe_clear(eth, offset, val) \ argument 681 #define airoha_fe_get(eth, offset, mask) \ argument [all …]
|
| /linux/net/ethernet/ |
| H A D | eth.c | 83 struct ethhdr *eth = skb_push(skb, ETH_HLEN); in eth_header() local 128 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() local 158 const struct ethhdr *eth; in eth_type_trans() local 199 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local 216 struct ethhdr *eth; in eth_header_cache() local 261 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | xdping_kern.c | |
| H A D | xdp_redirect_multi_kern.c | 43 struct ethhdr *eth = data; xdp_redirect_map_multi_prog() local 79 struct ethhdr *eth = data; xdp_devmap_prog() local
|
| H A D | test_cls_redirect.h | 52 struct ethhdr eth; member 58 struct ethhdr eth; member
|
| H A D | test_xdp_meta.c | 362 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_data_write() local 392 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_meta_write() local 423 struct ethhdr *eth; in clone_meta_dynptr_survives_data_slice_write() local
|
| H A D | load_bytes_relative.c | 23 struct ethhdr eth; in load_bytes_relative() local
|
| H A D | test_queue_stack_map.h | 32 struct ethhdr *eth = (struct ethhdr *)(data); in _test() local
|
| H A D | xdp_metadata.c | 35 struct ethhdr *eth = NULL; rx() local
|
| H A D | xdp_hw_metadata.c | 35 struct ethhdr *eth; in rx() local
|
| H A D | skb_pkt_end.c | 18 struct ethhdr *eth; in get_iphdr() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | flow_dissector.c | 19 struct ethhdr eth; member 25 struct ethhdr eth; member 32 struct ethhdr eth; member 40 struct ethhdr eth; member 46 struct ethhdr eth; member 58 struct ethhdr eth; member 73 struct ethhdr eth; member
|
| H A D | xdp_context_test_run.c | 141 struct ethhdr eth = { in send_test_packet() local 180 struct ethhdr eth = { in write_test_packet() local 200 struct ethhdr *eth = (void *)pkt; in write_test_packet_udp() local
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | sta_rx.c | 26 struct ethhdr *eth; in nxpwifi_discard_gratuitous_arp() local 70 struct ethhdr *eth; in nxpwifi_process_rx_packet() local
|
| /linux/tools/testing/selftests/net/ |
| H A D | nat6to4.bpf.c | 54 const struct ethhdr * const eth = data; // used iff is_ethernet in sched_cls_ingress6_nat_6_prog() local 155 const struct ethhdr *const eth = data; // used iff is_ethernet in sched_cls_egress4_snat4_prog() local
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_rx.c | 27 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local 78 struct ethhdr *eth; in mwifiex_process_rx_packet() local
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | octeon-platform.c | 483 static void __init octeon_fdt_set_phy(int eth, int phy_addr) in octeon_fdt_set_phy() 610 static void __init _octeon_rx_tx_delay(int eth, int rx_delay, int tx_delay) in _octeon_rx_tx_delay() 618 static void __init octeon_rx_tx_delay(int eth, int iface, int port) in octeon_rx_tx_delay() 652 int eth; in octeon_fdt_pip_port() local 754 int eth; in octeon_fill_mac_addresses() local
|
| /linux/tools/testing/selftests/net/lib/ |
| H A D | xdp_native.bpf.c | 75 struct ethhdr *eth; in filter_udphdr() local 167 struct ethhdr *eth = data; in swap_machdr() local 179 struct ethhdr *eth; in xdp_mode_tx_handler() local 287 struct ethhdr *eth = data; in update_pkt() local
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | network_helpers.h | 52 struct ethhdr eth; member 60 struct ethhdr eth; member
|
| /linux/samples/bpf/ |
| H A D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local
|