Lines Matching defs:mbx
319 uint16_t cnt, mbx;
402 mbx = IS_QLA81XX(ha) ? RD_REG_WORD(®24->mailbox7) : 0;
405 "mbx7=%xh.\n", mb[1], mb[2], mb[3], mbx);
494 mbx = IS_QLA81XX(ha) ? RD_REG_WORD(®24->mailbox4) : 0;
497 mbx));
500 mbx);
898 struct mbx_entry *mbx)
909 sp = qla2x00_get_sp_from_handle(vha, func, req, mbx);
922 if (mbx->entry_status) {
929 fcport->d_id.b.al_pa, mbx->entry_status,
930 le16_to_cpu(mbx->status), le16_to_cpu(mbx->state_flags),
931 le16_to_cpu(mbx->status_flags)));
933 DEBUG2(qla2x00_dump_buffer((uint8_t *)mbx, sizeof(*mbx)));
938 status = le16_to_cpu(mbx->status);
940 le16_to_cpu(mbx->mb0) == MBS_COMMAND_COMPLETE)
942 if (!status && le16_to_cpu(mbx->mb0) == MBS_COMMAND_COMPLETE) {
948 fcport->d_id.b.al_pa, le16_to_cpu(mbx->mb1)));
953 if (le16_to_cpu(mbx->mb1) & BIT_0)
955 else if (le16_to_cpu(mbx->mb1) & BIT_1)
961 data[0] = le16_to_cpu(mbx->mb0);
964 data[1] = le16_to_cpu(mbx->mb1);
978 le16_to_cpu(mbx->mb0), le16_to_cpu(mbx->mb1),
979 le16_to_cpu(mbx->mb2), le16_to_cpu(mbx->mb6),
980 le16_to_cpu(mbx->mb7)));