Home
last modified time | relevance | path

Searched refs:cmd_status (Results 1 – 25 of 65) sorted by relevance

123

/openbmc/linux/drivers/net/ethernet/i825xx/
H A Dsun3_82586.h207 unsigned short cmd_status; /* status of this command */ member
217 unsigned short cmd_status; member
228 unsigned short cmd_status; member
250 unsigned short cmd_status; member
262 unsigned short cmd_status; member
273 unsigned short cmd_status; member
293 unsigned short cmd_status; member
H A Dsun3_82586.c119 if(swab16((addr)->cmd_status) & STAT_COMPL) break; \
416 cfg_cmd->cmd_status = 0; in init586()
448 if((swab16(cfg_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_COMPL|STAT_OK)) in init586()
450 printk("%s: configure command failed: %x\n",dev->name,swab16(cfg_cmd->cmd_status)); in init586()
460 ias_cmd->cmd_status = 0; in init586()
473 if((swab16(ias_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_OK|STAT_COMPL)) { in init586()
474 …s (82586): individual address setup command failed: %04x\n",dev->name,swab16(ias_cmd->cmd_status)); in init586()
484 tdr_cmd->cmd_status = 0; in init586()
495 if(!(swab16(tdr_cmd->cmd_status) & STAT_COMPL)) in init586()
528 mc_cmd->cmd_status = 0; in init586()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_cmd.c21 u32 cmd_status; in bdc_issue_cmd() local
35 cmd_status = BDC_CMD_CST(temp); in bdc_issue_cmd()
36 if (cmd_status != BDC_CMDS_BUSY) { in bdc_issue_cmd()
38 "command completed cmd_sts:%x\n", cmd_status); in bdc_issue_cmd()
39 return cmd_status; in bdc_issue_cmd()
45 "command operation timedout cmd_status=%d\n", cmd_status); in bdc_issue_cmd()
47 return cmd_status; in bdc_issue_cmd()
54 u32 temp, cmd_status; in bdc_submit_cmd() local
62 cmd_status = BDC_CMD_CST(temp); in bdc_submit_cmd()
63 if (cmd_status == BDC_CMDS_BUSY) { in bdc_submit_cmd()
[all …]
/openbmc/linux/drivers/iio/imu/bno055/
H A Dbno055_ser_core.c138 } cmd_status; member
239 if (priv->cmd_status == STATUS_CRIT) in bno055_ser_send_cmd()
270 if (priv->cmd_status == STATUS_OK) in bno055_ser_send_cmd()
272 if (priv->cmd_status == STATUS_CRIT) in bno055_ser_send_cmd()
280 if (priv->cmd_status == STATUS_FAIL) in bno055_ser_send_cmd()
346 priv->cmd_status = status; in bno055_ser_handle_rx()
354 priv->cmd_status = STATUS_FAIL; in bno055_ser_handle_rx()
361 priv->cmd_status = status; in bno055_ser_handle_rx()
/openbmc/linux/drivers/usb/dwc3/
H A Dtrace.h185 struct dwc3_gadget_ep_cmd_params *params, int cmd_status),
186 TP_ARGS(dep, cmd, params, cmd_status),
193 __field(int, cmd_status)
201 __entry->cmd_status = cmd_status;
207 dwc3_ep_cmd_status_string(__entry->cmd_status)
213 struct dwc3_gadget_ep_cmd_params *params, int cmd_status),
214 TP_ARGS(dep, cmd, params, cmd_status)
/openbmc/linux/drivers/spi/
H A Dspi-cadence-xspi.c261 u32 cmd_status = readl(cdns_xspi->iobase + CDNS_XSPI_CMD_STATUS_REG); in cdns_xspi_check_command_status() local
263 if (cmd_status & CDNS_XSPI_CMD_STATUS_COMPLETED) { in cdns_xspi_check_command_status()
264 if ((cmd_status & CDNS_XSPI_CMD_STATUS_FAILED) != 0) { in cdns_xspi_check_command_status()
265 if (cmd_status & CDNS_XSPI_CMD_STATUS_DQS_ERROR) { in cdns_xspi_check_command_status()
270 if (cmd_status & CDNS_XSPI_CMD_STATUS_CRC_ERROR) { in cdns_xspi_check_command_status()
275 if (cmd_status & CDNS_XSPI_CMD_STATUS_BUS_ERROR) { in cdns_xspi_check_command_status()
280 if (cmd_status & CDNS_XSPI_CMD_STATUS_INV_SEQ_ERROR) { in cdns_xspi_check_command_status()
356 u32 cmd_status; in cdns_xspi_send_stig_command() local
408 cmd_status = cdns_xspi_check_command_status(cdns_xspi); in cdns_xspi_send_stig_command()
409 if (cmd_status) in cdns_xspi_send_stig_command()
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_cmdq.c55 cmdq->wait_pool[comp_wait->ctx_id].cmd_status = ERDMA_CMD_STATUS_INIT; in put_comp_wait()
271 comp_wait->cmd_status = ERDMA_CMD_STATUS_ISSUED; in push_cmdq_sqe()
311 if (comp_wait->cmd_status != ERDMA_CMD_STATUS_ISSUED) in erdma_poll_single_cmd_completion()
314 comp_wait->cmd_status = ERDMA_CMD_STATUS_FINISHED; in erdma_poll_single_cmd_completion()
374 if (comp_ctx->cmd_status != ERDMA_CMD_STATUS_ISSUED) in erdma_poll_cmd_completion()
394 if (unlikely(comp_ctx->cmd_status != ERDMA_CMD_STATUS_FINISHED)) { in erdma_wait_cmd_completion()
396 comp_ctx->cmd_status = ERDMA_CMD_STATUS_TIMEOUT; in erdma_wait_cmd_completion()
/openbmc/linux/drivers/dma/idxd/
H A Ddevice.c502 idxd->cmd_status = 0; in idxd_cmd_exec()
517 idxd->cmd_status = stat & GENMASK(7, 0); in idxd_cmd_exec()
952 idxd->cmd_status = IDXD_SCMD_WQ_NO_PRIV; in idxd_wq_config_write()
1084 idxd->cmd_status = IDXD_SCMD_WQ_NO_SWQ_SUPPORT; in idxd_wqs_setup()
1094 idxd->cmd_status = IDXD_SCMD_WQ_NONE_CONFIGURED; in idxd_wqs_setup()
1369 idxd->cmd_status = IDXD_SCMD_DEV_NOT_ENABLED; in drv_enable_wq()
1375 idxd->cmd_status = IDXD_SCMD_WQ_ENABLED; in drv_enable_wq()
1382 idxd->cmd_status = IDXD_SCMD_WQ_NO_GRP; in drv_enable_wq()
1387 idxd->cmd_status = IDXD_SCMD_WQ_NO_NAME; in drv_enable_wq()
1395 idxd->cmd_status = IDXD_SCMD_WQ_NO_SVM; in drv_enable_wq()
[all …]
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_sis.c179 u32 cmd_status; in sis_send_sync_cmd() local
226 cmd_status = readl(&registers->sis_mailbox[0]); in sis_send_sync_cmd()
227 if (cmd_status != SIS_CMD_STATUS_SUCCESS) { in sis_send_sync_cmd()
230 cmd, cmd_status); in sis_send_sync_cmd()
238 params->mailbox[0] = cmd_status; in sis_send_sync_cmd()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfi_cna.h115 u8 cmd_status; member
134 u8 cmd_status; member
H A Dbfa_cee.c198 bfa_cee_get_attr_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
201 bfa_cee_get_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
204 bfa_cee_reset_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
/openbmc/linux/drivers/pci/hotplug/
H A Dshpchp_hpc.c241 u16 cmd_status = shpc_readw(ctrl, CMD_STATUS); in is_ctrl_busy() local
242 return cmd_status & 0x1; in is_ctrl_busy()
291 u16 cmd_status; in shpc_write_cmd() local
320 cmd_status = hpc_check_cmd_status(slot->ctrl); in shpc_write_cmd()
321 if (cmd_status) { in shpc_write_cmd()
323 cmd, cmd_status); in shpc_write_cmd()
334 u16 cmd_status = shpc_readw(ctrl, CMD_STATUS) & 0x000F; in hpc_check_cmd_status() local
336 switch (cmd_status >> 1) { in hpc_check_cmd_status()
353 retval = cmd_status; in hpc_check_cmd_status()
H A Dshpchp.h186 volatile u16 cmd_status; member
203 CMD_STATUS = offsetof(struct ctrl_reg, cmd_status),
/openbmc/linux/drivers/i2c/busses/
H A Di2c-wmt.c90 u16 cmd_status; member
113 if (i2c_dev->cmd_status & ISR_NACK_ADDR) in wmt_check_status()
116 if (i2c_dev->cmd_status & ISR_SCL_TIMEOUT) in wmt_check_status()
329 i2c_dev->cmd_status = readw(i2c_dev->base + REG_ISR); in wmt_i2c_isr()
330 writew(i2c_dev->cmd_status, i2c_dev->base + REG_ISR); in wmt_i2c_isr()
H A Di2c-digicolor.c162 int cmd_status = dc_i2c_cmd_status(i2c); in dc_i2c_irq() local
169 if (cmd_status == II_CMD_STATUS_ACK_BAD in dc_i2c_irq()
170 || cmd_status == II_CMD_STATUS_ABORT) { in dc_i2c_irq()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhal_rx.c471 status->uniform_hdr.cmd_status = in ath12k_hal_reo_status_queue_stats()
478 status->uniform_hdr.cmd_status); in ath12k_hal_reo_status_queue_stats()
534 status->uniform_hdr.cmd_status = in ath12k_hal_reo_flush_queue_status()
552 status->uniform_hdr.cmd_status = in ath12k_hal_reo_flush_cache_status()
593 status->uniform_hdr.cmd_status = in ath12k_hal_reo_unblk_cache_status()
620 status->uniform_hdr.cmd_status = in ath12k_hal_reo_flush_timeout_list_status()
649 status->uniform_hdr.cmd_status = in ath12k_hal_reo_desc_thresh_reached_status()
684 status->uniform_hdr.cmd_status = in ath12k_hal_reo_update_rx_reo_queue_status()
/openbmc/linux/drivers/platform/x86/dell/
H A Ddcdbas.c380 s8 cmd_status; in host_control_smi() local
401 cmd_status = ESM_STATUS_CMD_UNSUCCESSFUL; in host_control_smi()
402 outb((u8) cmd_status, PCAT_APM_STATUS_PORT); in host_control_smi()
440 cmd_status = inb(PE1400_APM_CONTROL_PORT); in host_control_smi()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_roce.h71 int wrb_payload_size, u16 *cmd_status, u16 *ext_status);
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dpapr_pdsm.h160 __s32 cmd_status; /* Out: Sub-cmd status returned back */ member
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_port.c770 bfa_trc(cee, get_rsp->cmd_status); in bfa_cee_isr()
771 bfa_cee_get_attr_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
774 bfa_cee_get_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
777 bfa_cee_reset_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c515 __le32 cmd_status; member
1868 np->tx_ring[i].cmd_status, in dump_ring()
1875 np->rx_ring[i].cmd_status, in dump_ring()
1949 np->rx_ring[entry].cmd_status = cpu_to_le32(np->rx_buf_sz); in refill_rx()
1980 np->tx_ring[i].cmd_status = 0; in init_ring()
1999 np->rx_ring[i].cmd_status = cpu_to_le32(DescOwn); in init_ring()
2030 np->rx_ring[i].cmd_status = 0; in drain_rx()
2067 np->rx_ring[i].cmd_status = cpu_to_le32(DescOwn); in reinit_rx()
2081 np->tx_ring[i].cmd_status = 0; in reinit_ring()
2114 np->tx_ring[entry].cmd_status = cpu_to_le32(DescOwn | skb->len); in start_tx()
[all …]
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c1126 frame_hdr->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_issue_polled()
1213 abort_fr->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_issue_blocked_abort_cmd()
1437 pthru->cmd_status = 0x0; in megasas_build_dcdb()
1533 ldio->cmd_status = 0x0; in megasas_build_ldio()
2198 cmd_mfi->frame->hdr.cmd_status = in megasas_complete_outstanding_ioctls()
2409 dcmd->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_get_ld_vf_affiliation_111()
2434 dcmd->cmd_status, instance->host->host_no); in megasas_get_ld_vf_affiliation_111()
2516 dcmd->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_get_ld_vf_affiliation_12()
2542 dcmd->cmd_status, instance->host->host_no); in megasas_get_ld_vf_affiliation_12()
2683 dcmd->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_sriov_start_heartbeat()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhal_rx.c442 status->uniform_hdr.cmd_status = in ath11k_hal_reo_status_queue_stats()
449 status->uniform_hdr.cmd_status); in ath11k_hal_reo_status_queue_stats()
519 status->uniform_hdr.cmd_status = in ath11k_hal_reo_flush_queue_status()
538 status->uniform_hdr.cmd_status = in ath11k_hal_reo_flush_cache_status()
580 status->uniform_hdr.cmd_status = in ath11k_hal_reo_unblk_cache_status()
608 status->uniform_hdr.cmd_status = in ath11k_hal_reo_flush_timeout_list_status()
638 status->uniform_hdr.cmd_status = in ath11k_hal_reo_desc_thresh_reached_status()
674 status->uniform_hdr.cmd_status = in ath11k_hal_reo_update_rx_reo_queue_status()
/openbmc/linux/drivers/scsi/
H A Dmvumi.c715 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_issue_blocked_cmd()
730 (cmd->cmd_status != REQ_STATUS_PENDING), in mvumi_issue_blocked_cmd()
789 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_flush_cache()
803 if (cmd->cmd_status != SAM_STAT_GOOD) { in mvumi_flush_cache()
806 device_id, cmd->cmd_status); in mvumi_flush_cache()
1340 cmd->cmd_status = ob_frame->req_status; in mvumi_complete_internal_cmd()
1429 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_inquiry()
1443 if (cmd->cmd_status == SAM_STAT_GOOD) { in mvumi_inquiry()
1708 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_get_event()
1721 if (cmd->cmd_status != SAM_STAT_GOOD) in mvumi_get_event()
[all …]
/openbmc/openbmc-test-automation/gui/lib/
H A Dgui_resource.robot208 ${cmd_status}= Run Keyword And Return Status
211 ... Should Be True ${cmd_status} == ${True}
212 ... ELSE Should Not Be True ${cmd_status}

123