Lines Matching defs:ag71xx

348 struct ag71xx {
403 static bool ag71xx_is(struct ag71xx *ag, enum ag71xx_type type)
408 static void ag71xx_wr(struct ag71xx *ag, unsigned int reg, u32 value)
415 static u32 ag71xx_rr(struct ag71xx *ag, unsigned int reg)
420 static void ag71xx_sb(struct ag71xx *ag, unsigned int reg, u32 mask)
430 static void ag71xx_cb(struct ag71xx *ag, unsigned int reg, u32 mask)
440 static void ag71xx_int_enable(struct ag71xx *ag, u32 ints)
445 static void ag71xx_int_disable(struct ag71xx *ag, u32 ints)
453 struct ag71xx *ag = netdev_priv(ndev);
455 strscpy(info->driver, "ag71xx", sizeof(info->driver));
463 struct ag71xx *ag = netdev_priv(ndev);
471 struct ag71xx *ag = netdev_priv(ndev);
478 struct ag71xx *ag = netdev_priv(ndev);
486 struct ag71xx *ag = netdev_priv(ndev);
494 struct ag71xx *ag = netdev_priv(ndev);
519 struct ag71xx *ag = netdev_priv(ndev);
554 static int ag71xx_mdio_wait_busy(struct ag71xx *ag)
578 struct ag71xx *ag = bus->priv;
607 struct ag71xx *ag = bus->priv;
631 static int ag71xx_mdio_get_divider(struct ag71xx *ag, u32 *div)
667 struct ag71xx *ag = bus->priv;
684 static int ag71xx_mdio_probe(struct ag71xx *ag)
750 static void ag71xx_mdio_remove(struct ag71xx *ag)
757 static void ag71xx_hw_stop(struct ag71xx *ag)
765 static bool ag71xx_check_dma_stuck(struct ag71xx *ag)
790 static int ag71xx_tx_packets(struct ag71xx *ag, bool flush, int budget)
861 static void ag71xx_dma_wait_stop(struct ag71xx *ag)
880 static void ag71xx_dma_reset(struct ag71xx *ag)
924 static void ag71xx_hw_setup(struct ag71xx *ag)
950 static void ag71xx_hw_set_macaddr(struct ag71xx *ag, const unsigned char *mac)
963 static void ag71xx_fast_reset(struct ag71xx *ag)
998 static void ag71xx_hw_start(struct ag71xx *ag)
1012 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev));
1031 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev));
1042 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev));
1095 static int ag71xx_phylink_setup(struct ag71xx *ag)
1139 static void ag71xx_ring_tx_clean(struct ag71xx *ag)
1171 static void ag71xx_ring_tx_init(struct ag71xx *ag)
1196 static void ag71xx_ring_rx_clean(struct ag71xx *ag)
1214 static int ag71xx_buffer_size(struct ag71xx *ag)
1220 static bool ag71xx_fill_rx_buf(struct ag71xx *ag, struct ag71xx_buf *buf,
1241 static int ag71xx_ring_rx_init(struct ag71xx *ag)
1282 static int ag71xx_ring_rx_refill(struct ag71xx *ag)
1315 static int ag71xx_rings_init(struct ag71xx *ag)
1345 static void ag71xx_rings_free(struct ag71xx *ag)
1365 static void ag71xx_rings_cleanup(struct ag71xx *ag)
1374 static void ag71xx_hw_init(struct ag71xx *ag)
1391 static int ag71xx_hw_enable(struct ag71xx *ag)
1407 static void ag71xx_hw_disable(struct ag71xx *ag)
1422 struct ag71xx *ag = netdev_priv(ndev);
1457 struct ag71xx *ag = netdev_priv(ndev);
1519 struct ag71xx *ag = netdev_priv(ndev);
1587 struct ag71xx *ag = from_timer(ag, t, oom_timer);
1594 struct ag71xx *ag = netdev_priv(ndev);
1603 struct ag71xx *ag = container_of(work, struct ag71xx,
1616 static int ag71xx_rx_packets(struct ag71xx *ag, int limit)
1700 struct ag71xx *ag = container_of(napi, struct ag71xx, napi);
1758 struct ag71xx *ag;
1789 struct ag71xx *ag = netdev_priv(ndev);
1820 struct ag71xx *ag;
1974 struct ag71xx *ag;
2074 .name = "ag71xx",