Searched refs:nfilter (Results 1 – 2 of 2) sorted by relevance
668 struct bcmasp_net_filter *nfilter = NULL; in bcmasp_netfilt_get_init() local714 nfilter = &priv->net_filters[open_index]; in bcmasp_netfilt_get_init()715 nfilter->claimed = true; in bcmasp_netfilt_get_init()716 nfilter->port = intf->port; in bcmasp_netfilt_get_init()717 nfilter->ch = intf->channel + priv->tx_chan_offset; in bcmasp_netfilt_get_init()718 nfilter->hw_index = open_index; in bcmasp_netfilt_get_init()725 nfilter->wake_filter = true; in bcmasp_netfilt_get_init()728 return nfilter ? nfilter : ERR_PTR(-EINVAL); in bcmasp_netfilt_get_init()
3517 int i, nfilter; in bcmgenet_set_rx_mode() local3523 nfilter = netdev_uc_count(dev) + netdev_mc_count(dev) + 2; in bcmgenet_set_rx_mode()3535 (nfilter > MAX_MDF_FILTER)) { in bcmgenet_set_rx_mode()3563 reg = GENMASK(MAX_MDF_FILTER - 1, MAX_MDF_FILTER - nfilter); in bcmgenet_set_rx_mode()