Lines Matching refs:pn
87 u64 pn; in key_tx_spec_write() local
105 ret = kstrtou64_from_user(userbuf, count, 16, &pn); in key_tx_spec_write()
109 if (pn >= (1ULL << 48)) in key_tx_spec_write()
111 atomic64_set(&key->conf.tx_pn, pn); in key_tx_spec_write()
121 u64 pn; in key_tx_spec_read() local
132 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
134 TKIP_PN_TO_IV32(pn), in key_tx_spec_read()
135 TKIP_PN_TO_IV16(pn)); in key_tx_spec_read()
145 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
147 (u8)(pn >> 40), (u8)(pn >> 32), (u8)(pn >> 24), in key_tx_spec_read()
148 (u8)(pn >> 16), (u8)(pn >> 8), (u8)pn); in key_tx_spec_read()