Lines Matching defs:mac

94 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg)  in read_mac_reg()
99 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg()
115 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring()
120 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring()
135 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf()
163 static void pasemi_mac_intf_disable(struct pasemi_mac *mac) in pasemi_mac_intf_disable()
172 static void pasemi_mac_intf_enable(struct pasemi_mac *mac) in pasemi_mac_intf_enable()
181 static int pasemi_get_mac_addr(struct pasemi_mac *mac) in pasemi_get_mac_addr()
228 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_set_mac_addr() local
253 static int pasemi_mac_unmap_tx_skb(struct pasemi_mac *mac, in pasemi_mac_unmap_tx_skb()
276 static struct pasemi_mac_csring *pasemi_mac_setup_csring(struct pasemi_mac *mac) in pasemi_mac_setup_csring()
350 static void pasemi_mac_setup_csrings(struct pasemi_mac *mac) in pasemi_mac_setup_csrings()
377 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_setup_rx_resources() local
458 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_setup_tx_resources() local
518 static void pasemi_mac_free_tx_resources(struct pasemi_mac *mac) in pasemi_mac_free_tx_resources()
553 static void pasemi_mac_free_rx_buffers(struct pasemi_mac *mac) in pasemi_mac_free_rx_buffers()
576 static void pasemi_mac_free_rx_resources(struct pasemi_mac *mac) in pasemi_mac_free_rx_resources()
591 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_replenish_rx_ring() local
637 static void pasemi_mac_restart_rx_intr(const struct pasemi_mac *mac) in pasemi_mac_restart_rx_intr()
655 static void pasemi_mac_restart_tx_intr(const struct pasemi_mac *mac) in pasemi_mac_restart_tx_intr()
668 static inline void pasemi_mac_rx_error(const struct pasemi_mac *mac, in pasemi_mac_rx_error()
687 static inline void pasemi_mac_tx_error(const struct pasemi_mac *mac, in pasemi_mac_tx_error()
708 struct pasemi_mac *mac = rx->mac; in pasemi_mac_clean_rx() local
828 struct pasemi_mac *mac = txring->mac; in pasemi_mac_clean_tx() local
920 struct pasemi_mac *mac = rxring->mac; in pasemi_mac_rx_intr() local
949 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_timer() local
962 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_intr() local
987 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_adjust_link() local
1050 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_phy_init() local
1076 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_open() local
1223 static void pasemi_mac_pause_txchan(struct pasemi_mac *mac) in pasemi_mac_pause_txchan()
1245 static void pasemi_mac_pause_rxchan(struct pasemi_mac *mac) in pasemi_mac_pause_rxchan()
1265 static void pasemi_mac_pause_rxint(struct pasemi_mac *mac) in pasemi_mac_pause_rxint()
1286 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_close() local
1436 struct pasemi_mac * const mac = netdev_priv(dev); in pasemi_mac_start_tx() local
1553 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_set_rx_mode() local
1570 struct pasemi_mac *mac = container_of(napi, struct pasemi_mac, napi); in pasemi_mac_poll() local
1593 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_netpoll() local
1607 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_change_mtu() local
1687 struct pasemi_mac *mac; in pasemi_mac_probe() local
1802 struct pasemi_mac *mac; in pasemi_mac_remove() local