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()
777 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_put_hdr_tso() local
820 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_tso() local
892 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_frag_skb() local
931 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_skb() local
994 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_xmit() local
1033 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_kick() local
1058 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reclaim() local
1132 static void tx_set_rate(struct mv643xx_eth_private *mp, int rate, int burst) in tx_set_rate()
1166 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_rate() local
1184 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_fixed_prio_mode() local
1212 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_adjust_link() local
1253 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_stats() local
1275 static inline u32 mib_read(struct mv643xx_eth_private *mp, int offset) in mib_read()
1280 static void mib_counters_clear(struct mv643xx_eth_private *mp) in mib_counters_clear()
1292 static void mib_counters_update(struct mv643xx_eth_private *mp) in mib_counters_update()
1335 struct mv643xx_eth_private *mp = from_timer(mp, t, mib_counters_timer); in mib_counters_timer_wrapper() local
1353 static unsigned int get_rx_coal(struct mv643xx_eth_private *mp) in get_rx_coal()
1370 static void set_rx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_rx_coal()
1395 static unsigned int get_tx_coal(struct mv643xx_eth_private *mp) in get_tx_coal()
1407 static void set_tx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_tx_coal()
1482 mv643xx_eth_get_link_ksettings_phy(struct mv643xx_eth_private *mp, in mv643xx_eth_get_link_ksettings_phy()
1501 mv643xx_eth_get_link_ksettings_phyless(struct mv643xx_eth_private *mp, in mv643xx_eth_get_link_ksettings_phyless()
1569 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_link_ksettings() local
1619 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_coalesce() local
1632 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_coalesce() local
1643 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ringparam() local
1655 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_ringparam() local
1683 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_features() local
1709 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ethtool_stats() local
1760 static void uc_addr_get(struct mv643xx_eth_private *mp, unsigned char *addr) in uc_addr_get()
1773 static void uc_addr_set(struct mv643xx_eth_private *mp, const u8 *addr) in uc_addr_set()
1803 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_unicast_filter() local
1859 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_multicast_filter() local
1933 static int rxq_init(struct mv643xx_eth_private *mp, int index) in rxq_init()
2002 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_deinit() local
2029 static int txq_init(struct mv643xx_eth_private *mp, int index) in txq_init()
2119 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_deinit() local
2142 static int mv643xx_eth_collect_events(struct mv643xx_eth_private *mp) in mv643xx_eth_collect_events()
2178 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_irq() local
2189 static void handle_link_event(struct mv643xx_eth_private *mp) in handle_link_event()
2242 struct mv643xx_eth_private *mp; in mv643xx_eth_poll() local
2308 struct mv643xx_eth_private *mp = from_timer(mp, t, rx_oom); in oom_timer_wrapper() local
2313 static void port_start(struct mv643xx_eth_private *mp) in port_start()
2389 static void mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private *mp) in mv643xx_eth_recalc_skb_size()
2419 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_open() local
2485 static void port_reset(struct mv643xx_eth_private *mp) in port_reset()
2513 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_stop() local
2557 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_change_mtu() local
2583 struct mv643xx_eth_private *mp; in tx_timeout_task() local
2596 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_tx_timeout() local
2606 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_netpoll() local
2902 static void phy_addr_set(struct mv643xx_eth_private *mp, int phy_addr) in phy_addr_set()
2913 static int phy_addr_get(struct mv643xx_eth_private *mp) in phy_addr_get()
2922 static void set_params(struct mv643xx_eth_private *mp, in set_params()
2961 static int get_phy_mode(struct mv643xx_eth_private *mp) in get_phy_mode()
2978 static struct phy_device *phy_scan(struct mv643xx_eth_private *mp, in phy_scan()
3014 static void phy_init(struct mv643xx_eth_private *mp, int speed, int duplex) in phy_init()
3035 static void init_pscr(struct mv643xx_eth_private *mp, int speed, int duplex) in init_pscr()
3084 struct mv643xx_eth_private *mp; in mv643xx_eth_probe() local
3238 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_remove() local
3256 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_shutdown() local