Lines Matching refs:icmd
33 #define EMLXS_GET_VADDR(hba, rp, icmd) emlxs_mem_get_vaddr(hba, rp, \
34 PADDR(icmd->un.cont64[i].addrHigh, icmd->un.cont64[i].addrLow));
598 IOCB *icmd;
646 icmd = &iocbq->iocb;
658 icmd->ULPBDECOUNT = i;
660 mp = EMLXS_GET_VADDR(hba, rp, icmd);
682 (uint32_t *)&icmd->un.cont64[i].addrHigh,
683 (uint32_t *)&icmd->un.cont64[i].addrLow);
685 icmd->un.cont64[i].tus.f.bdeSize = size;
686 icmd->ULPCOMMAND = CMD_QUE_RING_BUF64_CN;
691 * rp->ringno, icmd->un.cont64[i].addrHigh,
692 * icmd->un.cont64[i].addrLow, size);
698 icmd->ULPIOTAG = tag;
699 icmd->ULPBDECOUNT = i;
700 icmd->ULPLE = 1;
701 icmd->ULPOWNER = OWN_CHIP;
2036 IOCB *icmd;
2177 icmd = &iocbq->iocb;
2180 if (icmd->ULPCOMMAND == CMD_QUE_RING_BUF64_CN ||
2181 icmd->ULPCOMMAND == CMD_QUE_RING_BUF_CN ||
2182 icmd->ULPCOMMAND == CMD_QUE_RING_LIST64_CN) {
2186 if (icmd->ULPCOMMAND !=
2194 i < icmd->ULPBDECOUNT;
2197 hba, rp, icmd);
2214 } else if (icmd->ULPCOMMAND == CMD_CLOSE_XRI_CN ||
2215 icmd->ULPCOMMAND == CMD_CLOSE_XRI_CX) {
2248 IOCB *icmd;
2426 icmd = &iocbq->iocb;
2429 if (icmd->ULPCOMMAND == CMD_QUE_RING_BUF64_CN ||
2430 icmd->ULPCOMMAND == CMD_QUE_RING_BUF_CN ||
2431 icmd->ULPCOMMAND == CMD_QUE_RING_LIST64_CN) {
2435 if (icmd->ULPCOMMAND !=
2445 i < icmd->ULPBDECOUNT;
2448 hba, rp, icmd);
2465 } else if (icmd->ULPCOMMAND == CMD_CLOSE_XRI_CN ||
2466 icmd->ULPCOMMAND == CMD_CLOSE_XRI_CX) {
2545 IOCB *icmd;
2736 icmd = &iocbq->iocb;
2739 if (icmd->ULPCOMMAND == CMD_QUE_RING_BUF64_CN ||
2740 icmd->ULPCOMMAND == CMD_QUE_RING_BUF_CN ||
2741 icmd->ULPCOMMAND == CMD_QUE_RING_LIST64_CN) {
2745 if (icmd->ULPCOMMAND !=
2755 i < icmd->ULPBDECOUNT;
2758 hba, rp, icmd);
2775 } else if (icmd->ULPCOMMAND == CMD_CLOSE_XRI_CN ||
2776 icmd->ULPCOMMAND == CMD_CLOSE_XRI_CX) {
3147 IOCB *iocb, *icmd;
3391 icmd = &iocbq->iocb;
3394 if (icmd->ULPCOMMAND == CMD_QUE_RING_BUF64_CN ||
3395 icmd->ULPCOMMAND == CMD_QUE_RING_BUF_CN ||
3396 icmd->ULPCOMMAND == CMD_QUE_RING_LIST64_CN) {
3400 if (icmd->ULPCOMMAND !=
3410 i < icmd->ULPBDECOUNT;
3413 hba, rp, icmd);