Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/greybus/
Dinterface.c57 u32 sn0, sn1; in gb_interface_read_ara_dme() local
84 ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_GMP_SN1, &sn1); in gb_interface_read_ara_dme()
88 intf->serial_number = (u64)sn1 << 32 | sn0; in gb_interface_read_ara_dme()
/linux-6.1.9/include/linux/
Dieee80211.h189 static inline bool ieee80211_sn_less(u16 sn1, u16 sn2) in ieee80211_sn_less() argument
191 return ((sn1 - sn2) & IEEE80211_SN_MASK) > (IEEE80211_SN_MODULO >> 1); in ieee80211_sn_less()
194 static inline u16 ieee80211_sn_add(u16 sn1, u16 sn2) in ieee80211_sn_add() argument
196 return (sn1 + sn2) & IEEE80211_SN_MASK; in ieee80211_sn_add()
204 static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) in ieee80211_sn_sub() argument
206 return (sn1 - sn2) & IEEE80211_SN_MASK; in ieee80211_sn_sub()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drxmq.c571 static bool iwl_mvm_is_sn_less(u16 sn1, u16 sn2, u16 buffer_size) in iwl_mvm_is_sn_less() argument
573 return ieee80211_sn_less(sn1, sn2) && in iwl_mvm_is_sn_less()
574 !ieee80211_sn_less(sn1, sn2 - buffer_size); in iwl_mvm_is_sn_less()