Lines Matching refs:hsn
84 u32 hsn; member
726 static int cmd_finalize(struct opal_dev *cmd, u32 hsn, u32 tsn) in cmd_finalize() argument
753 hdr->pkt.hsn = cpu_to_be32(hsn); in cmd_finalize()
1089 u32 hsn, tsn; in start_opal_session_cont() local
1096 hsn = response_get_u64(&dev->parsed, 4); in start_opal_session_cont()
1099 if (hsn != GENERIC_HOST_SESSION_NUM || tsn < FIRST_TPER_SESSION_NUM) { in start_opal_session_cont()
1104 dev->hsn = hsn; in start_opal_session_cont()
1127 dev->hsn = 0; in end_session_cont()
1137 ret = cmd_finalize(dev, dev->hsn, dev->tsn); in finalize_and_send()
1444 u32 hsn; in start_generic_opal_session() local
1450 hsn = GENERIC_HOST_SESSION_NUM; in start_generic_opal_session()
1454 add_token_u64(&err, dev, hsn); in start_generic_opal_session()
1543 u32 hsn = GENERIC_HOST_SESSION_NUM; in start_auth_opal_session() local
1560 add_token_u64(&err, dev, hsn); in start_auth_opal_session()
2141 dev->hsn = 0; in setup_opal_dev()
2605 dev->hsn = 0; in opal_unlock_from_suspend()