Lines Matching defs:mac
83 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) in read_mac_reg()
88 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg()
104 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring()
109 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring()
124 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf()
152 static void pasemi_mac_intf_disable(struct pasemi_mac *mac) in pasemi_mac_intf_disable()
161 static void pasemi_mac_intf_enable(struct pasemi_mac *mac) in pasemi_mac_intf_enable()
170 static int pasemi_get_mac_addr(struct pasemi_mac *mac) in pasemi_get_mac_addr()
217 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_set_mac_addr() local
242 static int pasemi_mac_unmap_tx_skb(struct pasemi_mac *mac, in pasemi_mac_unmap_tx_skb()
266 static struct pasemi_mac_csring *pasemi_mac_setup_csring(struct pasemi_mac *mac) in pasemi_mac_setup_csring()
340 static void pasemi_mac_setup_csrings(struct pasemi_mac *mac) in pasemi_mac_setup_csrings()
367 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_setup_rx_resources() local
448 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_setup_tx_resources() local
508 static void pasemi_mac_free_tx_resources(struct pasemi_mac *mac) in pasemi_mac_free_tx_resources()
543 static void pasemi_mac_free_rx_buffers(struct pasemi_mac *mac) in pasemi_mac_free_rx_buffers()
564 static void pasemi_mac_free_rx_resources(struct pasemi_mac *mac) in pasemi_mac_free_rx_resources()
579 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_replenish_rx_ring() local
625 static void pasemi_mac_restart_rx_intr(const struct pasemi_mac *mac) in pasemi_mac_restart_rx_intr()
643 static void pasemi_mac_restart_tx_intr(const struct pasemi_mac *mac) in pasemi_mac_restart_tx_intr()
656 static inline void pasemi_mac_rx_error(const struct pasemi_mac *mac, in pasemi_mac_rx_error()
675 static inline void pasemi_mac_tx_error(const struct pasemi_mac *mac, in pasemi_mac_tx_error()
696 struct pasemi_mac *mac = rx->mac; in pasemi_mac_clean_rx() local
817 struct pasemi_mac *mac = txring->mac; in pasemi_mac_clean_tx() local
909 struct pasemi_mac *mac = rxring->mac; in pasemi_mac_rx_intr() local
938 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_timer() local
951 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_intr() local
976 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_adjust_link() local
1039 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_phy_init() local
1065 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_open() local
1216 static void pasemi_mac_pause_txchan(struct pasemi_mac *mac) in pasemi_mac_pause_txchan()
1238 static void pasemi_mac_pause_rxchan(struct pasemi_mac *mac) in pasemi_mac_pause_rxchan()
1258 static void pasemi_mac_pause_rxint(struct pasemi_mac *mac) in pasemi_mac_pause_rxint()
1279 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_close() local
1428 struct pasemi_mac * const mac = netdev_priv(dev); in pasemi_mac_start_tx() local
1545 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_set_rx_mode() local
1562 struct pasemi_mac *mac = container_of(napi, struct pasemi_mac, napi); in pasemi_mac_poll() local
1585 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_netpoll() local
1599 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_change_mtu() local
1679 struct pasemi_mac *mac; in pasemi_mac_probe() local
1795 struct pasemi_mac *mac; in pasemi_mac_remove() local