Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/alacritech/
Dslicoss.c206 static void slic_set_mcast_bit(u64 *mcmask, unsigned char const *addr) in slic_set_mcast_bit() argument
208 u64 mask = *mcmask; in slic_set_mcast_bit()
218 *mcmask = mask; in slic_set_mcast_bit()
312 u64 mcmask; in slic_set_rx_mode() local
320 mcmask = ~(u64)0; in slic_set_rx_mode()
322 mcmask = 0; in slic_set_rx_mode()
325 slic_set_mcast_bit(&mcmask, hwaddr->addr); in slic_set_rx_mode()
329 slic_write(sdev, SLIC_REG_MCASTLOW, lower_32_bits(mcmask)); in slic_set_rx_mode()
330 slic_write(sdev, SLIC_REG_MCASTHIGH, upper_32_bits(mcmask)); in slic_set_rx_mode()