Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dmvneta.c266 u8 mcast_count[256]; member
740 memset(pp->mcast_count, 0, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
743 memset(pp->mcast_count, 1, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
/openbmc/linux/drivers/net/ethernet/actions/
H A Dowl-emac.c1132 int mcast_count = 0; in owl_emac_ndo_set_rx_mode() local
1139 mcast_count = netdev_mc_count(netdev); in owl_emac_ndo_set_rx_mode()
1141 if (mcast_count > OWL_EMAC_MAX_MULTICAST_ADDRS) { in owl_emac_ndo_set_rx_mode()
1143 mcast_count = 0; in owl_emac_ndo_set_rx_mode()
1163 owl_emac_set_multicast(netdev, mcast_count); in owl_emac_ndo_set_rx_mode()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c527 u8 mcast_count[256]; member
1416 memset(pp->mcast_count, 0, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
1419 memset(pp->mcast_count, 1, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
3151 if (pp->mcast_count[crc_result] == 0) { in mvneta_mcast_addr_set()
3157 pp->mcast_count[crc_result]--; in mvneta_mcast_addr_set()
3158 if (pp->mcast_count[crc_result] != 0) { in mvneta_mcast_addr_set()
3161 pp->mcast_count[crc_result], crc_result); in mvneta_mcast_addr_set()
3165 pp->mcast_count[crc_result]++; in mvneta_mcast_addr_set()