Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Ddrv_types.h632 static inline void RTW_DISABLE_FUNC(struct adapter *padapter, int func_bit) in RTW_DISABLE_FUNC() argument
635 df |= func_bit; in RTW_DISABLE_FUNC()
639 static inline void RTW_ENABLE_FUNC(struct adapter *padapter, int func_bit) in RTW_ENABLE_FUNC() argument
642 df &= ~(func_bit); in RTW_ENABLE_FUNC()
646 …define RTW_IS_FUNC_DISABLED(padapter, func_bit) (atomic_read(&adapter_to_dvobj(padapter)->disable_… argument
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c3861 unsigned long func_bit, rss_cap_hfunc; in nfp_net_rss_init() local
3871 func_bit = find_first_bit(&rss_cap_hfunc, NFP_NET_CFG_RSS_HFUNCS); in nfp_net_rss_init()
3872 if (func_bit == NFP_NET_CFG_RSS_HFUNCS) { in nfp_net_rss_init()
3875 func_bit = ETH_RSS_HASH_TOP_BIT; in nfp_net_rss_init()
3877 nn->rss_hfunc = 1 << func_bit; in nfp_net_rss_init()