Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/i825xx/
Dsun3_82586.h206 unsigned short cmd_status; /* status of this command */ member
216 unsigned short cmd_status; member
227 unsigned short cmd_status; member
249 unsigned short cmd_status; member
261 unsigned short cmd_status; member
272 unsigned short cmd_status; member
292 unsigned short cmd_status; member
Dsun3_82586.c117 if(swab16((addr)->cmd_status) & STAT_COMPL) break; \
418 cfg_cmd->cmd_status = 0; in init586()
450 if((swab16(cfg_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_COMPL|STAT_OK)) in init586()
452 printk("%s: configure command failed: %x\n",dev->name,swab16(cfg_cmd->cmd_status)); in init586()
462 ias_cmd->cmd_status = 0; in init586()
475 if((swab16(ias_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_OK|STAT_COMPL)) { in init586()
476 …s (82586): individual address setup command failed: %04x\n",dev->name,swab16(ias_cmd->cmd_status)); in init586()
486 tdr_cmd->cmd_status = 0; in init586()
497 if(!(swab16(tdr_cmd->cmd_status) & STAT_COMPL)) in init586()
530 mc_cmd->cmd_status = 0; in init586()
[all …]
/drivers/usb/gadget/udc/bdc/
Dbdc_cmd.c26 u32 cmd_status; in bdc_issue_cmd() local
40 cmd_status = BDC_CMD_CST(temp); in bdc_issue_cmd()
41 if (cmd_status != BDC_CMDS_BUSY) { in bdc_issue_cmd()
43 "command completed cmd_sts:%x\n", cmd_status); in bdc_issue_cmd()
44 return cmd_status; in bdc_issue_cmd()
50 "command operation timedout cmd_status=%d\n", cmd_status); in bdc_issue_cmd()
52 return cmd_status; in bdc_issue_cmd()
59 u32 temp, cmd_status; in bdc_submit_cmd() local
67 cmd_status = BDC_CMD_CST(temp); in bdc_submit_cmd()
68 if (cmd_status == BDC_CMDS_BUSY) { in bdc_submit_cmd()
[all …]
/drivers/usb/dwc3/
Dtrace.h192 struct dwc3_gadget_ep_cmd_params *params, int cmd_status),
193 TP_ARGS(dep, cmd, params, cmd_status),
200 __field(int, cmd_status)
208 __entry->cmd_status = cmd_status;
214 dwc3_ep_cmd_status_string(__entry->cmd_status)
220 struct dwc3_gadget_ep_cmd_params *params, int cmd_status),
221 TP_ARGS(dep, cmd, params, cmd_status)
/drivers/scsi/smartpqi/
Dsmartpqi_sis.c170 u32 cmd_status; in sis_send_sync_cmd() local
216 cmd_status = readl(&registers->sis_mailbox[0]); in sis_send_sync_cmd()
217 if (cmd_status != SIS_CMD_STATUS_SUCCESS) { in sis_send_sync_cmd()
220 cmd, cmd_status); in sis_send_sync_cmd()
228 params->mailbox[0] = cmd_status; in sis_send_sync_cmd()
/drivers/firmware/
Ddcdbas.c357 s8 cmd_status; in host_control_smi() local
378 cmd_status = ESM_STATUS_CMD_UNSUCCESSFUL; in host_control_smi()
379 outb((u8) cmd_status, PCAT_APM_STATUS_PORT); in host_control_smi()
387 while ((cmd_status = inb(PCAT_APM_STATUS_PORT)) in host_control_smi()
418 cmd_status = inb(PE1400_APM_CONTROL_PORT); in host_control_smi()
/drivers/pci/hotplug/
Dshpchp_hpc.c263 u16 cmd_status = shpc_readw(ctrl, CMD_STATUS); in is_ctrl_busy() local
264 return cmd_status & 0x1; in is_ctrl_busy()
313 u16 cmd_status; in shpc_write_cmd() local
342 cmd_status = hpc_check_cmd_status(slot->ctrl); in shpc_write_cmd()
343 if (cmd_status) { in shpc_write_cmd()
345 cmd, cmd_status); in shpc_write_cmd()
356 u16 cmd_status = shpc_readw(ctrl, CMD_STATUS) & 0x000F; in hpc_check_cmd_status() local
358 switch (cmd_status >> 1) { in hpc_check_cmd_status()
375 retval = cmd_status; in hpc_check_cmd_status()
Dshpchp.h210 volatile u16 cmd_status; member
227 CMD_STATUS = offsetof(struct ctrl_reg, cmd_status),
/drivers/i2c/busses/
Di2c-wmt.c94 u16 cmd_status; member
117 if (i2c_dev->cmd_status & ISR_NACK_ADDR) in wmt_check_status()
120 if (i2c_dev->cmd_status & ISR_SCL_TIMEOUT) in wmt_check_status()
333 i2c_dev->cmd_status = readw(i2c_dev->base + REG_ISR); in wmt_i2c_isr()
334 writew(i2c_dev->cmd_status, i2c_dev->base + REG_ISR); in wmt_i2c_isr()
Di2c-digicolor.c166 int cmd_status = dc_i2c_cmd_status(i2c); in dc_i2c_irq() local
174 if (cmd_status == II_CMD_STATUS_ACK_BAD in dc_i2c_irq()
175 || cmd_status == II_CMD_STATUS_ABORT) { in dc_i2c_irq()
/drivers/net/ethernet/brocade/bna/
Dbfi_cna.h123 u8 cmd_status; member
142 u8 cmd_status; member
Dbfa_cee.c205 bfa_cee_get_attr_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
208 bfa_cee_get_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
211 bfa_cee_reset_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1001 frame_hdr->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_issue_polled()
1087 abort_fr->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_issue_blocked_abort_cmd()
1310 pthru->cmd_status = 0x0; in megasas_build_dcdb()
1406 ldio->cmd_status = 0x0; in megasas_build_ldio()
2000 cmd_mfi->frame->hdr.cmd_status = in megasas_complete_outstanding_ioctls()
2208 dcmd->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_get_ld_vf_affiliation_111()
2233 dcmd->cmd_status, instance->host->host_no); in megasas_get_ld_vf_affiliation_111()
2318 dcmd->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_get_ld_vf_affiliation_12()
2344 dcmd->cmd_status, instance->host->host_no); in megasas_get_ld_vf_affiliation_12()
2484 dcmd->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_sriov_start_heartbeat()
[all …]
Dmegaraid_sas.h1600 u8 cmd_status; /*02h */ member
1665 u8 cmd_status; /*02h */ member
1706 u8 cmd_status; /*02h */ member
1735 u8 cmd_status; /*02h */ member
1762 u8 cmd_status; /*02h */ member
1789 u8 cmd_status; /*02h */ member
1815 u8 cmd_status; /*02h */ member
1841 u8 cmd_status; /*02h */ member
Dmegaraid_sas_fusion.c735 for (i = 0; (i < msecs) && (frame_hdr->cmd_status == 0xff); i += 20) { in wait_and_poll()
740 if (frame_hdr->cmd_status == MFI_STAT_INVALID_STATUS) in wait_and_poll()
742 else if (frame_hdr->cmd_status == MFI_STAT_OK) in wait_and_poll()
830 frame_hdr->cmd_status = 0xFF; in megasas_ioc_init_fusion()
836 init_frame->cmd_status = 0xFF; in megasas_ioc_init_fusion()
901 if (frame_hdr->cmd_status != 0) { in megasas_ioc_init_fusion()
960 dcmd->cmd_status = 0xFF; in megasas_sync_pd_seq_num()
1059 dcmd->cmd_status = 0xFF; in megasas_get_ld_map_info()
1163 dcmd->cmd_status = 0xFF; in megasas_sync_map_info()
3656 cmd_mfi->frame->dcmd.cmd_status = MFI_STAT_OK; in megasas_refire_mgmt_cmd()
/drivers/scsi/bfa/
Dbfa_port.c787 bfa_trc(cee, get_rsp->cmd_status); in bfa_cee_isr()
788 bfa_cee_get_attr_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
791 bfa_cee_get_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
794 bfa_cee_reset_stats_isr(cee, get_rsp->cmd_status); in bfa_cee_isr()
Dbfi.h607 u8 cmd_status; member
801 u8 cmd_status; member
810 u8 cmd_status; member
/drivers/net/ethernet/natsemi/
Dnatsemi.c515 __le32 cmd_status; member
1873 np->tx_ring[i].cmd_status, in dump_ring()
1880 np->rx_ring[i].cmd_status, in dump_ring()
1954 np->rx_ring[entry].cmd_status = cpu_to_le32(np->rx_buf_sz); in refill_rx()
1985 np->tx_ring[i].cmd_status = 0; in init_ring()
2004 np->rx_ring[i].cmd_status = cpu_to_le32(DescOwn); in init_ring()
2036 np->rx_ring[i].cmd_status = 0; in drain_rx()
2073 np->rx_ring[i].cmd_status = cpu_to_le32(DescOwn); in reinit_rx()
2087 np->tx_ring[i].cmd_status = 0; in reinit_ring()
2120 np->tx_ring[entry].cmd_status = cpu_to_le32(DescOwn | skb->len); in start_tx()
[all …]
/drivers/net/ethernet/emulex/benet/
Dbe_roce.h75 int wrb_payload_size, u16 *cmd_status, u16 *ext_status);
/drivers/scsi/
Dmvumi.c729 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_issue_blocked_cmd()
744 (cmd->cmd_status != REQ_STATUS_PENDING), in mvumi_issue_blocked_cmd()
803 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_flush_cache()
817 if (cmd->cmd_status != SAM_STAT_GOOD) { in mvumi_flush_cache()
820 device_id, cmd->cmd_status); in mvumi_flush_cache()
1354 cmd->cmd_status = ob_frame->req_status; in mvumi_complete_internal_cmd()
1443 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_inquiry()
1457 if (cmd->cmd_status == SAM_STAT_GOOD) { in mvumi_inquiry()
1722 cmd->cmd_status = REQ_STATUS_PENDING; in mvumi_get_event()
1735 if (cmd->cmd_status != SAM_STAT_GOOD) in mvumi_get_event()
[all …]
/drivers/mmc/host/
Ddw_mmc.c283 unsigned int cmd_status = 0; in mci_send_cmd() local
290 if (readl_poll_timeout_atomic(host->regs + SDMMC_CMD, cmd_status, in mci_send_cmd()
291 !(cmd_status & SDMMC_CMD_START), in mci_send_cmd()
295 cmd, arg, cmd_status); in mci_send_cmd()
1342 host->cmd_status = 0; in __dw_mci_start_request()
1875 u32 status = host->cmd_status; in dw_mci_command_complete()
1877 host->cmd_status = 0; in dw_mci_command_complete()
2194 host->cmd_status = 0; in dw_mci_tasklet_func()
2630 if (!host->cmd_status) in dw_mci_cmd_interrupt()
2631 host->cmd_status = status; in dw_mci_cmd_interrupt()
[all …]
/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c203 &cmd->cmd_status, &cmd->size); in gelic_eurus_sync_cmd_worker()
205 if (cmd->status || cmd->cmd_status) { in gelic_eurus_sync_cmd_worker()
209 __func__, cmd->status, cmd->cmd_status, cmd->size); in gelic_eurus_sync_cmd_worker()
1423 if (cmd && !cmd->status && !cmd->cmd_status) { in gelic_wl_get_wireless_stats()
1493 if (!cmd || cmd->status || cmd->cmd_status) { in gelic_wl_start_scan()
1543 if (!cmd || cmd->status || cmd->cmd_status) { in gelic_wl_scan_complete_event()
1815 else if (cmd->status || cmd->cmd_status) in gelic_wl_do_wep_setup()
1916 else if (cmd->status || cmd->cmd_status) in gelic_wl_do_wpa_setup()
1966 if (!cmd || cmd->status || cmd->cmd_status) { in gelic_wl_associate_bss()
1998 if (!cmd || cmd->status || cmd->cmd_status) { in gelic_wl_associate_bss()
Dps3_gelic_wireless.h316 u64 cmd_status; member
/drivers/net/ethernet/mellanox/mlxsw/
Dpci_hw.h218 MLXSW_ITEM32(pci, eqe, cmd_status, 0x00, 0, 8);
/drivers/hid/intel-ish-hid/ishtp/
Dhbm.h250 uint32_t cmd_status; /*responses will have this set*/ member

12