Lines Matching refs:pasemi_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()
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()
448 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_setup_tx_resources()
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()
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()
817 struct pasemi_mac *mac = txring->mac; in pasemi_mac_clean_tx()
909 struct pasemi_mac *mac = rxring->mac; in pasemi_mac_rx_intr()
938 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_timer()
951 struct pasemi_mac *mac = txring->mac; in pasemi_mac_tx_intr()
976 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_adjust_link()
1039 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_phy_init()
1065 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_open()
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()
1428 struct pasemi_mac * const mac = netdev_priv(dev); in pasemi_mac_start_tx()
1545 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_set_rx_mode()
1562 struct pasemi_mac *mac = container_of(napi, struct pasemi_mac, napi); in pasemi_mac_poll()
1585 const struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_netpoll()
1599 struct pasemi_mac *mac = netdev_priv(dev); in pasemi_mac_change_mtu()
1679 struct pasemi_mac *mac; in pasemi_mac_probe()
1686 dev = alloc_etherdev(sizeof(struct pasemi_mac)); in pasemi_mac_probe()
1795 struct pasemi_mac *mac; in pasemi_mac_remove()