Lines Matching defs:mp
418 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) in rdl()
423 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp()
428 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl()
433 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) in wrlp()
452 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_enable() local
458 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_disable() local
468 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reset_hw_ptr() local
478 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_enable() local
484 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_disable() local
494 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_maybe_wake() local
507 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_process() local
599 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_refill() local
669 static int skb_tx_csum(struct mv643xx_eth_private *mp, struct sk_buff *skb, in skb_tx_csum()
776 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_put_hdr_tso() local
818 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_tso() local
890 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_frag_skb() local
929 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_skb() local
992 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_xmit() local
1031 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_kick() local
1056 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reclaim() local
1130 static void tx_set_rate(struct mv643xx_eth_private *mp, int rate, int burst) in tx_set_rate()
1164 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_rate() local
1182 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_fixed_prio_mode() local
1210 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_adjust_link() local
1251 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_stats() local
1273 static inline u32 mib_read(struct mv643xx_eth_private *mp, int offset) in mib_read()
1278 static void mib_counters_clear(struct mv643xx_eth_private *mp) in mib_counters_clear()
1290 static void mib_counters_update(struct mv643xx_eth_private *mp) in mib_counters_update()
1333 struct mv643xx_eth_private *mp = from_timer(mp, t, mib_counters_timer); in mib_counters_timer_wrapper() local
1351 static unsigned int get_rx_coal(struct mv643xx_eth_private *mp) in get_rx_coal()
1368 static void set_rx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_rx_coal()
1393 static unsigned int get_tx_coal(struct mv643xx_eth_private *mp) in get_tx_coal()
1405 static void set_tx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_tx_coal()
1480 mv643xx_eth_get_link_ksettings_phy(struct mv643xx_eth_private *mp, in mv643xx_eth_get_link_ksettings_phy()
1499 mv643xx_eth_get_link_ksettings_phyless(struct mv643xx_eth_private *mp, in mv643xx_eth_get_link_ksettings_phyless()
1567 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_link_ksettings() local
1615 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_coalesce() local
1626 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_coalesce() local
1637 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ringparam() local
1649 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_ringparam() local
1677 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_features() local
1703 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ethtool_stats() local
1754 static void uc_addr_get(struct mv643xx_eth_private *mp, unsigned char *addr) in uc_addr_get()
1767 static void uc_addr_set(struct mv643xx_eth_private *mp, unsigned char *addr) in uc_addr_set()
1797 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_unicast_filter() local
1853 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_multicast_filter() local
1927 static int rxq_init(struct mv643xx_eth_private *mp, int index) in rxq_init()
1996 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_deinit() local
2023 static int txq_init(struct mv643xx_eth_private *mp, int index) in txq_init()
2113 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_deinit() local
2136 static int mv643xx_eth_collect_events(struct mv643xx_eth_private *mp) in mv643xx_eth_collect_events()
2172 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_irq() local
2183 static void handle_link_event(struct mv643xx_eth_private *mp) in handle_link_event()
2236 struct mv643xx_eth_private *mp; in mv643xx_eth_poll() local
2302 struct mv643xx_eth_private *mp = from_timer(mp, t, rx_oom); in oom_timer_wrapper() local
2307 static void port_start(struct mv643xx_eth_private *mp) in port_start()
2383 static void mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private *mp) in mv643xx_eth_recalc_skb_size()
2413 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_open() local
2479 static void port_reset(struct mv643xx_eth_private *mp) in port_reset()
2507 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_stop() local
2551 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_change_mtu() local
2577 struct mv643xx_eth_private *mp; in tx_timeout_task() local
2590 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_tx_timeout() local
2600 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_netpoll() local
2899 static void phy_addr_set(struct mv643xx_eth_private *mp, int phy_addr) in phy_addr_set()
2910 static int phy_addr_get(struct mv643xx_eth_private *mp) in phy_addr_get()
2919 static void set_params(struct mv643xx_eth_private *mp, in set_params()
2954 static int get_phy_mode(struct mv643xx_eth_private *mp) in get_phy_mode()
2971 static struct phy_device *phy_scan(struct mv643xx_eth_private *mp, in phy_scan()
3007 static void phy_init(struct mv643xx_eth_private *mp, int speed, int duplex) in phy_init()
3028 static void init_pscr(struct mv643xx_eth_private *mp, int speed, int duplex) in init_pscr()
3077 struct mv643xx_eth_private *mp; in mv643xx_eth_probe() local
3231 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_remove() local
3249 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_shutdown() local