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 */
515 /* Allocate a 128 entry ATU table; hopefully its big enough! */
517 sc->atu.entries = malloc(sizeof(etherswitch_atu_entry_t) * 128,
519 if (sc->atu.entries == NULL) {
520 device_printf(sc->sc_dev, "%s: failed to allocate ATU table\n",
524 sc->atu.count = 0;
525 sc->atu.size = 128;
683 free(sc->atu.entries, M_DEVBUF);
796 * status showing up, we need to do an ATU flush.
825 /* If a port went from down->up, flush the ATU */
1161 /* Invalidate cached ATU */
1162 sc->atu.count = 0;
1176 /* Invalidate cached ATU */
1177 sc->atu.count = 0;
1196 while (err == 0 && nitems < sc->atu.size) {
1198 &sc->atu.entries[nitems], 1);
1200 sc->atu.entries[nitems].id = nitems;
1204 sc->atu.count = nitems;
1222 if (id > sc->atu.count) {
1227 memcpy(e, &sc->atu.entries[id], sizeof(*e));