Lines Matching refs:hwinfo
27 return aq->card->hwinfo.ep11 || aq->card->hwinfo.accel; in ap_q_supported_in_se()
32 return aq->card->hwinfo.ep11 || aq->card->hwinfo.accel; in ap_q_supports_bind()
37 return aq->card->hwinfo.ep11; in ap_q_supports_assoc()
271 if (aq->queue_count < aq->card->hwinfo.qd) { in ap_sm_write()
352 struct ap_tapq_hwinfo hwinfo; in ap_sm_reset_wait() local
356 status = ap_test_queue(aq->qid, 1, &hwinfo); in ap_sm_reset_wait()
360 aq->se_bstate = hwinfo.bs; in ap_sm_reset_wait()
432 struct ap_tapq_hwinfo hwinfo; in ap_sm_assoc_wait() local
434 status = ap_test_queue(aq->qid, 1, &hwinfo); in ap_sm_assoc_wait()
454 aq->se_bstate = hwinfo.bs; in ap_sm_assoc_wait()
457 switch (hwinfo.bs) { in ap_sm_assoc_wait()
474 __func__, hwinfo.bs, in ap_sm_assoc_wait()
701 struct ap_tapq_hwinfo hwinfo; in ap_functions_show() local
703 status = ap_test_queue(aq->qid, 1, &hwinfo); in ap_functions_show()
711 return sysfs_emit(buf, "0x%08X\n", hwinfo.fac); in ap_functions_show()
854 struct ap_tapq_hwinfo hwinfo; in se_bind_show() local
859 status = ap_test_queue(aq->qid, 1, &hwinfo); in se_bind_show()
869 aq->se_bstate = hwinfo.bs; in se_bind_show()
872 switch (hwinfo.bs) { in se_bind_show()
887 struct ap_tapq_hwinfo hwinfo; in se_bind_store() local
910 status = ap_test_queue(aq->qid, 1, &hwinfo); in se_bind_store()
920 aq->se_bstate = hwinfo.bs; in se_bind_store()
921 if (hwinfo.bs != AP_BS_Q_AVAIL_FOR_BINDING) { in se_bind_store()
923 __func__, hwinfo.bs, in se_bind_store()
947 status = ap_test_queue(aq->qid, 1, &hwinfo); in se_bind_store()
955 aq->se_bstate = hwinfo.bs; in se_bind_store()
956 if (!(hwinfo.bs == AP_BS_Q_USABLE || in se_bind_store()
957 hwinfo.bs == AP_BS_Q_USABLE_NO_SECURE_KEY)) { in se_bind_store()
959 __func__, hwinfo.bs, in se_bind_store()
982 struct ap_tapq_hwinfo hwinfo; in se_associate_show() local
987 status = ap_test_queue(aq->qid, 1, &hwinfo); in se_associate_show()
997 aq->se_bstate = hwinfo.bs; in se_associate_show()
1000 switch (hwinfo.bs) { in se_associate_show()
1022 struct ap_tapq_hwinfo hwinfo; in se_associate_store() local
1037 status = ap_test_queue(aq->qid, 1, &hwinfo); in se_associate_store()
1045 aq->se_bstate = hwinfo.bs; in se_associate_store()
1046 if (hwinfo.bs != AP_BS_Q_USABLE_NO_SECURE_KEY) { in se_associate_store()
1048 __func__, hwinfo.bs, in se_associate_store()