mv643xx_eth_private 418 drivers/net/ethernet/marvell/mv643xx_eth.c static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) mv643xx_eth_private 423 drivers/net/ethernet/marvell/mv643xx_eth.c static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) mv643xx_eth_private 428 drivers/net/ethernet/marvell/mv643xx_eth.c static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) mv643xx_eth_private 433 drivers/net/ethernet/marvell/mv643xx_eth.c static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) mv643xx_eth_private 440 drivers/net/ethernet/marvell/mv643xx_eth.c static struct mv643xx_eth_private *rxq_to_mp(struct rx_queue *rxq) mv643xx_eth_private 442 drivers/net/ethernet/marvell/mv643xx_eth.c return container_of(rxq, struct mv643xx_eth_private, rxq[rxq->index]); mv643xx_eth_private 445 drivers/net/ethernet/marvell/mv643xx_eth.c static struct mv643xx_eth_private *txq_to_mp(struct tx_queue *txq) mv643xx_eth_private 447 drivers/net/ethernet/marvell/mv643xx_eth.c return container_of(txq, struct mv643xx_eth_private, txq[txq->index]); mv643xx_eth_private 452 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = rxq_to_mp(rxq); mv643xx_eth_private 458 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = rxq_to_mp(rxq); mv643xx_eth_private 468 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 478 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 484 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 494 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 507 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = rxq_to_mp(rxq); mv643xx_eth_private 599 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = rxq_to_mp(rxq); mv643xx_eth_private 674 drivers/net/ethernet/marvell/mv643xx_eth.c static int skb_tx_csum(struct mv643xx_eth_private *mp, struct sk_buff *skb, mv643xx_eth_private 781 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 823 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 896 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 935 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 998 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1037 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 1062 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 1136 drivers/net/ethernet/marvell/mv643xx_eth.c static void tx_set_rate(struct mv643xx_eth_private *mp, int rate, int burst) mv643xx_eth_private 1170 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 1188 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 1216 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1257 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1279 drivers/net/ethernet/marvell/mv643xx_eth.c static inline u32 mib_read(struct mv643xx_eth_private *mp, int offset) mv643xx_eth_private 1284 drivers/net/ethernet/marvell/mv643xx_eth.c static void mib_counters_clear(struct mv643xx_eth_private *mp) mv643xx_eth_private 1296 drivers/net/ethernet/marvell/mv643xx_eth.c static void mib_counters_update(struct mv643xx_eth_private *mp) mv643xx_eth_private 1339 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = from_timer(mp, t, mib_counters_timer); mv643xx_eth_private 1357 drivers/net/ethernet/marvell/mv643xx_eth.c static unsigned int get_rx_coal(struct mv643xx_eth_private *mp) mv643xx_eth_private 1374 drivers/net/ethernet/marvell/mv643xx_eth.c static void set_rx_coal(struct mv643xx_eth_private *mp, unsigned int usec) mv643xx_eth_private 1399 drivers/net/ethernet/marvell/mv643xx_eth.c static unsigned int get_tx_coal(struct mv643xx_eth_private *mp) mv643xx_eth_private 1411 drivers/net/ethernet/marvell/mv643xx_eth.c static void set_tx_coal(struct mv643xx_eth_private *mp, unsigned int usec) mv643xx_eth_private 1440 drivers/net/ethernet/marvell/mv643xx_eth.c -1, offsetof(struct mv643xx_eth_private, mib_counters.m) } mv643xx_eth_private 1486 drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_get_link_ksettings_phy(struct mv643xx_eth_private *mp, mv643xx_eth_private 1505 drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_get_link_ksettings_phyless(struct mv643xx_eth_private *mp, mv643xx_eth_private 1573 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1621 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1632 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1643 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1655 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1683 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1709 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1759 drivers/net/ethernet/marvell/mv643xx_eth.c static void uc_addr_get(struct mv643xx_eth_private *mp, unsigned char *addr) mv643xx_eth_private 1772 drivers/net/ethernet/marvell/mv643xx_eth.c static void uc_addr_set(struct mv643xx_eth_private *mp, unsigned char *addr) mv643xx_eth_private 1802 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1858 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 1932 drivers/net/ethernet/marvell/mv643xx_eth.c static int rxq_init(struct mv643xx_eth_private *mp, int index) mv643xx_eth_private 2001 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = rxq_to_mp(rxq); mv643xx_eth_private 2028 drivers/net/ethernet/marvell/mv643xx_eth.c static int txq_init(struct mv643xx_eth_private *mp, int index) mv643xx_eth_private 2118 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = txq_to_mp(txq); mv643xx_eth_private 2141 drivers/net/ethernet/marvell/mv643xx_eth.c static int mv643xx_eth_collect_events(struct mv643xx_eth_private *mp) mv643xx_eth_private 2177 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 2188 drivers/net/ethernet/marvell/mv643xx_eth.c static void handle_link_event(struct mv643xx_eth_private *mp) mv643xx_eth_private 2241 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp; mv643xx_eth_private 2244 drivers/net/ethernet/marvell/mv643xx_eth.c mp = container_of(napi, struct mv643xx_eth_private, napi); mv643xx_eth_private 2307 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = from_timer(mp, t, rx_oom); mv643xx_eth_private 2312 drivers/net/ethernet/marvell/mv643xx_eth.c static void port_start(struct mv643xx_eth_private *mp) mv643xx_eth_private 2388 drivers/net/ethernet/marvell/mv643xx_eth.c static void mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private *mp) mv643xx_eth_private 2418 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 2484 drivers/net/ethernet/marvell/mv643xx_eth.c static void port_reset(struct mv643xx_eth_private *mp) mv643xx_eth_private 2512 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 2556 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 2582 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp; mv643xx_eth_private 2584 drivers/net/ethernet/marvell/mv643xx_eth.c mp = container_of(ugly, struct mv643xx_eth_private, tx_timeout_task); mv643xx_eth_private 2595 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 2605 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_private 2904 drivers/net/ethernet/marvell/mv643xx_eth.c static void phy_addr_set(struct mv643xx_eth_private *mp, int phy_addr) mv643xx_eth_private 2915 drivers/net/ethernet/marvell/mv643xx_eth.c static int phy_addr_get(struct mv643xx_eth_private *mp) mv643xx_eth_private 2924 drivers/net/ethernet/marvell/mv643xx_eth.c static void set_params(struct mv643xx_eth_private *mp, mv643xx_eth_private 2959 drivers/net/ethernet/marvell/mv643xx_eth.c static int get_phy_mode(struct mv643xx_eth_private *mp) mv643xx_eth_private 2975 drivers/net/ethernet/marvell/mv643xx_eth.c static struct phy_device *phy_scan(struct mv643xx_eth_private *mp, mv643xx_eth_private 3011 drivers/net/ethernet/marvell/mv643xx_eth.c static void phy_init(struct mv643xx_eth_private *mp, int speed, int duplex) mv643xx_eth_private 3032 drivers/net/ethernet/marvell/mv643xx_eth.c static void init_pscr(struct mv643xx_eth_private *mp, int speed, int duplex) mv643xx_eth_private 3081 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp; mv643xx_eth_private 3098 drivers/net/ethernet/marvell/mv643xx_eth.c dev = alloc_etherdev_mq(sizeof(struct mv643xx_eth_private), 8); mv643xx_eth_private 3235 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); mv643xx_eth_private 3253 drivers/net/ethernet/marvell/mv643xx_eth.c struct mv643xx_eth_private *mp = platform_get_drvdata(pdev);