/kernel/linux/linux-6.6/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() argument 284 __raw_writel(val, eth->base + reg); in mtk_w32() 287 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() argument 289 return __raw_readl(eth->base + reg); in mtk_r32() 292 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() argument 296 val = mtk_r32(eth, reg); in mtk_m32() 299 mtk_w32(eth, val, reg); in mtk_m32() 303 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() argument 308 if (!(mtk_r32(eth, MTK_PHY_IAC) & PHY_IAC_ACCESS)) in mtk_mdio_busy_wait() 315 dev_err(eth in mtk_mdio_busy_wait() 319 _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, u32 write_data) _mtk_mdio_write_c22() argument 343 _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, u32 devad, u32 phy_reg, u32 write_data) _mtk_mdio_write_c45() argument 379 _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) _mtk_mdio_read_c22() argument 401 _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, u32 devad, u32 phy_reg) _mtk_mdio_read_c45() argument 439 struct mtk_eth *eth = bus->priv; mtk_mdio_write_c22() local 447 struct mtk_eth *eth = bus->priv; mtk_mdio_write_c45() local 454 struct mtk_eth *eth = bus->priv; mtk_mdio_read_c22() local 462 struct mtk_eth *eth = bus->priv; mtk_mdio_read_c45() local 467 mt7621_gmac0_rgmii_adjust(struct mtk_eth *eth, phy_interface_t interface) mt7621_gmac0_rgmii_adjust() argument 481 mtk_gmac0_rgmii_adjust(struct mtk_eth *eth, phy_interface_t interface) mtk_gmac0_rgmii_adjust() argument 497 mtk_setup_bridge_switch(struct mtk_eth *eth) mtk_setup_bridge_switch() argument 515 struct mtk_eth *eth = mac->hw; mtk_mac_select_pcs() local 534 struct mtk_eth *eth = mac->hw; mtk_mac_config() local 666 struct mtk_eth *eth = mac->hw; mtk_mac_finish() local 699 mtk_set_queue_speed(struct mtk_eth *eth, unsigned int idx, int speed) mtk_set_queue_speed() argument 816 mtk_mdio_init(struct mtk_eth *eth) mtk_mdio_init() argument 879 mtk_mdio_cleanup(struct mtk_eth *eth) mtk_mdio_cleanup() argument 887 mtk_tx_irq_disable(struct mtk_eth *eth, u32 mask) mtk_tx_irq_disable() argument 898 mtk_tx_irq_enable(struct mtk_eth *eth, u32 mask) mtk_tx_irq_enable() argument 909 mtk_rx_irq_disable(struct mtk_eth *eth, u32 mask) mtk_rx_irq_disable() argument 920 mtk_rx_irq_enable(struct mtk_eth *eth, u32 mask) mtk_rx_irq_enable() argument 935 struct mtk_eth *eth = mac->hw; mtk_set_mac_address() local 966 struct mtk_eth *eth = mac->hw; mtk_stats_update_mac() local 1031 mtk_stats_update(struct mtk_eth *eth) mtk_stats_update() argument 1099 mtk_rx_get_desc(struct mtk_eth *eth, struct mtk_rx_dma_v2 *rxd, struct mtk_rx_dma_v2 *dma_rxd) mtk_rx_get_desc() argument 1129 mtk_init_fq_dma(struct mtk_eth *eth) mtk_init_fq_dma() argument 1210 mtk_tx_unmap(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, struct xdp_frame_bulk *bq, bool napi) mtk_tx_unmap() argument 1264 setup_tx_buf(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, struct mtk_tx_dma *txd, dma_addr_t mapped_addr, size_t size, int idx) setup_tx_buf() argument 1291 struct mtk_eth *eth = mac->hw; mtk_tx_set_dma_desc_v1() local 1322 struct mtk_eth *eth = mac->hw; mtk_tx_set_dma_desc_v2() local 1377 struct mtk_eth *eth = mac->hw; mtk_tx_set_dma_desc() local 1400 struct mtk_eth *eth = mac->hw; mtk_tx_map() local 1537 mtk_cal_txd_req(struct mtk_eth *eth, struct sk_buff *skb) mtk_cal_txd_req() argument 1555 mtk_queue_stopped(struct mtk_eth *eth) mtk_queue_stopped() argument 1569 mtk_wake_queue(struct mtk_eth *eth) mtk_wake_queue() argument 1583 struct mtk_eth *eth = mac->hw; mtk_start_xmit() local 1639 mtk_get_rx_ring(struct mtk_eth *eth) mtk_get_rx_ring() argument 1663 mtk_update_rx_cpu_idx(struct mtk_eth *eth) mtk_update_rx_cpu_idx() argument 1682 mtk_page_pool_enabled(struct mtk_eth *eth) mtk_page_pool_enabled() argument 1687 mtk_create_page_pool(struct mtk_eth *eth, struct xdp_rxq_info *xdp_q, int id, int size) mtk_create_page_pool() argument 1750 mtk_xdp_frame_map(struct mtk_eth *eth, struct net_device *dev, struct mtk_tx_dma_desc_info *txd_info, struct mtk_tx_dma *txd, struct mtk_tx_buf *tx_buf, void *data, u16 headroom, int index, bool dma_map) mtk_xdp_frame_map() argument 1787 mtk_xdp_submit_frame(struct mtk_eth *eth, struct xdp_frame *xdpf, struct net_device *dev, bool dma_map) mtk_xdp_submit_frame() argument 1912 struct mtk_eth *eth = mac->hw; mtk_xdp_xmit() local 1932 mtk_xdp_run(struct mtk_eth *eth, struct mtk_rx_ring *ring, struct xdp_buff *xdp, struct net_device *dev) mtk_xdp_run() argument 1995 mtk_poll_rx(struct napi_struct *napi, int budget, struct mtk_eth *eth) mtk_poll_rx() argument 2225 mtk_poll_tx_done(struct mtk_eth *eth, struct mtk_poll_state *state, u8 mac, struct sk_buff *skb) mtk_poll_tx_done() argument 2255 mtk_poll_tx_qdma(struct mtk_eth *eth, int budget, struct mtk_poll_state *state) mtk_poll_tx_qdma() argument 2305 mtk_poll_tx_pdma(struct mtk_eth *eth, int budget, struct mtk_poll_state *state) mtk_poll_tx_pdma() argument 2343 mtk_poll_tx(struct mtk_eth *eth, int budget) mtk_poll_tx() argument 2368 mtk_handle_status_irq(struct mtk_eth *eth) mtk_handle_status_irq() argument 2381 struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi); mtk_napi_tx() local 2411 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); mtk_napi_rx() local 2444 mtk_tx_alloc(struct mtk_eth *eth) mtk_tx_alloc() argument 2557 mtk_tx_clean(struct mtk_eth *eth) mtk_tx_clean() argument 2584 mtk_rx_alloc(struct mtk_eth *eth, int ring_no, int rx_flag) mtk_rx_alloc() argument 2731 mtk_rx_clean(struct mtk_eth *eth, struct mtk_rx_ring *ring, bool in_sram) mtk_rx_clean() argument 2773 mtk_hwlro_rx_init(struct mtk_eth *eth) mtk_hwlro_rx_init() argument 2833 mtk_hwlro_rx_uninit(struct mtk_eth *eth) mtk_hwlro_rx_uninit() argument 2859 mtk_hwlro_val_ipaddr(struct mtk_eth *eth, int idx, __be32 ip) mtk_hwlro_val_ipaddr() argument 2874 mtk_hwlro_inval_ipaddr(struct mtk_eth *eth, int idx) mtk_hwlro_inval_ipaddr() argument 2905 struct mtk_eth *eth = mac->hw; mtk_hwlro_add_ipaddr() local 2929 struct mtk_eth *eth = mac->hw; mtk_hwlro_del_ipaddr() local 2948 struct mtk_eth *eth = mac->hw; mtk_hwlro_netdev_disable() local 3039 mtk_dma_busy_wait(struct mtk_eth *eth) mtk_dma_busy_wait() argument 3059 mtk_dma_init(struct mtk_eth *eth) mtk_dma_init() argument 3113 mtk_dma_free(struct mtk_eth *eth) mtk_dma_free() argument 3141 mtk_hw_reset_check(struct mtk_eth *eth) mtk_hw_reset_check() argument 3153 struct mtk_eth *eth = mac->hw; mtk_tx_timeout() local 3169 struct mtk_eth *eth = _eth; mtk_handle_irq_rx() local 3182 struct mtk_eth *eth = _eth; mtk_handle_irq_tx() local 3195 struct mtk_eth *eth = _eth; mtk_handle_irq() local 3216 struct mtk_eth *eth = mac->hw; mtk_poll_controller() local 3226 mtk_start_dma(struct mtk_eth *eth) mtk_start_dma() argument 3265 mtk_gdm_config(struct mtk_eth *eth, u32 config) mtk_gdm_config() argument 3312 struct mtk_eth *eth = mac->hw; mtk_device_event() local 3354 struct mtk_eth *eth = mac->hw; mtk_open() local 3428 mtk_stop_dma(struct mtk_eth *eth, u32 glo_cfg) mtk_stop_dma() argument 3454 struct mtk_eth *eth = mac->hw; mtk_stop() local 3493 struct mtk_eth *eth = mac->hw; mtk_xdp_setup() local 3531 ethsys_reset(struct mtk_eth *eth, u32 reset_bits) ethsys_reset() argument 3544 mtk_clk_disable(struct mtk_eth *eth) mtk_clk_disable() argument 3552 mtk_clk_enable(struct mtk_eth *eth) mtk_clk_enable() argument 3574 struct mtk_eth *eth = container_of(dim, struct mtk_eth, rx_dim); mtk_dim_rx() local 3605 struct mtk_eth *eth = container_of(dim, struct mtk_eth, tx_dim); mtk_dim_tx() local 3635 struct mtk_eth *eth = mac->hw; mtk_set_mcr_max_rx() local 3657 mtk_hw_reset(struct mtk_eth *eth) mtk_hw_reset() argument 3693 mtk_hw_reset_read(struct mtk_eth *eth) mtk_hw_reset_read() argument 3701 mtk_hw_warm_reset(struct mtk_eth *eth) mtk_hw_warm_reset() argument 3748 mtk_hw_check_dma_hang(struct mtk_eth *eth) mtk_hw_check_dma_hang() argument 3829 struct mtk_eth *eth = container_of(del_work, struct mtk_eth, mtk_hw_reset_monitor_work() local 3844 mtk_hw_init(struct mtk_eth *eth, bool reset) mtk_hw_init() argument 4018 mtk_hw_deinit(struct mtk_eth *eth) mtk_hw_deinit() argument 4034 struct mtk_eth *eth = mac->hw; mtk_uninit() local 4045 struct mtk_eth *eth = mac->hw; mtk_change_mtu() local 4075 mtk_prepare_for_reset(struct mtk_eth *eth) mtk_prepare_for_reset() argument 4108 struct mtk_eth *eth = container_of(work, struct mtk_eth, pending_work); mtk_pending_work() local 4171 mtk_free_dev(struct mtk_eth *eth) mtk_free_dev() argument 4190 mtk_unreg_dev(struct mtk_eth *eth) mtk_unreg_dev() argument 4207 mtk_sgmii_destroy(struct mtk_eth *eth) mtk_sgmii_destroy() argument 4215 mtk_cleanup(struct mtk_eth *eth) mtk_cleanup() argument 4322 mtk_ethtool_pp_stats(struct mtk_eth *eth, u64 *data) mtk_ethtool_pp_stats() argument 4480 mtk_add_mac(struct mtk_eth *eth, struct device_node *np) mtk_add_mac() argument 4663 mtk_eth_set_dma_device(struct mtk_eth *eth, struct device *dma_dev) mtk_eth_set_dma_device() argument 4692 mtk_sgmii_init(struct mtk_eth *eth) mtk_sgmii_init() argument 4726 struct mtk_eth *eth; mtk_probe() local 5009 struct mtk_eth *eth = platform_get_drvdata(pdev); mtk_remove() local [all...] |
H A D | mtk_eth_path.c | 18 int (*set_path)(struct mtk_eth *eth, u64 path); 43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw() argument 62 if (mtk_is_netsys_v3_or_greater(eth)) in set_mux_gdm1_to_gmac1_esw() 68 mtk_m32(eth, mask, set, reg); in set_mux_gdm1_to_gmac1_esw() 70 dev_dbg(eth->dev, "path %s in %s updated = %d\n", 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() argument 91 regmap_update_bits(eth->infra, INFRA_MISC2, GEPHY_MAC_SEL, val); in set_mux_gmac2_gmac0_to_gephy() 93 dev_dbg(eth->dev, "path %s in %s updated = %d\n", 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() argument 106 if (MTK_HAS_CAPS(eth in set_mux_u3_gmac2_to_qphy() 130 set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, u64 path) set_mux_gmac1_gmac2_to_sgmii_rgmii() argument 168 set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path) set_mux_gmac12_to_gephy_sgmii() argument 223 mtk_eth_mux_setup(struct mtk_eth *eth, u64 path) mtk_eth_mux_setup() argument 252 mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) mtk_gmac_sgmii_path_setup() argument 263 mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) mtk_gmac_gephy_path_setup() argument 277 mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) mtk_gmac_rgmii_path_setup() argument [all...] |
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() argument 58 return mtk_foe_entry_set_ipv4_tuple(eth, foe, egress, 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() argument 67 return mtk_foe_entry_set_ipv6_tuple(eth, 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() argument 75 void *dest = eth + act->mangle.offset; 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() argument 194 mtk_foe_entry_set_wdma(eth, foe, info.wdma_idx, info.queue, in mtk_flow_set_output_device() 196 if (mtk_is_netsys_v2_or_greater(eth)) { in mtk_flow_set_output_device() 240 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, int ppe_index) mtk_flow_offload_replace() argument 481 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) mtk_flow_offload_destroy() argument 501 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) mtk_flow_offload_stats() argument 527 mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, int ppe_index) mtk_flow_offload_cmd() argument 558 struct mtk_eth *eth; mtk_eth_setup_tc_block_cb() local 576 struct mtk_eth *eth = mac->hw; mtk_eth_setup_tc_block() local 632 mtk_eth_offload_init(struct mtk_eth *eth) mtk_eth_offload_init() argument [all...] |
H A D | mtk_ppe.c | 58 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp() argument 60 return mtk_r32(eth, 0x0010) & mtk_get_ib1_ts_mask(eth); in mtk_eth_timestamp() 109 if (mtk_is_netsys_v3_or_greater(ppe->eth)) { in mtk_mib_entry_read() 141 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry() argument 146 switch (mtk_get_ib1_pkt_type(eth, e->ib1)) { in mtk_ppe_hash_entry() 175 hash <<= (ffs(eth->soc->hash_offset) - 1); in mtk_ppe_hash_entry() 182 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2() argument 184 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_l2() 196 mtk_foe_entry_ib2(struct mtk_eth *eth, struc argument 209 mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, int type, int l4proto, u8 pse_port, u8 *src_mac, u8 *dest_mac) mtk_foe_entry_prepare() argument 276 mtk_foe_entry_set_pse_port(struct mtk_eth *eth, struct mtk_foe_entry *entry, u8 port) mtk_foe_entry_set_pse_port() argument 294 mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, struct mtk_foe_entry *entry, bool egress, __be32 src_addr, __be16 src_port, __be32 dest_addr, __be16 dest_port) mtk_foe_entry_set_ipv4_tuple() argument 334 mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth, struct mtk_foe_entry *entry, __be32 *src_addr, __be16 src_port, __be32 *dest_addr, __be16 dest_port) mtk_foe_entry_set_ipv6_tuple() argument 370 mtk_foe_entry_set_dsa(struct mtk_eth *eth, struct mtk_foe_entry *entry, int port) mtk_foe_entry_set_dsa() argument 387 mtk_foe_entry_set_vlan(struct mtk_eth *eth, struct mtk_foe_entry *entry, int vid) mtk_foe_entry_set_vlan() argument 412 mtk_foe_entry_set_pppoe(struct mtk_eth *eth, struct mtk_foe_entry *entry, int sid) mtk_foe_entry_set_pppoe() argument 427 mtk_foe_entry_set_wdma(struct mtk_eth *eth, struct mtk_foe_entry *entry, int wdma_idx, int txq, int bss, int wcid) mtk_foe_entry_set_wdma() argument 462 mtk_foe_entry_set_queue(struct mtk_eth *eth, struct mtk_foe_entry *entry, unsigned int queue) mtk_foe_entry_set_queue() argument 481 mtk_flow_entry_match(struct mtk_eth *eth, struct mtk_flow_entry *entry, struct mtk_foe_entry *data) mtk_flow_entry_match() argument 618 struct mtk_eth *eth = ppe->eth; __mtk_foe_entry_commit() local 875 mtk_ppe_init(struct mtk_eth *eth, void __iomem *base, int index) mtk_ppe_init() argument 941 mtk_ppe_deinit(struct mtk_eth *eth) mtk_ppe_deinit() argument [all...] |
H A D | mtk_eth_soc.h | 330 #define TX_DMA_PLEN0(x) (((x) & eth->soc->txrx.dma_max_len) << eth->soc->txrx.dma_len_offset) 331 #define TX_DMA_PLEN1(x) ((x) & eth->soc->txrx.dma_max_len) 351 #define RX_DMA_PREP_PLEN0(x) (((x) & eth->soc->txrx.dma_max_len) << eth->soc->txrx.dma_len_offset) 352 #define RX_DMA_GET_PLEN0(x) (((x) >> eth->soc->txrx.dma_len_offset) & eth->soc->txrx.dma_max_len) 1329 static inline bool mtk_is_netsys_v1(struct mtk_eth *eth) in mtk_is_netsys_v1() argument 1331 return eth->soc->version == 1; in mtk_is_netsys_v1() 1334 static inline bool mtk_is_netsys_v2_or_greater(struct mtk_eth *eth) in mtk_is_netsys_v2_or_greater() argument 1339 mtk_is_netsys_v3_or_greater(struct mtk_eth *eth) mtk_is_netsys_v3_or_greater() argument 1352 mtk_get_ib1_ts_mask(struct mtk_eth *eth) mtk_get_ib1_ts_mask() argument 1360 mtk_get_ib1_ppoe_mask(struct mtk_eth *eth) mtk_get_ib1_ppoe_mask() argument 1368 mtk_get_ib1_vlan_tag_mask(struct mtk_eth *eth) mtk_get_ib1_vlan_tag_mask() argument 1376 mtk_get_ib1_vlan_layer_mask(struct mtk_eth *eth) mtk_get_ib1_vlan_layer_mask() argument 1384 mtk_prep_ib1_vlan_layer(struct mtk_eth *eth, u32 val) mtk_prep_ib1_vlan_layer() argument 1392 mtk_get_ib1_vlan_layer(struct mtk_eth *eth, u32 val) mtk_get_ib1_vlan_layer() argument 1400 mtk_get_ib1_pkt_type_mask(struct mtk_eth *eth) mtk_get_ib1_pkt_type_mask() argument 1408 mtk_get_ib1_pkt_type(struct mtk_eth *eth, u32 val) mtk_get_ib1_pkt_type() argument 1416 mtk_get_ib2_multicast_mask(struct mtk_eth *eth) mtk_get_ib2_multicast_mask() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 58 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() argument 60 __raw_writel(val, eth->base + reg); in mtk_w32() 63 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() argument 65 return __raw_readl(eth->base + reg); in mtk_r32() 68 static u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned reg) in mtk_m32() argument 72 val = mtk_r32(eth, reg); in mtk_m32() 75 mtk_w32(eth, val, reg); in mtk_m32() 79 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() argument 84 if (!(mtk_r32(eth, MTK_PHY_IAC) & PHY_IAC_ACCESS)) in mtk_mdio_busy_wait() 91 dev_err(eth in mtk_mdio_busy_wait() 95 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr, u32 phy_register, u32 write_data) _mtk_mdio_write() argument 114 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg) _mtk_mdio_read() argument 137 struct mtk_eth *eth = bus->priv; mtk_mdio_write() local 144 struct mtk_eth *eth = bus->priv; mtk_mdio_read() local 149 mt7621_gmac0_rgmii_adjust(struct mtk_eth *eth, phy_interface_t interface) mt7621_gmac0_rgmii_adjust() argument 174 mtk_gmac0_rgmii_adjust(struct mtk_eth *eth, phy_interface_t interface, int speed) mtk_gmac0_rgmii_adjust() argument 216 struct mtk_eth *eth = mac->hw; mtk_mac_config() local 560 mtk_mdio_init(struct mtk_eth *eth) mtk_mdio_init() argument 596 mtk_mdio_cleanup(struct mtk_eth *eth) mtk_mdio_cleanup() argument 604 mtk_tx_irq_disable(struct mtk_eth *eth, u32 mask) mtk_tx_irq_disable() argument 615 mtk_tx_irq_enable(struct mtk_eth *eth, u32 mask) mtk_tx_irq_enable() argument 626 mtk_rx_irq_disable(struct mtk_eth *eth, u32 mask) mtk_rx_irq_disable() argument 637 mtk_rx_irq_enable(struct mtk_eth *eth, u32 mask) mtk_rx_irq_enable() argument 652 struct mtk_eth *eth = mac->hw; mtk_set_mac_address() local 683 struct mtk_eth *eth = mac->hw; mtk_stats_update_mac() local 733 mtk_stats_update(struct mtk_eth *eth) mtk_stats_update() argument 822 mtk_init_fq_dma(struct mtk_eth *eth) mtk_init_fq_dma() argument 893 mtk_tx_unmap(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf) mtk_tx_unmap() argument 930 setup_tx_buf(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, struct mtk_tx_dma *txd, dma_addr_t mapped_addr, size_t size, int idx) setup_tx_buf() argument 957 struct mtk_eth *eth = mac->hw; mtk_tx_map() local 1136 mtk_queue_stopped(struct mtk_eth *eth) mtk_queue_stopped() argument 1150 mtk_wake_queue(struct mtk_eth *eth) mtk_wake_queue() argument 1161 mtk_stop_queue(struct mtk_eth *eth) mtk_stop_queue() argument 1175 struct mtk_eth *eth = mac->hw; mtk_start_xmit() local 1231 mtk_get_rx_ring(struct mtk_eth *eth) mtk_get_rx_ring() argument 1252 mtk_update_rx_cpu_idx(struct mtk_eth *eth) mtk_update_rx_cpu_idx() argument 1271 mtk_poll_rx(struct napi_struct *napi, int budget, struct mtk_eth *eth) mtk_poll_rx() argument 1390 mtk_poll_tx_qdma(struct mtk_eth *eth, int budget, unsigned int *done, unsigned int *bytes) mtk_poll_tx_qdma() argument 1438 mtk_poll_tx_pdma(struct mtk_eth *eth, int budget, unsigned int *done, unsigned int *bytes) mtk_poll_tx_pdma() argument 1476 mtk_poll_tx(struct mtk_eth *eth, int budget) mtk_poll_tx() argument 1505 mtk_handle_status_irq(struct mtk_eth *eth) mtk_handle_status_irq() argument 1518 struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi); mtk_napi_tx() local 1550 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); mtk_napi_rx() local 1582 mtk_tx_alloc(struct mtk_eth *eth) mtk_tx_alloc() argument 1657 mtk_tx_clean(struct mtk_eth *eth) mtk_tx_clean() argument 1686 mtk_rx_alloc(struct mtk_eth *eth, int ring_no, int rx_flag) mtk_rx_alloc() argument 1763 mtk_rx_clean(struct mtk_eth *eth, struct mtk_rx_ring *ring) mtk_rx_clean() argument 1792 mtk_hwlro_rx_init(struct mtk_eth *eth) mtk_hwlro_rx_init() argument 1852 mtk_hwlro_rx_uninit(struct mtk_eth *eth) mtk_hwlro_rx_uninit() argument 1878 mtk_hwlro_val_ipaddr(struct mtk_eth *eth, int idx, __be32 ip) mtk_hwlro_val_ipaddr() argument 1893 mtk_hwlro_inval_ipaddr(struct mtk_eth *eth, int idx) mtk_hwlro_inval_ipaddr() argument 1924 struct mtk_eth *eth = mac->hw; mtk_hwlro_add_ipaddr() local 1948 struct mtk_eth *eth = mac->hw; mtk_hwlro_del_ipaddr() local 1967 struct mtk_eth *eth = mac->hw; mtk_hwlro_netdev_disable() local 2061 mtk_dma_busy_wait(struct mtk_eth *eth) mtk_dma_busy_wait() argument 2084 mtk_dma_init(struct mtk_eth *eth) mtk_dma_init() argument 2138 mtk_dma_free(struct mtk_eth *eth) mtk_dma_free() argument 2169 struct mtk_eth *eth = mac->hw; mtk_tx_timeout() local 2179 struct mtk_eth *eth = _eth; mtk_handle_irq_rx() local 2191 struct mtk_eth *eth = _eth; mtk_handle_irq_tx() local 2203 struct mtk_eth *eth = _eth; mtk_handle_irq() local 2221 struct mtk_eth *eth = mac->hw; mtk_poll_controller() local 2231 mtk_start_dma(struct mtk_eth *eth) mtk_start_dma() argument 2263 mtk_gdm_config(struct mtk_eth *eth, u32 config) mtk_gdm_config() argument 2291 struct mtk_eth *eth = mac->hw; mtk_open() local 2326 mtk_stop_dma(struct mtk_eth *eth, u32 glo_cfg) mtk_stop_dma() argument 2352 struct mtk_eth *eth = mac->hw; mtk_stop() local 2380 ethsys_reset(struct mtk_eth *eth, u32 reset_bits) ethsys_reset() argument 2393 mtk_clk_disable(struct mtk_eth *eth) mtk_clk_disable() argument 2401 mtk_clk_enable(struct mtk_eth *eth) mtk_clk_enable() argument 2420 mtk_hw_init(struct mtk_eth *eth) mtk_hw_init() argument 2506 mtk_hw_deinit(struct mtk_eth *eth) mtk_hw_deinit() argument 2522 struct mtk_eth *eth = mac->hw; mtk_init() local 2542 struct mtk_eth *eth = mac->hw; mtk_uninit() local 2567 struct mtk_eth *eth = container_of(work, struct mtk_eth, pending_work); mtk_pending_work() local 2617 mtk_free_dev(struct mtk_eth *eth) mtk_free_dev() argument 2630 mtk_unreg_dev(struct mtk_eth *eth) mtk_unreg_dev() argument 2643 mtk_cleanup(struct mtk_eth *eth) mtk_cleanup() argument 2854 mtk_add_mac(struct mtk_eth *eth, struct device_node *np) mtk_add_mac() argument 2958 struct mtk_eth *eth; mtk_probe() local 3144 struct mtk_eth *eth = platform_get_drvdata(pdev); mtk_remove() local [all...] |
H A D | mtk_eth_path.c | 18 int (*set_path)(struct mtk_eth *eth, int path); 43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path) in set_mux_gdm1_to_gmac1_esw() argument 63 val = mtk_r32(eth, MTK_MAC_MISC); in set_mux_gdm1_to_gmac1_esw() 65 mtk_w32(eth, val, MTK_MAC_MISC); in set_mux_gdm1_to_gmac1_esw() 68 dev_dbg(eth->dev, "path %s in %s updated = %d\n", in set_mux_gdm1_to_gmac1_esw() 74 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, int path) in set_mux_gmac2_gmac0_to_gephy() argument 89 regmap_update_bits(eth->infra, INFRA_MISC2, GEPHY_MAC_SEL, val); in set_mux_gmac2_gmac0_to_gephy() 91 dev_dbg(eth->dev, "path %s in %s updated = %d\n", in set_mux_gmac2_gmac0_to_gephy() 97 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, int path) in set_mux_u3_gmac2_to_qphy() argument 112 regmap_update_bits(eth in set_mux_u3_gmac2_to_qphy() 120 set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, int path) set_mux_gmac1_gmac2_to_sgmii_rgmii() argument 158 set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, int path) set_mux_gmac12_to_gephy_sgmii() argument 213 mtk_eth_mux_setup(struct mtk_eth *eth, int path) mtk_eth_mux_setup() argument 242 mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) mtk_gmac_sgmii_path_setup() argument 257 mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) mtk_gmac_gephy_path_setup() argument 275 mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) mtk_gmac_rgmii_path_setup() argument [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | tc_l2_redirect_kern.c | 63 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_forward() local 69 if (data + sizeof(*eth) > data_end) in _l2_to_iptun_ingress_forward() 76 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_iptun_ingress_forward() 78 struct iphdr *iph = data + sizeof(*eth); in _l2_to_iptun_ingress_forward() 80 if (data + sizeof(*eth) + sizeof(*iph) > data_end) in _l2_to_iptun_ingress_forward() 89 } else if (eth->h_proto == htons(ETH_P_IPV6)) { in _l2_to_iptun_ingress_forward() 91 struct ipv6hdr *ip6h = data + sizeof(*eth); in _l2_to_iptun_ingress_forward() 93 if (data + sizeof(*eth) + sizeof(*ip6h) > data_end) in _l2_to_iptun_ingress_forward() 114 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_redirect() local 120 if (data + sizeof(*eth) > data_en in _l2_to_iptun_ingress_redirect() 155 struct eth_hdr *eth = data; _l2_to_ip6tun_ingress_redirect() local 210 struct eth_hdr *eth = data; _drop_non_tun_vip() local [all...] |
H A D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local 31 struct iphdr *iph = data + sizeof(*eth); in handle_ingress() 32 struct udphdr *udp = data + sizeof(*eth) + sizeof(*iph); in handle_ingress() 36 if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*udp) > data_end) in handle_ingress() 39 if (eth->h_proto != htons(ETH_P_IP)) in handle_ingress()
|
H A D | xdp_redirect_cpu_kern.c | 115 bool parse_eth(struct ethhdr *eth, void *data_end, in parse_eth() argument 121 offset = sizeof(*eth); in parse_eth() 122 if ((void *)eth + offset > data_end) in parse_eth() 125 eth_type = eth->h_proto; in parse_eth() 135 vlan_hdr = (void *)eth + offset; in parse_eth() 137 if ((void *)eth + offset > data_end) in parse_eth() 145 vlan_hdr = (void *)eth + offset; in parse_eth() 147 if ((void *)eth + offset > data_end) in parse_eth() 238 struct ethhdr *eth = data; in xdp_prognum1_touch_data() local 252 if (eth in xdp_prognum1_touch_data() 281 struct ethhdr *eth = data; xdp_prognum2_round_robin() local 329 struct ethhdr *eth = data; xdp_prognum3_proto_separate() local 397 struct ethhdr *eth = data; xdp_prognum4_ddos_filter_pktgen() local 517 struct ethhdr *eth = data; xdp_prognum5_lb_hash_ip_pairs() local [all...] |
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | tc_l2_redirect_kern.c | 63 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_forward() local 69 if (data + sizeof(*eth) > data_end) in _l2_to_iptun_ingress_forward() 76 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_iptun_ingress_forward() 78 struct iphdr *iph = data + sizeof(*eth); in _l2_to_iptun_ingress_forward() 80 if (data + sizeof(*eth) + sizeof(*iph) > data_end) in _l2_to_iptun_ingress_forward() 89 } else if (eth->h_proto == htons(ETH_P_IPV6)) { in _l2_to_iptun_ingress_forward() 91 struct ipv6hdr *ip6h = data + sizeof(*eth); in _l2_to_iptun_ingress_forward() 93 if (data + sizeof(*eth) + sizeof(*ip6h) > data_end) in _l2_to_iptun_ingress_forward() 114 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_redirect() local 120 if (data + sizeof(*eth) > data_en in _l2_to_iptun_ingress_redirect() 155 struct eth_hdr *eth = data; _l2_to_ip6tun_ingress_redirect() local 210 struct eth_hdr *eth = data; _drop_non_tun_vip() local [all...] |
H A D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local 31 struct iphdr *iph = data + sizeof(*eth); in handle_ingress() 32 struct udphdr *udp = data + sizeof(*eth) + sizeof(*iph); in handle_ingress() 36 if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*udp) > data_end) in handle_ingress() 39 if (eth->h_proto != htons(ETH_P_IP)) in handle_ingress()
|
H A D | test_cgrp2_tc.bpf.c | 31 struct eth_hdr *eth = data; in handle_egress() local 32 struct ipv6hdr *ip6h = data + sizeof(*eth); in handle_egress() 39 if (data + sizeof(*eth) + sizeof(*ip6h) > data_end) in handle_egress() 42 if (eth->h_proto != bpf_htons(ETH_P_IPV6) || in handle_egress() 45 eth->h_proto, ip6h->nexthdr); in handle_egress()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
H A D | Makefile | 6 obj-$(CONFIG_FSL_DPAA2_ETH) += fsl-dpaa2-eth.o 9 fsl-dpaa2-eth-objs := dpaa2-eth.o dpaa2-ethtool.o dpni.o dpaa2-mac.o dpmac.o dpaa2-eth-devlink.o 10 fsl-dpaa2-eth-${CONFIG_FSL_DPAA2_ETH_DCB} += dpaa2-eth-dcb.o 11 fsl-dpaa2-eth-${CONFIG_DEBUG_FS} += dpaa2-eth-debugfs.o 15 CFLAGS_dpaa2-eth.o := -I$(src)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | Makefile | 6 obj-$(CONFIG_FSL_DPAA2_ETH) += fsl-dpaa2-eth.o 10 fsl-dpaa2-eth-objs := dpaa2-eth.o dpaa2-ethtool.o dpni.o dpaa2-mac.o dpmac.o dpaa2-eth-devlink.o dpaa2-xsk.o 11 fsl-dpaa2-eth-${CONFIG_FSL_DPAA2_ETH_DCB} += dpaa2-eth-dcb.o 12 fsl-dpaa2-eth-${CONFIG_DEBUG_FS} += dpaa2-eth-debugfs.o 17 CFLAGS_dpaa2-eth.o := -I$(src)
|
/kernel/linux/linux-5.10/net/ethernet/ |
H A D | eth.c | 9 * Version: @(#)eth.c 1.0.7 05/25/93 83 struct ethhdr *eth = skb_push(skb, ETH_HLEN); in eth_header() local 86 eth->h_proto = htons(type); in eth_header() 88 eth->h_proto = htons(len); in eth_header() 96 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header() 99 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header() 108 eth_zero_addr(eth->h_dest); in eth_header() 128 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() local 132 if (unlikely(len < sizeof(*eth))) in eth_get_headlen() 137 eth in eth_get_headlen() 159 const struct ethhdr *eth; eth_type_trans() local 219 const struct ethhdr *eth = eth_hdr(skb); eth_header_parse() local 235 struct ethhdr *eth; eth_header_cache() local 280 const struct ethhdr *eth = eth_hdr(skb); eth_header_parse_protocol() local [all...] |
/kernel/linux/linux-6.6/net/ethernet/ |
H A D | eth.c | 9 * Version: @(#)eth.c 1.0.7 05/25/93 83 struct ethhdr *eth = skb_push(skb, ETH_HLEN); in eth_header() local 86 eth->h_proto = htons(type); in eth_header() 88 eth->h_proto = htons(len); in eth_header() 96 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header() 99 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header() 108 eth_zero_addr(eth->h_dest); in eth_header() 128 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() local 132 if (unlikely(len < sizeof(*eth))) in eth_get_headlen() 137 eth in eth_get_headlen() 159 const struct ethhdr *eth; eth_type_trans() local 215 const struct ethhdr *eth = eth_hdr(skb); eth_header_parse() local 231 struct ethhdr *eth; eth_header_cache() local 276 const struct ethhdr *eth = eth_hdr(skb); eth_header_parse_protocol() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 93 memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN); in create_iboe_ah() 94 eth_zero_addr(ah->av.eth.s_mac); in create_iboe_ah() 103 &ah->av.eth.s_mac[0]); in create_iboe_ah() 110 ah->av.eth.gid_index = ret; in create_iboe_ah() 113 ah->av.eth.gid_index = ah_attr->grh.sgid_index; in create_iboe_ah() 118 ah->av.eth.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_iboe_ah() 120 ah->av.eth.vlan = cpu_to_be16(vlan_tag); in create_iboe_ah() 121 ah->av.eth.hop_limit = grh->hop_limit; in create_iboe_ah() 123 ah->av.eth.stat_rate = rdma_ah_get_static_rate(ah_attr) + in create_iboe_ah() 125 while (ah->av.eth in create_iboe_ah() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 93 memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN); in create_iboe_ah() 94 eth_zero_addr(ah->av.eth.s_mac); in create_iboe_ah() 103 &ah->av.eth.s_mac[0]); in create_iboe_ah() 110 ah->av.eth.gid_index = ret; in create_iboe_ah() 113 ah->av.eth.gid_index = ah_attr->grh.sgid_index; in create_iboe_ah() 118 ah->av.eth.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_iboe_ah() 120 ah->av.eth.vlan = cpu_to_be16(vlan_tag); in create_iboe_ah() 121 ah->av.eth.hop_limit = grh->hop_limit; in create_iboe_ah() 123 ah->av.eth.stat_rate = rdma_ah_get_static_rate(ah_attr) + in create_iboe_ah() 125 while (ah->av.eth in create_iboe_ah() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 63 struct ethhdr *eth = data; in icmp_check() local 67 if (data + sizeof(*eth) + sizeof(*iph) + ICMP_ECHO_LEN > data_end) in icmp_check() 70 if (eth->h_proto != bpf_htons(ETH_P_IP)) in icmp_check() 73 iph = data + sizeof(*eth); in icmp_check() 81 icmph = data + sizeof(*eth) + sizeof(*iph); in icmp_check() 95 struct ethhdr *eth = data; in xdping_client() local 109 iph = data + sizeof(*eth); in xdping_client() 110 icmph = data + sizeof(*eth) + sizeof(*iph); in xdping_client() 158 struct ethhdr *eth = data; in xdping_server() local 169 iph = data + sizeof(*eth); in xdping_server() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 63 struct ethhdr *eth = data; in icmp_check() local 67 if (data + sizeof(*eth) + sizeof(*iph) + ICMP_ECHO_LEN > data_end) in icmp_check() 70 if (eth->h_proto != bpf_htons(ETH_P_IP)) in icmp_check() 73 iph = data + sizeof(*eth); in icmp_check() 81 icmph = data + sizeof(*eth) + sizeof(*iph); in icmp_check() 94 struct ethhdr *eth = data; in xdping_client() local 108 iph = data + sizeof(*eth); in xdping_client() 109 icmph = data + sizeof(*eth) + sizeof(*iph); in xdping_client() 156 struct ethhdr *eth = data; in xdping_server() local 167 iph = data + sizeof(*eth); in xdping_server() [all...] |
H A D | xdp_redirect_multi_kern.c | 43 struct ethhdr *eth = data; in xdp_redirect_map_multi_prog() local 47 nh_off = sizeof(*eth); in xdp_redirect_map_multi_prog() 51 h_proto = eth->h_proto; in xdp_redirect_map_multi_prog() 79 struct ethhdr *eth = data; in xdp_devmap_prog() local 83 nh_off = sizeof(*eth); in xdp_devmap_prog() 89 __builtin_memcpy(eth->h_source, mac, ETH_ALEN); in xdp_devmap_prog()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sgi/ |
H A D | meth.c | 109 mace->eth.mac_addr = macaddr; in load_eaddr() 116 while ((___rval = mace->eth.phy_data) & MDIO_BUSY) { \ 124 mace->eth.phy_regs = (priv->phy_addr << 5) | (phyreg & 0x1f); in mdio_read() 126 mace->eth.phy_trans_go = 1; in mdio_read() 195 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 204 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 218 mace->eth.tx_ring_base = priv->tx_ring_dma; in meth_init_tx_ring() 239 mace->eth.rx_fifo = priv->rx_ring_dmas[i]; in meth_init_rx_ring() 276 mace->eth.mac_ctrl = SGI_MAC_RESET; in meth_reset() 278 mace->eth in meth_reset() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sgi/ |
H A D | meth.c | 109 mace->eth.mac_addr = macaddr; in load_eaddr() 116 while ((___rval = mace->eth.phy_data) & MDIO_BUSY) { \ 124 mace->eth.phy_regs = (priv->phy_addr << 5) | (phyreg & 0x1f); in mdio_read() 126 mace->eth.phy_trans_go = 1; in mdio_read() 195 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 204 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 218 mace->eth.tx_ring_base = priv->tx_ring_dma; in meth_init_tx_ring() 239 mace->eth.rx_fifo = priv->rx_ring_dmas[i]; in meth_init_rx_ring() 276 mace->eth.mac_ctrl = SGI_MAC_RESET; in meth_reset() 278 mace->eth in meth_reset() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_rx.c | 39 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local 43 eth = (struct ethhdr *)skb->data; in mwifiex_discard_gratuitous_arp() 44 switch (ntohs(eth->h_proto)) { in mwifiex_discard_gratuitous_arp() 90 struct ethhdr *eth; in mwifiex_process_rx_packet() local 127 eth = (struct ethhdr *) in mwifiex_process_rx_packet() 135 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet() 136 sizeof(eth->h_source)); in mwifiex_process_rx_packet() 137 memcpy(eth->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_process_rx_packet() 138 sizeof(eth->h_dest)); in mwifiex_process_rx_packet() 142 hdr_chop = (u8 *) eth in mwifiex_process_rx_packet() [all...] |