Lines Matching full:atu
275 * Flush all ATU entries.
299 * Flush ATU entries for a single port.
336 * Fetch a single entry from the ATU.
377 /* Fetch the ethernet address and ATU status */ in ar8xxx_atu_fetch_table()
515 /* Allocate a 128 entry ATU table; hopefully its big enough! */ in arswitch_attach()
517 sc->atu.entries = malloc(sizeof(etherswitch_atu_entry_t) * 128, in arswitch_attach()
519 if (sc->atu.entries == NULL) { in arswitch_attach()
520 device_printf(sc->sc_dev, "%s: failed to allocate ATU table\n", in arswitch_attach()
524 sc->atu.count = 0; in arswitch_attach()
525 sc->atu.size = 128; in arswitch_attach()
683 free(sc->atu.entries, M_DEVBUF); in arswitch_detach()
796 * status showing up, we need to do an ATU flush. in arswitch_miipollstat()
825 /* If a port went from down->up, flush the ATU */ in arswitch_miipollstat()
1161 /* Invalidate cached ATU */ in arswitch_atu_flush_all()
1162 sc->atu.count = 0; in arswitch_atu_flush_all()
1176 /* Invalidate cached ATU */ in arswitch_atu_flush_port()
1177 sc->atu.count = 0; in arswitch_atu_flush_port()
1196 while (err == 0 && nitems < sc->atu.size) { in arswitch_atu_fetch_table()
1198 &sc->atu.entries[nitems], 1); in arswitch_atu_fetch_table()
1200 sc->atu.entries[nitems].id = nitems; in arswitch_atu_fetch_table()
1204 sc->atu.count = nitems; in arswitch_atu_fetch_table()
1222 if (id > sc->atu.count) { in arswitch_atu_fetch_table_entry()
1227 memcpy(e, &sc->atu.entries[id], sizeof(*e)); in arswitch_atu_fetch_table_entry()