Lines Matching defs:mp
439 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) in rdl()
444 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp()
449 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl()
454 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) in wrlp()
473 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_enable() local
479 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_disable() local
489 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reset_hw_ptr() local
499 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_enable() local
505 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_disable() local
515 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_maybe_wake() local
556 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_process() local
658 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_refill() local
732 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_frag_skb() local
775 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_submit_skb() local
869 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_xmit() local
912 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_kick() local
937 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reclaim() local
1008 static void tx_set_rate(struct mv643xx_eth_private *mp, int rate, int burst) in tx_set_rate()
1042 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_rate() local
1060 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_set_fixed_prio_mode() local
1180 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_stats() local
1202 static void mv643xx_eth_grab_lro_stats(struct mv643xx_eth_private *mp) in mv643xx_eth_grab_lro_stats()
1222 static inline u32 mib_read(struct mv643xx_eth_private *mp, int offset) in mib_read()
1227 static void mib_counters_clear(struct mv643xx_eth_private *mp) in mib_counters_clear()
1239 static void mib_counters_update(struct mv643xx_eth_private *mp) in mib_counters_update()
1284 struct mv643xx_eth_private *mp = (void *)_mp; in mib_counters_timer_wrapper() local
1302 static unsigned int get_rx_coal(struct mv643xx_eth_private *mp) in get_rx_coal()
1318 static void set_rx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_rx_coal()
1343 static unsigned int get_tx_coal(struct mv643xx_eth_private *mp) in get_tx_coal()
1354 static void set_tx_coal(struct mv643xx_eth_private *mp, unsigned int usec) in set_tx_coal()
1436 mv643xx_eth_get_settings_phy(struct mv643xx_eth_private *mp, in mv643xx_eth_get_settings_phy()
1455 mv643xx_eth_get_settings_phyless(struct mv643xx_eth_private *mp, in mv643xx_eth_get_settings_phyless()
1492 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_settings() local
1503 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_settings() local
1530 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_nway_reset() local
1541 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_coalesce() local
1552 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_coalesce() local
1563 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ringparam() local
1575 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_ringparam() local
1599 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_set_features() local
1625 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_get_ethtool_stats() local
1673 static void uc_addr_get(struct mv643xx_eth_private *mp, unsigned char *addr) in uc_addr_get()
1686 static void uc_addr_set(struct mv643xx_eth_private *mp, unsigned char *addr) in uc_addr_set()
1716 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_unicast_filter() local
1772 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_program_multicast_filter() local
1848 static int rxq_init(struct mv643xx_eth_private *mp, int index) in rxq_init()
1932 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_deinit() local
1959 static int txq_init(struct mv643xx_eth_private *mp, int index) in txq_init()
2016 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_deinit() local
2033 static int mv643xx_eth_collect_events(struct mv643xx_eth_private *mp) in mv643xx_eth_collect_events()
2069 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_irq() local
2080 static void handle_link_event(struct mv643xx_eth_private *mp) in handle_link_event()
2133 struct mv643xx_eth_private *mp; in mv643xx_eth_poll() local
2199 struct mv643xx_eth_private *mp = (void *)data; in oom_timer_wrapper() local
2204 static void phy_reset(struct mv643xx_eth_private *mp) in phy_reset()
2221 static void port_start(struct mv643xx_eth_private *mp) in port_start()
2294 static void mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private *mp) in mv643xx_eth_recalc_skb_size()
2324 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_open() local
2391 static void port_reset(struct mv643xx_eth_private *mp) in port_reset()
2419 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_stop() local
2451 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_ioctl() local
2461 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_change_mtu() local
2490 struct mv643xx_eth_private *mp; in tx_timeout_task() local
2503 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_tx_timeout() local
2513 struct mv643xx_eth_private *mp = netdev_priv(dev); in mv643xx_eth_netpoll() local
2714 static void phy_addr_set(struct mv643xx_eth_private *mp, int phy_addr) in phy_addr_set()
2725 static int phy_addr_get(struct mv643xx_eth_private *mp) in phy_addr_get()
2734 static void set_params(struct mv643xx_eth_private *mp, in set_params()
2761 static struct phy_device *phy_scan(struct mv643xx_eth_private *mp, in phy_scan()
2795 static void phy_init(struct mv643xx_eth_private *mp, int speed, int duplex) in phy_init()
2817 static void init_pscr(struct mv643xx_eth_private *mp, int speed, int duplex) in init_pscr()
2865 struct mv643xx_eth_private *mp; in mv643xx_eth_probe() local
2976 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_remove() local
2991 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); in mv643xx_eth_shutdown() local