| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 289 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 294 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 299 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() 310 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 326 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22() 350 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45() 386 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22() 408 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45() 446 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local 454 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() argument 66 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr() argument 75 mtk_flow_offload_mangle_eth(const struct flow_action_entry *act, void *eth) in mtk_flow_offload_mangle_eth() argument 191 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() argument 248 mtk_flow_offload_replace(struct mtk_eth * eth,struct flow_cls_offload * f,int ppe_index) mtk_flow_offload_replace() argument 502 mtk_flow_offload_destroy(struct mtk_eth * eth,struct flow_cls_offload * f) mtk_flow_offload_destroy() argument 522 mtk_flow_offload_stats(struct mtk_eth * eth,struct flow_cls_offload * f) mtk_flow_offload_stats() argument 548 mtk_flow_offload_cmd(struct mtk_eth * eth,struct flow_cls_offload * cls,int ppe_index) mtk_flow_offload_cmd() argument 579 struct mtk_eth *eth; mtk_eth_setup_tc_block_cb() local 597 struct mtk_eth *eth = mac->hw; mtk_eth_setup_tc_block() local 653 mtk_eth_offload_init(struct mtk_eth * eth,u8 id) mtk_eth_offload_init() argument [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 | 51 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_num_stats_entries() local 61 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_sram_num_entries() local 73 bool airoha_ppe_is_enabled(struct airoha_eth *eth, int index) in airoha_ppe_is_enabled() argument 92 struct airoha_eth *eth = ppe->eth; airoha_ppe_hw_init() local 161 airoha_ppe_flow_mangle_eth(const struct flow_action_entry * act,void * eth) airoha_ppe_flow_mangle_eth() argument 271 airoha_ppe_foe_entry_prepare(struct airoha_eth * eth,struct airoha_foe_entry * hwe,struct net_device * dev,int type,struct airoha_flow_data * data,int l4proto) airoha_ppe_foe_entry_prepare() argument 614 struct airoha_eth *eth = ppe->eth; airoha_ppe_foe_get_entry_locked() local 693 struct airoha_eth *eth = ppe->eth; airoha_ppe_foe_commit_entry() local 1004 airoha_ppe_flow_offload_replace(struct airoha_eth * eth,struct flow_cls_offload * f) airoha_ppe_flow_offload_replace() argument 1204 airoha_ppe_flow_offload_destroy(struct airoha_eth * eth,struct flow_cls_offload * f) airoha_ppe_flow_offload_destroy() argument 1225 struct airoha_eth *eth = ppe->eth; airoha_ppe_foe_entry_get_stats() local 1257 airoha_ppe_flow_offload_stats(struct airoha_eth * eth,struct flow_cls_offload * f) airoha_ppe_flow_offload_stats() argument 1283 airoha_ppe_flow_offload_cmd(struct airoha_eth * eth,struct flow_cls_offload * f) airoha_ppe_flow_offload_cmd() argument 1318 airoha_ppe_npu_get(struct airoha_eth * eth) airoha_ppe_npu_get() argument 1330 airoha_ppe_offload_setup(struct airoha_eth * eth) airoha_ppe_offload_setup() argument 1368 struct airoha_eth *eth = ppe->eth; airoha_ppe_setup_tc_block_cb() local 1404 struct airoha_eth *eth = port->qdma->eth; airoha_ppe_init_upd_mem() local 1427 struct airoha_eth *eth; airoha_ppe_get_dev() local 1471 struct airoha_eth *eth = ppe->eth; airoha_ppe_put_dev() local 1478 airoha_ppe_init(struct airoha_eth * eth) airoha_ppe_init() argument 1548 airoha_ppe_deinit(struct airoha_eth * eth) airoha_ppe_deinit() argument [all...] |
| 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() argument 107 struct airoha_eth *eth = port->qdma->eth; airoha_set_vip_for_gdm_port() local 134 airoha_fe_maccr_init(struct airoha_eth * eth) airoha_fe_maccr_init() argument 149 airoha_fe_vip_setup(struct airoha_eth * eth) airoha_fe_vip_setup() argument 213 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth * eth,u32 port,u32 queue) airoha_fe_get_pse_queue_rsv_pages() argument 227 airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth * eth,u32 port,u32 queue,u32 val) airoha_fe_set_pse_queue_rsv_pages() argument 240 airoha_fe_get_pse_all_rsv(struct airoha_eth * eth) airoha_fe_get_pse_all_rsv() argument 247 airoha_fe_set_pse_oq_rsv(struct airoha_eth * eth,u32 port,u32 queue,u32 val) airoha_fe_set_pse_oq_rsv() argument 281 airoha_fe_pse_ports_init(struct airoha_eth * eth) airoha_fe_pse_ports_init() argument 363 airoha_fe_mc_vlan_clear(struct airoha_eth * eth) airoha_fe_mc_vlan_clear() argument 403 airoha_fe_crsn_qsel_init(struct airoha_eth * eth) airoha_fe_crsn_qsel_init() argument 449 airoha_fe_init(struct airoha_eth * eth) airoha_fe_init() argument 584 airoha_qdma_get_gdm_port(struct airoha_eth * eth,struct airoha_qdma_desc * desc) airoha_qdma_get_gdm_port() argument 608 struct airoha_eth *eth = qdma->eth; airoha_qdma_rx_process() local 750 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_rx_queue() local 797 struct airoha_eth *eth = q->qdma->eth; airoha_qdma_cleanup_rx_queue() local 837 struct airoha_eth *eth; airoha_qdma_tx_napi_poll() local 938 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_tx_queue() local 982 struct airoha_eth *eth = qdma->eth; airoha_qdma_tx_irq_init() local 1028 struct airoha_eth *eth = q->qdma->eth; airoha_qdma_cleanup_tx_queue() local 1052 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_hfwd_queues() local 1305 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_irq_banks() local 1336 airoha_qdma_init(struct platform_device * pdev,struct airoha_eth * eth,struct airoha_qdma * qdma) airoha_qdma_init() argument 1372 airoha_hw_init(struct platform_device * pdev,struct airoha_eth * eth) airoha_hw_init() argument 1467 struct airoha_eth *eth = port->qdma->eth; airoha_update_hw_stats() local 1686 struct airoha_eth *eth = port->qdma->eth; airhoha_set_gdm2_loopback() local 1744 struct airoha_eth *eth = qdma->eth; airoha_dev_init() local 1814 struct airoha_eth *eth = port->qdma->eth; airoha_dev_change_mtu() local 1890 struct airoha_eth *eth = qdma->eth; airoha_get_fe_port() local 2045 struct airoha_eth *eth = port->qdma->eth; airoha_ethtool_get_drvinfo() local 2645 struct airoha_eth *eth = port->qdma->eth; airoha_dev_setup_tc_block_cb() local 2843 airoha_is_valid_gdm_port(struct airoha_eth * eth,struct airoha_gdm_port * port) airoha_is_valid_gdm_port() argument 2856 airoha_alloc_gdm_port(struct airoha_eth * eth,struct device_node * np,int index) airoha_alloc_gdm_port() argument 2933 airoha_register_gdm_devices(struct airoha_eth * eth) airoha_register_gdm_devices() argument 2956 struct airoha_eth *eth; airoha_probe() local 3072 struct airoha_eth *eth = platform_get_drvdata(pdev); airoha_remove() local [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_meta.c | 35 static bool check_smac(const struct ethhdr *eth) in check_smac() 287 struct ethhdr *eth = ctx_ptr(ctx, data); in ing_xdp_zalloc_meta() local 314 struct ethhdr *eth; in ing_xdp() local 351 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_data_write() local 381 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_meta_write() local 412 struct ethhdr *eth; in clone_meta_dynptr_survives_data_slice_write() local 440 const struct ethhdr *eth; in clone_meta_dynptr_survives_meta_slice_write() local 474 const struct ethhdr *eth; in clone_meta_dynptr_rw_before_data_dynptr_write() local 516 const struct ethhdr *eth; in clone_meta_dynptr_rw_before_meta_dynptr_write() local
|
| 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
|
| /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/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/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 | 136 struct ethhdr eth = { in send_test_packet() local 175 struct ethhdr eth = { in write_test_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/ |
| 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/net/lib/ |
| H A D | xdp_native.bpf.c | 74 struct ethhdr *eth = data; filter_udphdr() local 138 struct ethhdr *eth = data; swap_machdr() local 151 struct ethhdr *eth = data; xdp_mode_tx_handler() local 217 struct ethhdr *eth = data; update_pkt() local [all...] |
| /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/drivers/net/ipvlan/ |
| H A D | ipvlan_core.c | 633 struct ethhdr *eth = skb_eth_hdr(skb); in ipvlan_xmit_mode_l2() local 705 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() local 748 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2() local
|
| /linux/samples/bpf/ |
| H A D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local
|