Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c369 unsigned int *new_flags, u64 multicast) in ath5k_configure_filter() argument
387 *new_flags &= SUPPORTED_FIF_FLAGS; in ath5k_configure_filter()
397 if (*new_flags & FIF_PROMISC_IN_BSS) in ath5k_configure_filter()
407 if (*new_flags & FIF_ALLMULTI) { in ath5k_configure_filter()
413 if (*new_flags & (FIF_FCSFAIL | FIF_PLCPFAIL)) in ath5k_configure_filter()
418 if ((*new_flags & FIF_BCN_PRBRESP_PROMISC) || (ah->nvifs > 1)) in ath5k_configure_filter()
426 if (*new_flags & FIF_CONTROL) in ath5k_configure_filter()
477 ah->fif_filter_flags = *new_flags; in ath5k_configure_filter()
/drivers/gpu/drm/ttm/
Dttm_bo.c1005 uint32_t *new_flags) in ttm_bo_mem_compat() argument
1016 *new_flags = heap->flags; in ttm_bo_mem_compat()
1017 if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) && in ttm_bo_mem_compat()
1018 (*new_flags & mem->placement & TTM_PL_MASK_MEM)) in ttm_bo_mem_compat()
1029 *new_flags = heap->flags; in ttm_bo_mem_compat()
1030 if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) && in ttm_bo_mem_compat()
1031 (*new_flags & mem->placement & TTM_PL_MASK_MEM)) in ttm_bo_mem_compat()
1045 uint32_t new_flags; in ttm_bo_validate() local
1051 if (!ttm_bo_mem_compat(placement, &bo->mem, &new_flags)) { in ttm_bo_validate()
1061 ttm_flag_masked(&bo->mem.placement, new_flags, in ttm_bo_validate()
/drivers/staging/lustre/lustre/fld/
Dfld_cache.c390 __u32 new_flags = f_new->fce_range.lsr_flags; in fld_cache_insert_nolock() local
407 new_flags != f_curr->fce_range.lsr_flags)) in fld_cache_insert_nolock()
413 new_flags == f_curr->fce_range.lsr_flags) { in fld_cache_insert_nolock()
/drivers/net/wireless/libertas_tf/
Dmain.c445 unsigned int *new_flags, in lbtf_op_configure_filter() argument
454 *new_flags &= SUPPORTED_FIF_FLAGS; in lbtf_op_configure_filter()
461 if (*new_flags & (FIF_PROMISC_IN_BSS)) in lbtf_op_configure_filter()
465 if (*new_flags & (FIF_ALLMULTI) || in lbtf_op_configure_filter()
/drivers/net/wireless/ath/carl9170/
Dmain.c989 unsigned int *new_flags, in carl9170_op_configure_filter() argument
995 *new_flags &= FIF_ALLMULTI | ar->rx_filter_caps; in carl9170_op_configure_filter()
1002 ar->filter_state = *new_flags; in carl9170_op_configure_filter()
1008 if (*new_flags & FIF_ALLMULTI) in carl9170_op_configure_filter()
1015 ar->sniffer_enabled = !!(*new_flags & in carl9170_op_configure_filter()
1027 if (!(*new_flags & (FIF_FCSFAIL | FIF_PLCPFAIL))) in carl9170_op_configure_filter()
1030 if (!(*new_flags & FIF_CONTROL)) in carl9170_op_configure_filter()
1033 if (!(*new_flags & FIF_PSPOLL)) in carl9170_op_configure_filter()
1036 if (!(*new_flags & (FIF_OTHER_BSS | FIF_PROMISC_IN_BSS))) { in carl9170_op_configure_filter()
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1028 unsigned int new_flags; in pasemi_adjust_link() local
1048 new_flags = flags & ~(PAS_MAC_CFG_PCFG_HD | PAS_MAC_CFG_PCFG_SPD_M | in pasemi_adjust_link()
1052 new_flags |= PAS_MAC_CFG_PCFG_HD; in pasemi_adjust_link()
1056 new_flags |= PAS_MAC_CFG_PCFG_SPD_1G | in pasemi_adjust_link()
1060 new_flags |= PAS_MAC_CFG_PCFG_SPD_100M | in pasemi_adjust_link()
1064 new_flags |= PAS_MAC_CFG_PCFG_SPD_10M | in pasemi_adjust_link()
1072 msg = mac->link != mac->phydev->link || flags != new_flags; in pasemi_adjust_link()
1078 if (new_flags != flags) in pasemi_adjust_link()
1079 write_mac_reg(mac, PAS_MAC_CFG_PCFG, new_flags); in pasemi_adjust_link()
/drivers/net/wireless/rtlwifi/
Dcore.c787 unsigned int *new_flags, u64 multicast) in rtl_op_configure_filter() argument
792 *new_flags &= RTL_SUPPORTED_FILTERS; in rtl_op_configure_filter()
798 if (*new_flags & FIF_ALLMULTI) { in rtl_op_configure_filter()
812 if (*new_flags & FIF_FCSFAIL) { in rtl_op_configure_filter()
831 if (*new_flags & FIF_BCN_PRBRESP_PROMISC) in rtl_op_configure_filter()
839 if (*new_flags & FIF_CONTROL) { in rtl_op_configure_filter()
852 if (*new_flags & FIF_OTHER_BSS) { in rtl_op_configure_filter()
/drivers/net/wireless/zd1211rw/
Dzd_mac.c1237 unsigned int *new_flags, in zd_op_configure_filter() argument
1250 *new_flags &= SUPPORTED_FIF_FLAGS; in zd_op_configure_filter()
1259 if (*new_flags & (FIF_PROMISC_IN_BSS | FIF_ALLMULTI)) in zd_op_configure_filter()
1263 mac->pass_failed_fcs = !!(*new_flags & FIF_FCSFAIL); in zd_op_configure_filter()
1264 mac->pass_ctrl = !!(*new_flags & FIF_CONTROL); in zd_op_configure_filter()
/drivers/net/wireless/
Dadm8211.c1348 unsigned int new_flags; in adm8211_configure_filter() local
1354 new_flags = 0; in adm8211_configure_filter()
1357 new_flags |= FIF_PROMISC_IN_BSS; in adm8211_configure_filter()
1362 new_flags |= FIF_ALLMULTI; in adm8211_configure_filter()
1388 *total_flags = new_flags; in adm8211_configure_filter()
/drivers/net/wireless/ath/ath9k/
Dar9003_mci.c971 u32 new_flags, to_set, to_clear; in ar9003_mci_send_2g5g_status() local
977 new_flags = MCI_2G_FLAGS; in ar9003_mci_send_2g5g_status()
981 new_flags = MCI_5G_FLAGS; in ar9003_mci_send_2g5g_status()
/drivers/tty/serial/
Dserial_core.c723 upf_t old_flags, new_flags; in uart_set_info() local
754 new_flags = new_info->flags; in uart_set_info()
765 (((new_flags ^ old_flags) & ~UPF_USR_MASK) != 0)) in uart_set_info()
768 (new_flags & UPF_USR_MASK)); in uart_set_info()
873 (new_flags & UPF_CHANGE_MASK); in uart_set_info()