/openbmc/u-boot/drivers/net/ |
H A D | sh_eth.c | 64 static int sh_eth_send_common(struct sh_eth_dev *eth, void *packet, int len) in sh_eth_send_common() 121 static int sh_eth_recv_start(struct sh_eth_dev *eth) in sh_eth_recv_start() 137 static void sh_eth_recv_finish(struct sh_eth_dev *eth) in sh_eth_recv_finish() 157 static int sh_eth_reset(struct sh_eth_dev *eth) in sh_eth_reset() 190 static int sh_eth_tx_desc_init(struct sh_eth_dev *eth) in sh_eth_tx_desc_init() 243 static int sh_eth_rx_desc_init(struct sh_eth_dev *eth) in sh_eth_rx_desc_init() 316 static void sh_eth_tx_desc_free(struct sh_eth_dev *eth) in sh_eth_tx_desc_free() 326 static void sh_eth_rx_desc_free(struct sh_eth_dev *eth) in sh_eth_rx_desc_free() 341 static int sh_eth_desc_init(struct sh_eth_dev *eth) in sh_eth_desc_init() 373 static void sh_eth_mac_regs_config(struct sh_eth_dev *eth, unsigned char *mac) in sh_eth_mac_regs_config() [all …]
|
H A D | ravb.c | 142 struct ravb_priv *eth = dev_get_priv(dev); in ravb_send() local 175 struct ravb_priv *eth = dev_get_priv(dev); in ravb_recv() local 201 struct ravb_priv *eth = dev_get_priv(dev); in ravb_free_pkt() local 218 struct ravb_priv *eth = dev_get_priv(dev); in ravb_reset() local 228 static void ravb_base_desc_init(struct ravb_priv *eth) in ravb_base_desc_init() 245 static void ravb_tx_desc_init(struct ravb_priv *eth) in ravb_tx_desc_init() 269 static void ravb_rx_desc_init(struct ravb_priv *eth) in ravb_rx_desc_init() 301 struct ravb_priv *eth = dev_get_priv(dev); in ravb_phy_config() local 341 struct ravb_priv *eth = dev_get_priv(dev); in ravb_write_hwaddr() local 354 static int ravb_mac_init(struct ravb_priv *eth) in ravb_mac_init() [all …]
|
H A D | bcm-sf2-eth.c | 34 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_init() local 139 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_write_hwaddr() local 150 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_open() local 189 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_close() local 202 struct eth_info *eth; in bcm_sf2_eth_register() local
|
H A D | sandbox-raw.c | 45 struct ethernet_hdr *eth = packet; in sb_eth_raw_send() local 106 struct ethernet_hdr *eth = (void *)net_rx_packets[0]; in sb_eth_raw_recv() local
|
H A D | fec_mxc.c | 88 static int fec_mdio_read(struct ethernet_regs *eth, uint8_t phyaddr, in fec_mdio_read() 152 static void fec_mii_setspeed(struct ethernet_regs *eth) in fec_mii_setspeed() 190 static int fec_mdio_write(struct ethernet_regs *eth, uint8_t phyaddr, in fec_mdio_write() 238 struct ethernet_regs *eth = fec->bus->priv; in miiphy_restart_aneg() local 270 struct ethernet_regs *eth = fec->bus->priv; in miiphy_wait_aneg() local 1056 struct ethernet_regs *eth = (struct ethernet_regs *)base_addr; in fec_get_miibus() local
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 282 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 287 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 292 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() 303 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 319 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22() 343 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45() 379 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22() 401 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45() 439 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local 447 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c45() local [all …]
|
H A D | mtk_eth_path.c | 43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw() 76 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_gmac0_to_gephy() 99 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, u64 path) in set_mux_u3_gmac2_to_qphy() 130 static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac1_gmac2_to_sgmii_rgmii() 168 static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac12_to_gephy_sgmii() 223 static int mtk_eth_mux_setup(struct mtk_eth *eth, u64 path) in mtk_eth_mux_setup() 252 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup() 263 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup() 277 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_rgmii_path_setup()
|
H A D | mtk_ppe_offload.c | 17 struct ethhdr eth; member 55 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr() 64 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr() 73 mtk_flow_offload_mangle_eth(const struct flow_action_entry *act, void *eth) in mtk_flow_offload_mangle_eth() 186 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 240 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace() 481 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 501 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 527 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd() 558 struct mtk_eth *eth; in mtk_eth_setup_tc_block_cb() local [all …]
|
H A D | mtk_ppe.c | 58 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp() 141 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry() 182 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2() 196 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2() 209 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_prepare() 276 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth, in mtk_foe_entry_set_pse_port() 294 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv4_tuple() 334 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 …]
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | ethernet_test.cpp | 40 nlohmann::json::object_t eth; in TEST() local 66 nlohmann::json::object_t eth; in TEST() local 91 nlohmann::json::object_t eth; in TEST() local 112 nlohmann::json::object_t eth; in TEST() local 136 nlohmann::json::object_t eth; in TEST() local 153 nlohmann::json::object_t eth; in TEST() local
|
/openbmc/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; in eth_type_trans() local 205 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local 221 struct ethhdr *eth; in eth_header_cache() local 266 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
|
/openbmc/u-boot/test/dm/ |
H A D | eth.c | 266 struct ethernet_hdr *eth = packet; in sb_check_arp_reply() local 304 struct ethernet_hdr *eth = packet; in sb_with_async_arp_handler() local 351 struct ethernet_hdr *eth = packet; in sb_check_ping_reply() local 389 struct ethernet_hdr *eth = packet; in sb_with_async_ping_handler() local
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 63 struct ethhdr *eth = data; in icmp_check() local 94 struct ethhdr *eth = data; in xdping_client() local 156 struct ethhdr *eth = data; in xdping_server() local
|
H A D | xdp_redirect_multi_kern.c | 43 struct ethhdr *eth = data; in xdp_redirect_map_multi_prog() local 79 struct ethhdr *eth = data; in xdp_devmap_prog() local
|
H A D | test_cls_redirect.h | 52 struct ethhdr eth; member 58 struct ethhdr eth; member
|
/openbmc/linux/samples/bpf/ |
H A D | tc_l2_redirect_kern.c | 63 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_forward() local 114 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_redirect() local 155 struct eth_hdr *eth = data; in _l2_to_ip6tun_ingress_redirect() local 210 struct eth_hdr *eth = data; in _drop_non_tun_vip() local
|
H A D | xdp_adjust_tail_kern.c | 50 struct ethhdr *eth; in swap_mac() local 142 struct ethhdr *eth = data; in _xdp_icmp() local
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector.c | 45 struct ethhdr eth; member 51 struct ethhdr eth; member 58 struct ethhdr eth; member 66 struct ethhdr eth; member 72 struct ethhdr eth; member 84 struct ethhdr eth; member
|
/openbmc/u-boot/drivers/net/mdio/ |
H A D | mdio-uclass.c | 47 int mdio_device_get_from_eth(struct udevice *eth, struct udevice **devp) in mdio_device_get_from_eth() 66 int mdio_mii_bus_get_from_eth(struct udevice *eth, struct mii_dev **busp) in mdio_mii_bus_get_from_eth()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | nat6to4.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
|
/openbmc/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
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 31 struct ethhdr eth; member 39 struct ethhdr eth; member
|
/openbmc/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
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | mcs7830.c | 586 static int mcs7830_init(struct eth_device *eth, bd_t *bd) in mcs7830_init() 602 static int mcs7830_send(struct eth_device *eth, void *packet, int length) in mcs7830_send() 617 static int mcs7830_recv(struct eth_device *eth) in mcs7830_recv() 640 static void mcs7830_halt(struct eth_device *eth) in mcs7830_halt() 654 static int mcs7830_write_mac(struct eth_device *eth) in mcs7830_write_mac() 818 struct eth_device *eth) in mcs7830_eth_get_info()
|
H A D | asix.c | 498 static int asix_init(struct eth_device *eth, bd_t *bd) in asix_init() 505 static int asix_send(struct eth_device *eth, void *packet, int length) in asix_send() 512 static int asix_recv(struct eth_device *eth) in asix_recv() 578 static void asix_halt(struct eth_device *eth) in asix_halt() 583 static int asix_write_hwaddr(struct eth_device *eth) in asix_write_hwaddr() 711 struct eth_device *eth) in asix_eth_get_info()
|