/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 288 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 293 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 298 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() 309 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 325 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22() 349 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45() 385 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22() 407 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45() 445 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local 453 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() 189 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 246 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace() 500 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 520 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 546 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd() 577 struct mtk_eth *eth; in mtk_eth_setup_tc_block_cb() local [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_eth.c | 76 struct airoha_eth *eth = port->qdma->eth; in airoha_set_macaddr() local 91 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u32 addr, in airoha_set_gdm_port_fwd_cfg() 107 struct airoha_eth *eth = port->qdma->eth; in airoha_set_vip_for_gdm_port() local 134 static void airoha_fe_maccr_init(struct airoha_eth *eth) in airoha_fe_maccr_init() 149 static void airoha_fe_vip_setup(struct airoha_eth *eth) in airoha_fe_vip_setup() 213 static u32 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_get_pse_queue_rsv_pages() 227 static void airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_set_pse_queue_rsv_pages() 240 static u32 airoha_fe_get_pse_all_rsv(struct airoha_eth *eth) in airoha_fe_get_pse_all_rsv() 247 static int airoha_fe_set_pse_oq_rsv(struct airoha_eth *eth, in airoha_fe_set_pse_oq_rsv() 281 static void airoha_fe_pse_ports_init(struct airoha_eth *eth) in airoha_fe_pse_ports_init() [all …]
|
H A D | airoha_ppe.c | 34 static bool airoha_ppe2_is_enabled(struct airoha_eth *eth) in airoha_ppe2_is_enabled() 49 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() local 134 static void airoha_ppe_flow_mangle_eth(const struct flow_action_entry *act, void *eth) in airoha_ppe_flow_mangle_eth() 217 static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth, in airoha_ppe_foe_entry_prepare() 506 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_get_entry() local 553 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_commit_entry() local 875 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_replace() local 1070 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_destroy() local 1090 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_entry_get_stats() local 1116 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_stats() local [all …]
|
H A D | airoha_eth.h | 428 struct ethhdr eth; member 505 struct airoha_eth *eth; member 538 struct airoha_eth *eth; member 578 #define airoha_fe_rr(eth, offset) \ argument 580 #define airoha_fe_wr(eth, offset, val) \ argument 582 #define airoha_fe_rmw(eth, offset, mask, val) \ argument 584 #define airoha_fe_set(eth, offset, val) \ argument 586 #define airoha_fe_clear(eth, offset, val) \ argument
|
/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 159 const struct ethhdr *eth; eth_type_trans() local 205 const struct ethhdr *eth = eth_hdr(skb); eth_header_parse() local 221 struct ethhdr *eth; eth_header_cache() local 266 const struct ethhdr *eth = eth_hdr(skb); eth_header_parse_protocol() local [all...] |
/linux/drivers/scsi/fnic/ |
H A D | fip.h | 51 struct ethhdr eth; member 62 struct ethhdr eth; member 69 struct ethhdr eth; member 94 struct ethhdr eth; member 107 struct ethhdr eth; member 138 fnic_debug_dump_fip_frame(struct fnic *fnic, struct ethhdr *eth, in fnic_debug_dump_fip_frame() 155 fnic_debug_dump_fip_frame(struct fnic *fnic, struct ethhdr *eth, in fnic_debug_dump_fip_frame()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 64 struct ethhdr *eth = data; in icmp_check() local 95 struct ethhdr *eth = data; in xdping_client() local 157 struct ethhdr *eth = data; in xdping_server() local
|
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 | 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
|
H A D | xsk_xdp_progs.c | 60 struct ethhdr *eth = data; xsk_xdp_shared_umem() 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 | 131 struct ethhdr eth = { 0 }; in send_test_packet() local 307 struct ethhdr eth = { 0 }; in test_xdp_context_tuntap() local
|
/linux/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 482 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/ |
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/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 46 struct ethhdr eth; global() member 54 struct ethhdr eth; global() member
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx1-apf9328.dts | 57 eth: ethernet@4,c00000 { label
|
/linux/samples/bpf/ |
H A D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local
|