Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c475 u32 orig_flags, new_flags, changed_flags; in iavf_set_priv_flags() local
478 orig_flags = READ_ONCE(adapter->flags); in iavf_set_priv_flags()
479 new_flags = orig_flags; in iavf_set_priv_flags()
492 ((orig_flags ^ new_flags) & ~BIT(i))) in iavf_set_priv_flags()
507 if (cmpxchg(&adapter->flags, orig_flags, new_flags) != orig_flags) { in iavf_set_priv_flags()
513 changed_flags = orig_flags ^ new_flags; in iavf_set_priv_flags()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c4940 u64 orig_flags, new_flags, changed_flags; in i40e_set_priv_flags() local
4948 orig_flags = READ_ONCE(pf->flags); in i40e_set_priv_flags()
4949 new_flags = orig_flags; in i40e_set_priv_flags()
4963 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
4982 ((orig_flags ^ new_flags) & ~BIT(i))) in i40e_set_priv_flags()
4987 changed_flags = orig_flags ^ new_flags; in i40e_set_priv_flags()
5087 (orig_flags & I40E_FLAG_TOTAL_PORT_SHUTDOWN_ENABLED)) { in i40e_set_priv_flags()
/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2495 unsigned long orig_flags; in ofdpa_port_attr_bridge_flags_set() local
2498 orig_flags = ofdpa_port->brport_flags; in ofdpa_port_attr_bridge_flags_set()
2500 if ((orig_flags ^ ofdpa_port->brport_flags) & BR_LEARNING && in ofdpa_port_attr_bridge_flags_set()
2506 ofdpa_port->brport_flags = orig_flags; in ofdpa_port_attr_bridge_flags_set()
/drivers/net/ethernet/intel/ice/
Dice_ethtool.c1178 DECLARE_BITMAP(orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1191 bitmap_copy(orig_flags, pf->flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
1203 bitmap_xor(change_flags, pf->flags, orig_flags, ICE_PF_FLAGS_NBITS); in ice_set_priv_flags()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c6516 if (channel->orig_flags & IEEE80211_CHAN_DISABLED) in brcmf_construct_chaninfo()