Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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 bool ieee80211_sn_less_eq(u16 sn1, u16 sn2) in ieee80211_sn_less_eq() argument
196 return ((sn2 - sn1) & IEEE80211_SN_MASK) <= (IEEE80211_SN_MODULO >> 1); in ieee80211_sn_less_eq()
199 static inline u16 ieee80211_sn_add(u16 sn1, u16 sn2) in ieee80211_sn_add() argument
201 return (sn1 + sn2) & IEEE80211_SN_MASK; in ieee80211_sn_add()
209 static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) in ieee80211_sn_sub() argument
211 return (sn1 - sn2) & IEEE80211_SN_MASK; in ieee80211_sn_sub()