Lines Matching defs:ag

403 static bool ag71xx_is(struct ag71xx *ag, enum ag71xx_type type)  in ag71xx_is()
408 static void ag71xx_wr(struct ag71xx *ag, unsigned int reg, u32 value) in ag71xx_wr()
415 static u32 ag71xx_rr(struct ag71xx *ag, unsigned int reg) in ag71xx_rr()
420 static void ag71xx_sb(struct ag71xx *ag, unsigned int reg, u32 mask) in ag71xx_sb()
430 static void ag71xx_cb(struct ag71xx *ag, unsigned int reg, u32 mask) in ag71xx_cb()
440 static void ag71xx_int_enable(struct ag71xx *ag, u32 ints) in ag71xx_int_enable()
445 static void ag71xx_int_disable(struct ag71xx *ag, u32 ints) in ag71xx_int_disable()
453 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_get_drvinfo() local
463 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_get_link_ksettings() local
471 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_set_link_ksettings() local
478 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_nway_reset() local
486 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_get_pauseparam() local
494 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_set_pauseparam() local
514 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_get_stats() local
543 static int ag71xx_mdio_wait_busy(struct ag71xx *ag) in ag71xx_mdio_wait_busy()
567 struct ag71xx *ag = bus->priv; in ag71xx_mdio_mii_read() local
596 struct ag71xx *ag = bus->priv; in ag71xx_mdio_mii_write() local
620 static int ag71xx_mdio_get_divider(struct ag71xx *ag, u32 *div) in ag71xx_mdio_get_divider()
656 struct ag71xx *ag = bus->priv; in ag71xx_mdio_reset() local
673 static int ag71xx_mdio_probe(struct ag71xx *ag) in ag71xx_mdio_probe()
739 static void ag71xx_mdio_remove(struct ag71xx *ag) in ag71xx_mdio_remove()
746 static void ag71xx_hw_stop(struct ag71xx *ag) in ag71xx_hw_stop()
754 static bool ag71xx_check_dma_stuck(struct ag71xx *ag) in ag71xx_check_dma_stuck()
779 static int ag71xx_tx_packets(struct ag71xx *ag, bool flush) in ag71xx_tx_packets()
850 static void ag71xx_dma_wait_stop(struct ag71xx *ag) in ag71xx_dma_wait_stop()
869 static void ag71xx_dma_reset(struct ag71xx *ag) in ag71xx_dma_reset()
913 static void ag71xx_hw_setup(struct ag71xx *ag) in ag71xx_hw_setup()
939 static void ag71xx_hw_set_macaddr(struct ag71xx *ag, unsigned char *mac) in ag71xx_hw_set_macaddr()
952 static void ag71xx_fast_reset(struct ag71xx *ag) in ag71xx_fast_reset()
987 static void ag71xx_hw_start(struct ag71xx *ag) in ag71xx_hw_start()
1001 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_config() local
1021 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_validate() local
1099 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_down() local
1110 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_up() local
1166 static int ag71xx_phylink_setup(struct ag71xx *ag) in ag71xx_phylink_setup()
1182 static void ag71xx_ring_tx_clean(struct ag71xx *ag) in ag71xx_ring_tx_clean()
1214 static void ag71xx_ring_tx_init(struct ag71xx *ag) in ag71xx_ring_tx_init()
1239 static void ag71xx_ring_rx_clean(struct ag71xx *ag) in ag71xx_ring_rx_clean()
1257 static int ag71xx_buffer_size(struct ag71xx *ag) in ag71xx_buffer_size()
1263 static bool ag71xx_fill_rx_buf(struct ag71xx *ag, struct ag71xx_buf *buf, in ag71xx_fill_rx_buf()
1284 static int ag71xx_ring_rx_init(struct ag71xx *ag) in ag71xx_ring_rx_init()
1325 static int ag71xx_ring_rx_refill(struct ag71xx *ag) in ag71xx_ring_rx_refill()
1358 static int ag71xx_rings_init(struct ag71xx *ag) in ag71xx_rings_init()
1388 static void ag71xx_rings_free(struct ag71xx *ag) in ag71xx_rings_free()
1408 static void ag71xx_rings_cleanup(struct ag71xx *ag) in ag71xx_rings_cleanup()
1417 static void ag71xx_hw_init(struct ag71xx *ag) in ag71xx_hw_init()
1434 static int ag71xx_hw_enable(struct ag71xx *ag) in ag71xx_hw_enable()
1450 static void ag71xx_hw_disable(struct ag71xx *ag) in ag71xx_hw_disable()
1465 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_open() local
1499 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_stop() local
1561 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_hard_start_xmit() local
1629 struct ag71xx *ag = from_timer(ag, t, oom_timer); in ag71xx_oom_timer_handler() local
1636 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_tx_timeout() local
1645 struct ag71xx *ag = container_of(work, struct ag71xx, in ag71xx_restart_work_func() local
1658 static int ag71xx_rx_packets(struct ag71xx *ag, int limit) in ag71xx_rx_packets()
1742 struct ag71xx *ag = container_of(napi, struct ag71xx, napi); in ag71xx_poll() local
1800 struct ag71xx *ag; in ag71xx_interrupt() local
1831 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_change_mtu() local
1863 struct ag71xx *ag; in ag71xx_probe() local
2025 struct ag71xx *ag; in ag71xx_remove() local