Home
last modified time | relevance | path

Searched refs:comp_status (Results 1 – 23 of 23) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_isr.c1484 uint16_t comp_status; in qla2x00_ct_entry() local
1498 comp_status = le16_to_cpu(pkt->comp_status); in qla2x00_ct_entry()
1507 if (comp_status != CS_COMPLETE) { in qla2x00_ct_entry()
1508 if (comp_status == CS_DATA_UNDERRUN) { in qla2x00_ct_entry()
1515 type, comp_status, in qla2x00_ct_entry()
1520 type, comp_status); in qla2x00_ct_entry()
1556 uint16_t comp_status; in qla24xx_els_ct_entry() local
1599 comp_status = fw_status[0] = le16_to_cpu(pkt->comp_status); in qla24xx_els_ct_entry()
1608 els->u.els_plogi.comp_status = fw_status[0]; in qla24xx_els_ct_entry()
1609 if (comp_status == CS_COMPLETE) { in qla24xx_els_ct_entry()
[all …]
Dqla_fw.h604 uint16_t comp_status; /* Completion status. */ member
701 uint16_t comp_status; /* Completion status. */ member
781 uint16_t comp_status; member
831 uint16_t comp_status; /* Completion status. */ member
1253 uint16_t comp_status; /* Completion status. */ member
1292 uint16_t comp_status; /* Completion status. */ member
1411 uint16_t comp_status; /* Completion status. */ member
1621 uint16_t comp_status; member
1678 uint16_t comp_status; member
Dqla_nvme.c140 if (priv->comp_status == QLA_SUCCESS) { in qla_nvme_release_fcp_cmd_kref()
170 fd->done(fd, priv->comp_status); in qla_nvme_release_ls_cmd_kref()
193 priv->comp_status = res; in qla_nvme_sp_ls_done()
203 priv->comp_status = res; in qla_nvme_sp_done()
Dqla_nvme.h35 int comp_status; member
Dqla_mr.c2186 tmf->u.tmf.comp_status = cpstatus; in qlafx00_tm_iocb_entry()
2203 abt->u.abt.comp_status = pkt->tgt_id_sts; in qlafx00_abort_iocb_entry()
2283 __le16 comp_status; in qlafx00_status_entry() local
2299 comp_status = sts->comp_status; in qlafx00_status_entry()
2325 scsi_status, comp_status); in qlafx00_status_entry()
2330 if (comp_status == CS_COMPLETE && scsi_status == 0) { in qlafx00_status_entry()
2356 if (comp_status == cpu_to_le16((uint16_t)CS_DATA_UNDERRUN)) in qlafx00_status_entry()
2362 if (comp_status == CS_COMPLETE && in qlafx00_status_entry()
2364 comp_status = cpu_to_le16((uint16_t)CS_DATA_OVERRUN); in qlafx00_status_entry()
2369 switch (le16_to_cpu(comp_status)) { in qlafx00_status_entry()
[all …]
Dqla_mr.h64 __le16 comp_status; /* Completion status. */ member
Dqla_mbx.c2408 } else if (lg->comp_status != cpu_to_le16(CS_COMPLETE)) { in qla24xx_login_fabric()
2414 "ioparam=%x/%x.\n", le16_to_cpu(lg->comp_status), in qla24xx_login_fabric()
2676 } else if (lg->comp_status != cpu_to_le16(CS_COMPLETE)) { in qla24xx_fabric_logout()
2679 "ioparam=%x/%x.\n", le16_to_cpu(lg->comp_status), in qla24xx_fabric_logout()
3251 } else if (sts->comp_status != cpu_to_le16(CS_COMPLETE)) { in __qla24xx_issue_tmf()
3254 le16_to_cpu(sts->comp_status)); in __qla24xx_issue_tmf()
4111 } else if (vpmod->comp_status != 0) { in qla24xx_modify_vp_config()
4114 vpmod->comp_status); in qla24xx_modify_vp_config()
4116 } else if (vpmod->comp_status != cpu_to_le16(CS_COMPLETE)) { in qla24xx_modify_vp_config()
4119 le16_to_cpu(vpmod->comp_status)); in qla24xx_modify_vp_config()
[all …]
Dqla_def.h470 __le16 comp_status; member
483 __le16 comp_status; member
512 __le16 comp_status; member
531 __le16 comp_status; member
1976 uint16_t comp_status; /* Completion status. */ member
Dqla_gs.c123 uint16_t comp_status; in qla2x00_chk_ms_status() local
135 comp_status = le16_to_cpu( in qla2x00_chk_ms_status()
136 ((struct ct_entry_24xx *)ms_pkt)->comp_status); in qla2x00_chk_ms_status()
138 comp_status = le16_to_cpu(ms_pkt->status); in qla2x00_chk_ms_status()
139 switch (comp_status) { in qla2x00_chk_ms_status()
149 comp_status, ct_rsp->header.response); in qla2x00_chk_ms_status()
182 "%02x%02x%02x.\n", routine, comp_status, in qla2x00_chk_ms_status()
Dqla_iocb.c2870 if (elsio->u.els_plogi.comp_status != CS_COMPLETE) in qla24xx_els_dcmd2_iocb()
3015 ct_iocb->comp_status = cpu_to_le16(0); in qla24xx_ct_iocb()
Dqla_init.c131 abt->u.abt.comp_status = CS_TIMEOUT; in qla24xx_abort_iocb_timeout()
188 rval = abt_iocb->u.abt.comp_status == CS_COMPLETE ? in qla24xx_async_abort_cmd()
1751 tmf->u.tmf.comp_status = CS_TIMEOUT; in qla2x00_tmf_iocb_timeout()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c957 fcomp.comp_status = 0; in bnad_get_flash_partition_by_offset()
970 ret = fcomp.comp_status; in bnad_get_flash_partition_by_offset()
1014 fcomp.comp_status = 0; in bnad_get_eeprom()
1029 ret = fcomp.comp_status; in bnad_get_eeprom()
1056 fcomp.comp_status = 0; in bnad_set_eeprom()
1071 ret = fcomp.comp_status; in bnad_set_eeprom()
1091 fcomp.comp_status = 0; in bnad_flash_device()
1107 if (fcomp.comp_status != BFA_STATUS_OK) { in bnad_flash_device()
1111 fcomp.comp_status); in bnad_flash_device()
Dbnad_debugfs.c151 fcomp.comp_status = 0; in bnad_get_debug_drvinfo()
162 drvinfo->cee_status = fcomp.comp_status; in bnad_get_debug_drvinfo()
165 fcomp.comp_status = 0; in bnad_get_debug_drvinfo()
176 drvinfo->flash_status = fcomp.comp_status; in bnad_get_debug_drvinfo()
Dbnad.h122 int comp_status; member
Dbnad.c1304 iocmd_comp->comp_status = (u32) status; in bnad_cb_completion()
/drivers/infiniband/hw/efa/
Defa_com.c50 u8 comp_status; member
442 comp_ctx->comp_status = cqe->acq_common_descriptor.status; in efa_com_handle_single_admin_completion()
491 static int efa_com_comp_status_to_errno(u8 comp_status) in efa_com_comp_status_to_errno() argument
493 switch (comp_status) { in efa_com_comp_status_to_errno()
542 err = efa_com_comp_status_to_errno(comp_ctx->comp_status); in efa_com_wait_and_process_admin_cq_polling()
590 err = efa_com_comp_status_to_errno(comp_ctx->comp_status); in efa_com_wait_and_process_admin_cq_interrupts()
661 cmd->aq_common_descriptor.opcode, comp_ctx->comp_status, in efa_com_cmd_exec()
/drivers/pci/controller/
Dpcie-altera.c206 u32 comp_status = 1; in tlp_read_packet() local
220 comp_status = TLP_COMP_STATUS(reg1); in tlp_read_packet()
224 if (comp_status) in tlp_read_packet()
242 u32 comp_status; in s10_tlp_read_packet() local
269 comp_status = TLP_COMP_STATUS(dw[1]); in s10_tlp_read_packet()
270 if (comp_status) in s10_tlp_read_packet()
/drivers/mmc/host/
Dcqhci.c758 unsigned long tag = 0, comp_status; in cqhci_irq() local
771 comp_status = cqhci_readl(cq_host, CQHCI_TCN); in cqhci_irq()
772 cqhci_writel(cq_host, comp_status, CQHCI_TCN); in cqhci_irq()
774 mmc_hostname(mmc), comp_status); in cqhci_irq()
778 for_each_set_bit(tag, &comp_status, cq_host->num_slots) { in cqhci_irq()
/drivers/infiniband/hw/i40iw/
Di40iw_uk.c777 info->comp_status = I40IW_COMPL_STATUS_FLUSHED; in i40iw_cq_poll_completion()
781 info->comp_status = I40IW_COMPL_STATUS_SUCCESS; in i40iw_cq_poll_completion()
806 if (info->comp_status == I40IW_COMPL_STATUS_FLUSHED) { in i40iw_cq_poll_completion()
836 if (info->comp_status != I40IW_COMPL_STATUS_FLUSHED) { in i40iw_cq_poll_completion()
872 (info->comp_status == I40IW_COMPL_STATUS_FLUSHED)) in i40iw_cq_poll_completion()
Di40iw_user.h270 enum i40iw_completion_status comp_status; member
/drivers/net/ethernet/amazon/ena/
Dena_com.c84 u8 comp_status; member
470 comp_ctx->comp_status = cqe->acq_common_descriptor.status; in ena_com_handle_single_admin_completion()
516 static int ena_com_comp_status_to_errno(u8 comp_status) in ena_com_comp_status_to_errno() argument
518 if (unlikely(comp_status != 0)) in ena_com_comp_status_to_errno()
519 pr_err("admin command failed[%u]\n", comp_status); in ena_com_comp_status_to_errno()
521 if (unlikely(comp_status > ENA_ADMIN_UNKNOWN_ERROR)) in ena_com_comp_status_to_errno()
524 switch (comp_status) { in ena_com_comp_status_to_errno()
585 ret = ena_com_comp_status_to_errno(comp_ctx->comp_status); in ena_com_wait_and_process_admin_cq_polling()
787 ret = ena_com_comp_status_to_errno(comp_ctx->comp_status); in ena_com_wait_and_process_admin_cq_interrupts()
/drivers/scsi/
Dqla1280.c1296 uint16_t comp_status = le16_to_cpu(sts->comp_status); in qla1280_return_status() local
1324 switch (comp_status) { in qla1280_return_status()
3511 || pkt->comp_status || pkt->entry_status) { in qla1280_isr()
3516 le16_to_cpu(pkt->comp_status), in qla1280_isr()
3605 uint16_t comp_status = le16_to_cpu(pkt->comp_status); in qla1280_status_entry() local
3630 if (comp_status || scsi_status) { in qla1280_status_entry()
3632 "0x%x, handle = 0x%x\n", comp_status, in qla1280_status_entry()
3646 if (comp_status != CS_ARS_FAILED) { in qla1280_status_entry()
Dqla1280.h571 __le16 comp_status; /* Completion status. */ member