Lines Matching full:ftgmac100
3 * Faraday FTGMAC100 Gigabit Ethernet
31 #include "ftgmac100.h"
33 #define DRV_NAME "ftgmac100"
63 struct ftgmac100 { struct
124 static int ftgmac100_reset_mac(struct ftgmac100 *priv, u32 maccr) in ftgmac100_reset_mac() argument
147 static int ftgmac100_reset_and_config_mac(struct ftgmac100 *priv) in ftgmac100_reset_and_config_mac()
181 static void ftgmac100_write_mac_addr(struct ftgmac100 *priv, const u8 *mac) in ftgmac100_write_mac_addr()
190 static int ftgmac100_initial_mac(struct ftgmac100 *priv) in ftgmac100_initial_mac()
242 static void ftgmac100_config_pause(struct ftgmac100 *priv) in ftgmac100_config_pause()
259 static void ftgmac100_init_hw(struct ftgmac100 *priv) in ftgmac100_init_hw()
321 static void ftgmac100_start_hw(struct ftgmac100 *priv) in ftgmac100_start_hw()
356 static void ftgmac100_stop_hw(struct ftgmac100 *priv) in ftgmac100_stop_hw()
361 static void ftgmac100_calc_mc_hash(struct ftgmac100 *priv) in ftgmac100_calc_mc_hash()
380 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_set_rx_mode()
397 static int ftgmac100_alloc_rx_buf(struct ftgmac100 *priv, unsigned int entry, in ftgmac100_alloc_rx_buf()
442 static unsigned int ftgmac100_next_rx_pointer(struct ftgmac100 *priv, in ftgmac100_next_rx_pointer()
448 static void ftgmac100_rx_packet_error(struct ftgmac100 *priv, u32 status) in ftgmac100_rx_packet_error()
464 static bool ftgmac100_rx_packet(struct ftgmac100 *priv, int *processed) in ftgmac100_rx_packet()
593 static u32 ftgmac100_base_tx_ctlstat(struct ftgmac100 *priv, in ftgmac100_base_tx_ctlstat()
602 static unsigned int ftgmac100_next_tx_pointer(struct ftgmac100 *priv, in ftgmac100_next_tx_pointer()
608 static u32 ftgmac100_tx_buf_avail(struct ftgmac100 *priv) in ftgmac100_tx_buf_avail()
620 static bool ftgmac100_tx_buf_cleanable(struct ftgmac100 *priv) in ftgmac100_tx_buf_cleanable()
625 static void ftgmac100_free_tx_packet(struct ftgmac100 *priv, in ftgmac100_free_tx_packet()
648 static bool ftgmac100_tx_complete_packet(struct ftgmac100 *priv) in ftgmac100_tx_complete_packet()
679 static void ftgmac100_tx_complete(struct ftgmac100 *priv) in ftgmac100_tx_complete()
726 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_hard_start_xmit()
882 static void ftgmac100_free_buffers(struct ftgmac100 *priv) in ftgmac100_free_buffers()
912 static void ftgmac100_free_rings(struct ftgmac100 *priv) in ftgmac100_free_rings()
937 static int ftgmac100_alloc_rings(struct ftgmac100 *priv) in ftgmac100_alloc_rings()
972 static void ftgmac100_init_rings(struct ftgmac100 *priv) in ftgmac100_init_rings()
1005 static int ftgmac100_alloc_rx_buffers(struct ftgmac100 *priv) in ftgmac100_alloc_rx_buffers()
1021 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_mdiobus_read()
1057 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_mdiobus_write()
1102 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_get_ringparam()
1117 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_set_ringparam()
1138 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_get_pauseparam()
1148 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_set_pauseparam()
1181 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_interrupt()
1229 static bool ftgmac100_check_rx(struct ftgmac100 *priv) in ftgmac100_check_rx()
1239 struct ftgmac100 *priv = container_of(napi, struct ftgmac100, napi); in ftgmac100_poll()
1301 static int ftgmac100_init_all(struct ftgmac100 *priv, bool ignore_alloc_err) in ftgmac100_init_all()
1328 static void ftgmac100_reset(struct ftgmac100 *priv) in ftgmac100_reset()
1377 struct ftgmac100 *priv = container_of(work, struct ftgmac100, in ftgmac100_reset_task()
1385 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_adjust_link()
1446 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_mii_probe()
1505 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_open()
1584 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_stop()
1615 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_tx_timeout()
1627 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_set_features()
1678 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_setup_mdio()
1732 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_phy_disconnect()
1747 struct ftgmac100 *priv = netdev_priv(netdev); in ftgmac100_destroy_mdio()
1765 static int ftgmac100_setup_clk(struct ftgmac100 *priv) in ftgmac100_setup_clk()
1821 struct ftgmac100 *priv; in ftgmac100_probe()
2039 struct ftgmac100 *priv; in ftgmac100_remove()
2067 { .compatible = "faraday,ftgmac100" },
2083 MODULE_DESCRIPTION("FTGMAC100 driver");