Lines Matching refs:tag

40 	unsigned int tag = 0;
79 wrb = alloc_mcc_wrb(phba, &tag);
92 be_mcc_notify(phba, tag);
95 return tag;
125 unsigned int tag = 0;
149 wrb = alloc_mcc_wrb(phba, &tag);
208 be_mcc_notify(phba, tag);
210 return tag;
231 unsigned int tag;
235 wrb = alloc_mcc_wrb(phba, &tag);
250 set_bit(MCC_TAG_STATE_ASYNC, &ctrl->ptag_state[tag].tag_state);
251 ctrl->ptag_state[tag].cbfn = cbfn;
252 tag_mem = &phba->ctrl.ptag_state[tag].tag_mem_state;
259 be_mcc_notify(phba, tag);
266 rc = beiscsi_mccq_compl_wait(phba, tag, NULL, nonemb_cmd);
297 * If FW is busy the DMA buffer is saved with the tag. When the cmd
306 static void __beiscsi_eq_delay_compl(struct beiscsi_hba *phba, unsigned int tag)
311 __beiscsi_mcc_compl_status(phba, tag, NULL, NULL);
312 tag_mem = &phba->ctrl.ptag_state[tag].tag_mem_state;
394 unsigned int tag;
399 wrb = alloc_mcc_wrb(phba, &tag);
410 be_mcc_notify(phba, tag);
413 status = beiscsi_mccq_compl_wait(phba, tag, &wrb, NULL);
711 * @vlan_tag: VLAN tag
723 unsigned int tag;
725 tag = be_cmd_set_vlan(phba, vlan_tag);
726 if (!tag) {
733 rc = beiscsi_mccq_compl_wait(phba, tag, NULL, NULL);
820 unsigned int tag)
836 if (phba->boot_struct.tag != tag) {
838 "BG_%d : %s tag mismatch %d:%d\n",
839 __func__, tag, phba->boot_struct.tag);
847 status = __beiscsi_mcc_compl_status(phba, tag, NULL, NULL);
854 status = __beiscsi_mcc_compl_status(phba, tag, &wrb, NULL);
867 status = __beiscsi_mcc_compl_status(phba, tag, NULL,
885 status = __beiscsi_mcc_compl_status(phba, tag, &wrb, NULL);
901 /* clear the tag so no other completion matches this tag */
902 bs->tag = 0;
930 unsigned int tag;
933 wrb = alloc_mcc_wrb(phba, &tag);
947 phba->boot_struct.tag = tag;
948 set_bit(MCC_TAG_STATE_ASYNC, &ctrl->ptag_state[tag].tag_state);
949 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl;
951 be_mcc_notify(phba, tag);
954 return tag;
969 unsigned int tag;
972 wrb = alloc_mcc_wrb(phba, &tag);
986 phba->boot_struct.tag = tag;
987 set_bit(MCC_TAG_STATE_ASYNC, &ctrl->ptag_state[tag].tag_state);
988 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl;
990 be_mcc_notify(phba, tag);
992 return tag;
1012 unsigned int tag;
1015 wrb = alloc_mcc_wrb(phba, &tag);
1044 phba->boot_struct.tag = tag;
1045 set_bit(MCC_TAG_STATE_ASYNC, &ctrl->ptag_state[tag].tag_state);
1046 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl;
1048 be_mcc_notify(phba, tag);
1050 return tag;
1058 unsigned int tag;
1061 wrb = alloc_mcc_wrb(phba, &tag);
1074 phba->boot_struct.tag = tag;
1075 set_bit(MCC_TAG_STATE_ASYNC, &ctrl->ptag_state[tag].tag_state);
1076 ctrl->ptag_state[tag].cbfn = beiscsi_boot_process_compl;
1079 be_mcc_notify(phba, tag);
1081 return tag;
1098 unsigned int tag;
1103 tag = __beiscsi_boot_get_shandle(phba, 0);
1104 if (!tag) {
1111 rc = beiscsi_mccq_compl_wait(phba, tag, &wrb, NULL);
1440 unsigned int tag = 0;
1443 wrb = alloc_mcc_wrb(phba, &tag);
1466 be_mcc_notify(phba, tag);
1468 return tag;
1477 unsigned int tag;
1480 wrb = alloc_mcc_wrb(phba, &tag);
1495 be_mcc_notify(phba, tag);
1497 return tag;
1508 unsigned int i, tag;
1526 wrb = alloc_mcc_wrb(phba, &tag);
1551 be_mcc_notify(phba, tag);
1554 rc = beiscsi_mccq_compl_wait(phba, tag, NULL, &nonemb_cmd);