Home
last modified time | relevance | path

Searched refs:entr (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/net/dsa/
Dlan9303-core.c506 struct lan9303_alr_cache_entry *entr = chip->alr_cache; in lan9303_alr_cache_find_free() local
508 for (i = 0; i < LAN9303_NUM_ALR_RECORDS; i++, entr++) in lan9303_alr_cache_find_free()
509 if (entr->port_map == 0) in lan9303_alr_cache_find_free()
510 return entr; in lan9303_alr_cache_find_free()
520 struct lan9303_alr_cache_entry *entr = chip->alr_cache; in lan9303_alr_cache_find_mac() local
525 for (i = 0; i < LAN9303_NUM_ALR_RECORDS; i++, entr++) in lan9303_alr_cache_find_mac()
526 if (ether_addr_equal(entr->mac_addr, mac_addr)) in lan9303_alr_cache_find_mac()
527 return entr; in lan9303_alr_cache_find_mac()
678 struct lan9303_alr_cache_entry *entr; in lan9303_alr_add_port() local
681 entr = lan9303_alr_cache_find_mac(chip, mac); in lan9303_alr_add_port()
[all …]