Lines Matching defs:mp

419 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset)  in rdl()
424 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp()
429 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl()
434 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) in wrlp()
453 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_enable() local
459 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_disable() local
469 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reset_hw_ptr() local
479 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_enable() local
485 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_disable() local
495 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_maybe_wake() local
508 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_process() local
600 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_refill() local
670 static int skb_tx_csum(struct mv643xx_eth_private *mp, struct sk_buff *skb, in skb_tx_csum()
778 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_put_hdr_tso() local
821 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_tso() local
893 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_frag_skb() local
932 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_skb() local
995 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_xmit() local
1034 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_kick() local
1059 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reclaim() local
1133 static void tx_set_rate(struct mv643xx_eth_private *mp, int rate, int burst) in tx_set_rate()
1167 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_rate() local
1185 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_fixed_prio_mode() local
1213 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_adjust_link() local
1254 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_stats() local
1276 static inline u32 mib_read(struct mv643xx_eth_private *mp, int offset) in mib_read()
1281 static void mib_counters_clear(struct mv643xx_eth_private *mp) in mib_counters_clear()
1293 static void mib_counters_update(struct mv643xx_eth_private *mp) in mib_counters_update()
1336 struct mv643xx_eth_private *mp = from_timer(mp, t, mib_counters_timer); in mib_counters_timer_wrapper() local
1354 static unsigned int get_rx_coal(struct mv643xx_eth_private *mp) in get_rx_coal()
1371 static void set_rx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_rx_coal()
1396 static unsigned int get_tx_coal(struct mv643xx_eth_private *mp) in get_tx_coal()
1408 static void set_tx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_tx_coal()
1483 mv643xx_eth_get_link_ksettings_phy(struct mv643xx_eth_private *mp, in mv643xx_eth_get_link_ksettings_phy()
1502 mv643xx_eth_get_link_ksettings_phyless(struct mv643xx_eth_private *mp, in mv643xx_eth_get_link_ksettings_phyless()
1570 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_link_ksettings() local
1620 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_coalesce() local
1633 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_coalesce() local
1646 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ringparam() local
1660 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_ringparam() local
1688 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_features() local
1714 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ethtool_stats() local
1765 static void uc_addr_get(struct mv643xx_eth_private *mp, unsigned char *addr) in uc_addr_get()
1778 static void uc_addr_set(struct mv643xx_eth_private *mp, const u8 *addr) in uc_addr_set()
1808 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_unicast_filter() local
1864 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_multicast_filter() local
1938 static int rxq_init(struct mv643xx_eth_private *mp, int index) in rxq_init()
2007 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_deinit() local
2034 static int txq_init(struct mv643xx_eth_private *mp, int index) in txq_init()
2124 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_deinit() local
2147 static int mv643xx_eth_collect_events(struct mv643xx_eth_private *mp) in mv643xx_eth_collect_events()
2183 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_irq() local
2194 static void handle_link_event(struct mv643xx_eth_private *mp) in handle_link_event()
2247 struct mv643xx_eth_private *mp; in mv643xx_eth_poll() local
2313 struct mv643xx_eth_private *mp = from_timer(mp, t, rx_oom); in oom_timer_wrapper() local
2318 static void port_start(struct mv643xx_eth_private *mp) in port_start()
2394 static void mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private *mp) in mv643xx_eth_recalc_skb_size()
2424 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_open() local
2491 static void port_reset(struct mv643xx_eth_private *mp) in port_reset()
2519 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_stop() local
2563 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_change_mtu() local
2589 struct mv643xx_eth_private *mp; in tx_timeout_task() local
2602 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_tx_timeout() local
2612 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_netpoll() local
2913 static void phy_addr_set(struct mv643xx_eth_private *mp, int phy_addr) in phy_addr_set()
2924 static int phy_addr_get(struct mv643xx_eth_private *mp) in phy_addr_get()
2933 static void set_params(struct mv643xx_eth_private *mp, in set_params()
2972 static int get_phy_mode(struct mv643xx_eth_private *mp) in get_phy_mode()
2989 static struct phy_device *phy_scan(struct mv643xx_eth_private *mp, in phy_scan()
3025 static void phy_init(struct mv643xx_eth_private *mp, int speed, int duplex) in phy_init()
3046 static void init_pscr(struct mv643xx_eth_private *mp, int speed, int duplex) in init_pscr()
3095 struct mv643xx_eth_private *mp; in mv643xx_eth_probe() local
3283 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_remove() local
3299 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_shutdown() local