Lines Matching defs:ag71xx
346 struct ag71xx {
401 static bool ag71xx_is(struct ag71xx *ag, enum ag71xx_type type)
406 static void ag71xx_wr(struct ag71xx *ag, unsigned int reg, u32 value)
413 static u32 ag71xx_rr(struct ag71xx *ag, unsigned int reg)
418 static void ag71xx_sb(struct ag71xx *ag, unsigned int reg, u32 mask)
428 static void ag71xx_cb(struct ag71xx *ag, unsigned int reg, u32 mask)
438 static void ag71xx_int_enable(struct ag71xx *ag, u32 ints)
443 static void ag71xx_int_disable(struct ag71xx *ag, u32 ints)
451 struct ag71xx *ag = netdev_priv(ndev);
453 strlcpy(info->driver, "ag71xx", sizeof(info->driver));
461 struct ag71xx *ag = netdev_priv(ndev);
469 struct ag71xx *ag = netdev_priv(ndev);
476 struct ag71xx *ag = netdev_priv(ndev);
484 struct ag71xx *ag = netdev_priv(ndev);
492 struct ag71xx *ag = netdev_priv(ndev);
512 struct ag71xx *ag = netdev_priv(ndev);
541 static int ag71xx_mdio_wait_busy(struct ag71xx *ag)
565 struct ag71xx *ag = bus->priv;
594 struct ag71xx *ag = bus->priv;
618 static int ag71xx_mdio_get_divider(struct ag71xx *ag, u32 *div)
654 struct ag71xx *ag = bus->priv;
671 static int ag71xx_mdio_probe(struct ag71xx *ag)
737 static void ag71xx_mdio_remove(struct ag71xx *ag)
744 static void ag71xx_hw_stop(struct ag71xx *ag)
752 static bool ag71xx_check_dma_stuck(struct ag71xx *ag)
777 static int ag71xx_tx_packets(struct ag71xx *ag, bool flush)
848 static void ag71xx_dma_wait_stop(struct ag71xx *ag)
867 static void ag71xx_dma_reset(struct ag71xx *ag)
911 static void ag71xx_hw_setup(struct ag71xx *ag)
937 static void ag71xx_hw_set_macaddr(struct ag71xx *ag, unsigned char *mac)
950 static void ag71xx_fast_reset(struct ag71xx *ag)
985 static void ag71xx_hw_start(struct ag71xx *ag)
999 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev));
1019 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev));
1097 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev));
1108 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev));
1164 static int ag71xx_phylink_setup(struct ag71xx *ag)
1180 static void ag71xx_ring_tx_clean(struct ag71xx *ag)
1212 static void ag71xx_ring_tx_init(struct ag71xx *ag)
1237 static void ag71xx_ring_rx_clean(struct ag71xx *ag)
1255 static int ag71xx_buffer_size(struct ag71xx *ag)
1261 static bool ag71xx_fill_rx_buf(struct ag71xx *ag, struct ag71xx_buf *buf,
1282 static int ag71xx_ring_rx_init(struct ag71xx *ag)
1323 static int ag71xx_ring_rx_refill(struct ag71xx *ag)
1356 static int ag71xx_rings_init(struct ag71xx *ag)
1386 static void ag71xx_rings_free(struct ag71xx *ag)
1406 static void ag71xx_rings_cleanup(struct ag71xx *ag)
1415 static void ag71xx_hw_init(struct ag71xx *ag)
1432 static int ag71xx_hw_enable(struct ag71xx *ag)
1448 static void ag71xx_hw_disable(struct ag71xx *ag)
1463 struct ag71xx *ag = netdev_priv(ndev);
1498 struct ag71xx *ag = netdev_priv(ndev);
1560 struct ag71xx *ag = netdev_priv(ndev);
1628 struct ag71xx *ag = from_timer(ag, t, oom_timer);
1635 struct ag71xx *ag = netdev_priv(ndev);
1644 struct ag71xx *ag = container_of(work, struct ag71xx,
1657 static int ag71xx_rx_packets(struct ag71xx *ag, int limit)
1741 struct ag71xx *ag = container_of(napi, struct ag71xx, napi);
1799 struct ag71xx *ag;
1830 struct ag71xx *ag = netdev_priv(ndev);
1862 struct ag71xx *ag;
2017 struct ag71xx *ag;
2117 .name = "ag71xx",