Lines Matching refs:ag71xx
348 struct ag71xx { struct
400 static bool ag71xx_is(struct ag71xx *ag, enum ag71xx_type type) in ag71xx_is() argument
405 static void ag71xx_wr(struct ag71xx *ag, unsigned int reg, u32 value) in ag71xx_wr()
412 static u32 ag71xx_rr(struct ag71xx *ag, unsigned int reg) in ag71xx_rr()
417 static void ag71xx_sb(struct ag71xx *ag, unsigned int reg, u32 mask) in ag71xx_sb()
427 static void ag71xx_cb(struct ag71xx *ag, unsigned int reg, u32 mask) in ag71xx_cb()
437 static void ag71xx_int_enable(struct ag71xx *ag, u32 ints) in ag71xx_int_enable()
442 static void ag71xx_int_disable(struct ag71xx *ag, u32 ints) in ag71xx_int_disable()
449 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_do_ioctl()
457 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_get_drvinfo()
467 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_get_link_ksettings()
475 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_set_link_ksettings()
482 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_nway_reset()
490 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_get_pauseparam()
498 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_set_pauseparam()
522 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_ethtool_get_stats()
557 static int ag71xx_mdio_wait_busy(struct ag71xx *ag) in ag71xx_mdio_wait_busy()
581 struct ag71xx *ag = bus->priv; in ag71xx_mdio_mii_read()
610 struct ag71xx *ag = bus->priv; in ag71xx_mdio_mii_write()
634 static int ag71xx_mdio_get_divider(struct ag71xx *ag, u32 *div) in ag71xx_mdio_get_divider()
670 struct ag71xx *ag = bus->priv; in ag71xx_mdio_reset()
687 static int ag71xx_mdio_probe(struct ag71xx *ag) in ag71xx_mdio_probe()
736 static void ag71xx_hw_stop(struct ag71xx *ag) in ag71xx_hw_stop()
744 static bool ag71xx_check_dma_stuck(struct ag71xx *ag) in ag71xx_check_dma_stuck()
769 static int ag71xx_tx_packets(struct ag71xx *ag, bool flush, int budget) in ag71xx_tx_packets()
840 static void ag71xx_dma_wait_stop(struct ag71xx *ag) in ag71xx_dma_wait_stop()
859 static void ag71xx_dma_reset(struct ag71xx *ag) in ag71xx_dma_reset()
903 static void ag71xx_hw_setup(struct ag71xx *ag) in ag71xx_hw_setup()
929 static void ag71xx_hw_set_macaddr(struct ag71xx *ag, const unsigned char *mac) in ag71xx_hw_set_macaddr()
942 static void ag71xx_fast_reset(struct ag71xx *ag) in ag71xx_fast_reset()
977 static void ag71xx_hw_start(struct ag71xx *ag) in ag71xx_hw_start()
991 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_config()
1010 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_down()
1021 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_up()
1074 static int ag71xx_phylink_setup(struct ag71xx *ag) in ag71xx_phylink_setup()
1118 static void ag71xx_ring_tx_clean(struct ag71xx *ag) in ag71xx_ring_tx_clean()
1150 static void ag71xx_ring_tx_init(struct ag71xx *ag) in ag71xx_ring_tx_init()
1175 static void ag71xx_ring_rx_clean(struct ag71xx *ag) in ag71xx_ring_rx_clean()
1193 static int ag71xx_buffer_size(struct ag71xx *ag) in ag71xx_buffer_size()
1199 static bool ag71xx_fill_rx_buf(struct ag71xx *ag, struct ag71xx_buf *buf, in ag71xx_fill_rx_buf()
1225 static int ag71xx_ring_rx_init(struct ag71xx *ag) in ag71xx_ring_rx_init()
1266 static int ag71xx_ring_rx_refill(struct ag71xx *ag) in ag71xx_ring_rx_refill()
1299 static int ag71xx_rings_init(struct ag71xx *ag) in ag71xx_rings_init()
1329 static void ag71xx_rings_free(struct ag71xx *ag) in ag71xx_rings_free()
1349 static void ag71xx_rings_cleanup(struct ag71xx *ag) in ag71xx_rings_cleanup()
1358 static void ag71xx_hw_init(struct ag71xx *ag) in ag71xx_hw_init()
1375 static int ag71xx_hw_enable(struct ag71xx *ag) in ag71xx_hw_enable()
1391 static void ag71xx_hw_disable(struct ag71xx *ag) in ag71xx_hw_disable()
1406 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_open()
1441 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_stop()
1503 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_hard_start_xmit()
1575 struct ag71xx *ag = timer_container_of(ag, t, oom_timer); in ag71xx_oom_timer_handler()
1582 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_tx_timeout()
1591 struct ag71xx *ag = container_of(work, struct ag71xx, in ag71xx_restart_work_func()
1604 static int ag71xx_rx_packets(struct ag71xx *ag, int limit) in ag71xx_rx_packets()
1680 struct ag71xx *ag = container_of(napi, struct ag71xx, napi); in ag71xx_poll()
1738 struct ag71xx *ag; in ag71xx_interrupt()
1769 struct ag71xx *ag = netdev_priv(ndev); in ag71xx_change_mtu()
1801 struct ag71xx *ag; in ag71xx_probe()