• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/

Lines Matching refs:mv643xx_eth_private

381 struct mv643xx_eth_private {
432 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset)
437 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset)
442 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data)
447 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data)
454 static struct mv643xx_eth_private *rxq_to_mp(struct rx_queue *rxq)
456 return container_of(rxq, struct mv643xx_eth_private, rxq[rxq->index]);
459 static struct mv643xx_eth_private *txq_to_mp(struct tx_queue *txq)
461 return container_of(txq, struct mv643xx_eth_private, txq[txq->index]);
466 struct mv643xx_eth_private *mp = rxq_to_mp(rxq);
472 struct mv643xx_eth_private *mp = rxq_to_mp(rxq);
482 struct mv643xx_eth_private *mp = txq_to_mp(txq);
492 struct mv643xx_eth_private *mp = txq_to_mp(txq);
498 struct mv643xx_eth_private *mp = txq_to_mp(txq);
508 struct mv643xx_eth_private *mp = txq_to_mp(txq);
549 struct mv643xx_eth_private *mp = rxq_to_mp(rxq);
652 struct mv643xx_eth_private *mp = rxq_to_mp(rxq);
725 struct mv643xx_eth_private *mp = txq_to_mp(txq);
768 struct mv643xx_eth_private *mp = txq_to_mp(txq);
860 struct mv643xx_eth_private *mp = netdev_priv(dev);
902 struct mv643xx_eth_private *mp = txq_to_mp(txq);
927 struct mv643xx_eth_private *mp = txq_to_mp(txq);
998 static void tx_set_rate(struct mv643xx_eth_private *mp, int rate, int burst)
1032 struct mv643xx_eth_private *mp = txq_to_mp(txq);
1050 struct mv643xx_eth_private *mp = txq_to_mp(txq);
1170 struct mv643xx_eth_private *mp = netdev_priv(dev);
1192 static void mv643xx_eth_grab_lro_stats(struct mv643xx_eth_private *mp)
1212 static inline u32 mib_read(struct mv643xx_eth_private *mp, int offset)
1217 static void mib_counters_clear(struct mv643xx_eth_private *mp)
1225 static void mib_counters_update(struct mv643xx_eth_private *mp)
1267 struct mv643xx_eth_private *mp = (void *)_mp;
1285 static unsigned int get_rx_coal(struct mv643xx_eth_private *mp)
1301 static void set_rx_coal(struct mv643xx_eth_private *mp, unsigned int usec)
1326 static unsigned int get_tx_coal(struct mv643xx_eth_private *mp)
1337 static void set_tx_coal(struct mv643xx_eth_private *mp, unsigned int usec)
1366 -1, offsetof(struct mv643xx_eth_private, mib_counters.m) }
1370 -1, offsetof(struct mv643xx_eth_private, lro_counters.m) }
1417 mv643xx_eth_get_settings_phy(struct mv643xx_eth_private *mp,
1436 mv643xx_eth_get_settings_phyless(struct mv643xx_eth_private *mp,
1473 struct mv643xx_eth_private *mp = netdev_priv(dev);
1484 struct mv643xx_eth_private *mp = netdev_priv(dev);
1509 struct mv643xx_eth_private *mp = netdev_priv(dev);
1525 struct mv643xx_eth_private *mp = netdev_priv(dev);
1536 struct mv643xx_eth_private *mp = netdev_priv(dev);
1547 struct mv643xx_eth_private *mp = netdev_priv(dev);
1563 struct mv643xx_eth_private *mp = netdev_priv(dev);
1587 struct mv643xx_eth_private *mp = netdev_priv(dev);
1595 struct mv643xx_eth_private *mp = netdev_priv(dev);
1620 struct mv643xx_eth_private *mp = netdev_priv(dev);
1679 static void uc_addr_get(struct mv643xx_eth_private *mp, unsigned char *addr)
1692 static void uc_addr_set(struct mv643xx_eth_private *mp, unsigned char *addr)
1722 struct mv643xx_eth_private *mp = netdev_priv(dev);
1778 struct mv643xx_eth_private *mp = netdev_priv(dev);
1854 static int rxq_init(struct mv643xx_eth_private *mp, int index)
1939 struct mv643xx_eth_private *mp = rxq_to_mp(rxq);
1967 static int txq_init(struct mv643xx_eth_private *mp, int index)
2024 struct mv643xx_eth_private *mp = txq_to_mp(txq);
2041 static int mv643xx_eth_collect_events(struct mv643xx_eth_private *mp)
2077 struct mv643xx_eth_private *mp = netdev_priv(dev);
2088 static void handle_link_event(struct mv643xx_eth_private *mp)
2143 struct mv643xx_eth_private *mp;
2146 mp = container_of(napi, struct mv643xx_eth_private, napi);
2209 struct mv643xx_eth_private *mp = (void *)data;
2214 static void phy_reset(struct mv643xx_eth_private *mp)
2231 static void port_start(struct mv643xx_eth_private *mp)
2304 static void mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private *mp)
2334 struct mv643xx_eth_private *mp = netdev_priv(dev);
2401 static void port_reset(struct mv643xx_eth_private *mp)
2429 struct mv643xx_eth_private *mp = netdev_priv(dev);
2461 struct mv643xx_eth_private *mp = netdev_priv(dev);
2471 struct mv643xx_eth_private *mp = netdev_priv(dev);
2501 struct mv643xx_eth_private *mp;
2503 mp = container_of(ugly, struct mv643xx_eth_private, tx_timeout_task);
2514 struct mv643xx_eth_private *mp = netdev_priv(dev);
2524 struct mv643xx_eth_private *mp = netdev_priv(dev);
2722 static void phy_addr_set(struct mv643xx_eth_private *mp, int phy_addr)
2733 static int phy_addr_get(struct mv643xx_eth_private *mp)
2742 static void set_params(struct mv643xx_eth_private *mp,
2769 static struct phy_device *phy_scan(struct mv643xx_eth_private *mp,
2803 static void phy_init(struct mv643xx_eth_private *mp, int speed, int duplex)
2825 static void init_pscr(struct mv643xx_eth_private *mp, int speed, int duplex)
2872 struct mv643xx_eth_private *mp;
2890 dev = alloc_etherdev_mq(sizeof(struct mv643xx_eth_private), 8);
2980 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev);
2995 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev);