Searched refs:mcast_count (Results 1 – 2 of 2) sorted by relevance
1132 int mcast_count = 0; in owl_emac_ndo_set_rx_mode() local1139 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()
492 u8 mcast_count[256]; member1379 memset(pp->mcast_count, 0, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()1382 memset(pp->mcast_count, 1, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()3018 if (pp->mcast_count[crc_result] == 0) { in mvneta_mcast_addr_set()3024 pp->mcast_count[crc_result]--; in mvneta_mcast_addr_set()3025 if (pp->mcast_count[crc_result] != 0) { in mvneta_mcast_addr_set()3028 pp->mcast_count[crc_result], crc_result); in mvneta_mcast_addr_set()3032 pp->mcast_count[crc_result]++; in mvneta_mcast_addr_set()