Home
last modified time | relevance | path

Searched refs:host_status (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/hid/intel-ish-hid/ipc/
A Dhw-ish-regs.h176 #define IPC_SET_HOST_READY(host_status) \ argument
177 ((host_status) |= (IPC_HOSTCOMM_READY_BIT))
179 #define IPC_SET_HOST_ILUP(host_status) \ argument
180 ((host_status) |= (IPC_ILUP_BIT))
182 #define IPC_CLEAR_HOST_READY(host_status) \ argument
183 ((host_status) ^= (IPC_HOSTCOMM_READY_BIT))
185 #define IPC_CLEAR_HOST_ILUP(host_status) \ argument
186 ((host_status) ^= (IPC_ILUP_BIT))
194 #define IPC_SET_HOST_BUSY_READING(host_status) \ argument
195 ((host_status) |= (IPC_HOST_BUSY_READING_BIT))
[all …]
A Dipc.c176 uint32_t host_status = ish_reg_read(dev, IPC_REG_HOST_COMM); in ish_set_host_rdy() local
178 IPC_SET_HOST_READY(host_status); in ish_set_host_rdy()
179 ish_reg_write(dev, IPC_REG_HOST_COMM, host_status); in ish_set_host_rdy()
190 uint32_t host_status = ish_reg_read(dev, IPC_REG_HOST_COMM); in ish_clr_host_rdy() local
192 IPC_CLEAR_HOST_READY(host_status); in ish_clr_host_rdy()
193 ish_reg_write(dev, IPC_REG_HOST_COMM, host_status); in ish_clr_host_rdy()
198 uint32_t host_status = ish_reg_read(dev, IPC_REG_HOST_COMM); in ish_chk_host_rdy() local
200 return (host_status & IPC_HOSTCOMM_READY_BIT); in ish_chk_host_rdy()
/linux/drivers/mmc/host/
A Dtifm_sd.c506 unsigned int host_status = 0; in tifm_sd_card_event() local
515 host_status, host->cmd_flags); in tifm_sd_card_event()
523 if (host_status & TIFM_MMCSD_CTO) in tifm_sd_card_event()
529 if (host_status & TIFM_MMCSD_DTO) in tifm_sd_card_event()
562 if (host_status & TIFM_MMCSD_BRS) in tifm_sd_card_event()
567 if (host_status & TIFM_MMCSD_AE) in tifm_sd_card_event()
568 writel(host_status & TIFM_MMCSD_AE, in tifm_sd_card_event()
576 host_status &= ~TIFM_MMCSD_AE; in tifm_sd_card_event()
580 if (host_status & TIFM_MMCSD_EOFB) in tifm_sd_card_event()
582 else if (host_status & TIFM_MMCSD_CB) in tifm_sd_card_event()
[all …]
/linux/drivers/memstick/host/
A Dtifm_ms.c384 unsigned int fifo_status = 0, host_status = 0; in tifm_ms_data_event() local
390 host_status = readl(sock->addr + SOCK_MS_STATUS); in tifm_ms_data_event()
393 fifo_status, host_status, host->cmd_flags); in tifm_ms_data_event()
420 unsigned int host_status = 0; in tifm_ms_card_event() local
425 host_status = readl(sock->addr + SOCK_MS_STATUS); in tifm_ms_card_event()
427 host_status, host->cmd_flags); in tifm_ms_card_event()
430 if (host_status & TIFM_MS_STAT_TOE) in tifm_ms_card_event()
432 else if (host_status & TIFM_MS_STAT_CRC) in tifm_ms_card_event()
435 if (host_status & TIFM_MS_STAT_RDY) in tifm_ms_card_event()
438 if (host_status & TIFM_MS_STAT_MSINT) in tifm_ms_card_event()
/linux/drivers/scsi/
A Dqlogicpti.c1072 host_status = DID_OK; in DEF_SCSI_QCMD()
1080 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1082 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1084 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1086 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1090 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1094 host_status = DID_RESET; in DEF_SCSI_QCMD()
1097 host_status = DID_ABORT; in DEF_SCSI_QCMD()
1115 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1118 host_status = DID_OK; in DEF_SCSI_QCMD()
[all …]
A Dscsi_ioctl.c385 hdr->host_status = host_byte(req->result); in scsi_complete_sghdr_rq()
390 if (hdr->masked_status || hdr->host_status || hdr->driver_status) in scsi_complete_sghdr_rq()
669 .host_status = hdr->host_status, in put_sg_io_hdr()
717 .host_status = hdr32.host_status, in get_sg_io_hdr()
A Dncr53c8xx.c4613 if (cp->host_status) { in ncr_detach()
4615 ncr_name(np), cp->host_status); in ncr_detach()
4744 if (cp->host_status==HS_COMPLETE) in ncr_complete()
4745 cp->host_status = HS_FAIL; in ncr_complete()
4949 cp->host_status &= ~HS_SKIPMASK; in ncr_ccb_skipped()
5018 if (cp->host_status != HS_IDLE) { in ncr_wakeup()
5019 cp->host_status = code; in ncr_wakeup()
6342 cp->host_status = HS_BUSY; in ncr_int_ma()
6425 cp->host_status = HS_BUSY; in ncr_sir_to_redo()
6483 cp->host_status = HS_BUSY; in ncr_sir_to_redo()
[all …]
A Dqla1280.c1322 host_status = DID_OK; in qla1280_return_status()
1331 host_status = DID_ERROR; in qla1280_return_status()
1333 host_status = DID_ERROR; in qla1280_return_status()
1335 host_status = DID_ERROR; in qla1280_return_status()
1337 host_status = DID_ERROR; in qla1280_return_status()
1341 host_status = DID_RESET; in qla1280_return_status()
1345 host_status = DID_ABORT; in qla1280_return_status()
1356 host_status = DID_ERROR; in qla1280_return_status()
1365 host_status = DID_ERROR; in qla1280_return_status()
1368 host_status = DID_OK; in qla1280_return_status()
[all …]
A Dsg.c499 old_hdr->host_status = hp->host_status; in sg_read()
507 switch (hp->host_status) { in sg_read()
593 if (hp->masked_status || hp->host_status || hp->driver_status) in sg_new_read()
795 hp->host_status = 0; in sg_common_write()
874 srp->header.host_status & in sg_fill_request_table()
1360 srp->header.host_status = host_byte(result); in sg_rq_end_io()
A Dadvansys.c1749 uchar host_status; /* Ucode host status. */ member
2574 q->cdb_len, q->done_status, q->host_status, q->scsi_status); in asc_prt_adv_scsi_req_q()
5960 switch (scsiqp->host_status) { in adv_isr_callback()
5972 ASC_DBG(1, "host_status 0x%x\n", scsiqp->host_status); in adv_isr_callback()
5998 scsiqp->host_status == QHSTA_NO_ERROR) { in adv_isr_callback()
6110 scsiq->host_status = scsiq->scsi_status = 0; in AdvISR()
8295 scsiq->host_status = QHSTA_M_INVALID_DEVICE; in AdvExeScsiQueue()
/linux/include/scsi/
A Dsg.h64 unsigned short host_status; /* [o] errors from host adapter */ member
93 unsigned short host_status; /* [o] errors from host adapter */ member
295 unsigned int host_status:8; /* [o] host status (see "DID" codes) */ member
/linux/drivers/scsi/csiostor/
A Dcsio_scsi.c1580 host_status = DID_ERROR; in csio_scsi_err_handler()
1633 host_status = DID_ERROR; in csio_scsi_err_handler()
1644 host_status = DID_ERROR; in csio_scsi_err_handler()
1670 host_status = DID_ERROR; in csio_scsi_err_handler()
1682 host_status = DID_ERROR; in csio_scsi_err_handler()
1687 host_status = DID_ERROR; in csio_scsi_err_handler()
1692 host_status = DID_ERROR; in csio_scsi_err_handler()
1696 host_status = DID_ERROR; in csio_scsi_err_handler()
1701 host_status = DID_ERROR; in csio_scsi_err_handler()
1706 host_status = DID_ERROR; in csio_scsi_err_handler()
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_dbg.h59 __be32 host_status; member
91 __be32 host_status; member
130 __be32 host_status; member
169 __be32 host_status; member
A Dqla_inline.h461 return ((rd_reg_dword(&reg->host_status)) == in qla2x00_isp_reg_stat()
472 stat = rd_reg_dword(&reg->host_status); in qla_pci_disconnected()
A Dqla_dbg.c148 stat = rd_reg_dword(&reg->host_status); in qla27xx_dump_mpi_ram()
233 stat = rd_reg_dword(&reg->host_status); in qla24xx_dump_ram()
317 if (rd_reg_dword(&reg->host_status) & HSRX_RISC_PAUSED) in qla24xx_pause_risc()
413 stat = rd_reg_dword(&reg->u.isp2300.host_status); in qla2xxx_dump_ram()
1118 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla24xx_fw_dump()
1361 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla25xx_fw_dump()
1672 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla81xx_fw_dump()
1987 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla83xx_fw_dump()
A Dqla_nx.h843 __le32 host_status; /* host status */ member
A Dqla_nx.c2026 stat = rd_reg_dword(&reg->host_status); in qla82xx_intr_handler()
2095 stat = rd_reg_dword(&reg->host_status); in qla82xx_msix_default()
2190 stat = rd_reg_dword(&reg->host_status); in qla82xx_poll()
/linux/drivers/scsi/sym53c8xx_2/
A Dsym_hipd.c1638 if (cp->host_status == HS_WAIT)
2201 cp->host_status = hsts;
2703 cp->host_status = HS_BUSY;
3346 if (cp->host_status != HS_BUSY &&
3347 cp->host_status != HS_NEGOTIATE)
4841 cp->host_status = HS_IDLE;
5295 if (!cp || !cp->host_status || cp->host_status == HS_WAIT)
5388 if (cp->host_status == HS_COMPLETE)
5389 cp->host_status = HS_COMP_ERR;
5419 if (cp->host_status == HS_COMPLETE &&
[all …]
A Dsym_glue.c183 if (cp->host_status == HS_COMPLETE && in sym_set_cam_result_error()
218 } else if (cp->host_status == HS_COMPLETE) /* Bad SCSI status */ in sym_set_cam_result_error()
220 else if (cp->host_status == HS_SEL_TIMEOUT) /* Selection timeout */ in sym_set_cam_result_error()
222 else if (cp->host_status == HS_UNEXPECTED) /* Unexpected BUS FREE*/ in sym_set_cam_result_error()
227 cp->host_status, cp->ssss_status, in sym_set_cam_result_error()
A Dsym_hipd.h599 #define host_status phys.head.status[1] macro
/linux/drivers/scsi/bfa/
A Dbfad_im.c41 u8 host_status = DID_OK; in bfa_cb_ioim_done() local
62 host_status = DID_ERROR; in bfa_cb_ioim_done()
65 cmnd->result = host_status << 16 | scsi_status; in bfa_cb_ioim_done()
/linux/drivers/scsi/qla4xxx/
A Dql4_isr.c1256 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_82xx_intr_handler()
1411 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_8xxx_default_intr_handler()
1448 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_8xxx_msix_rsp_q()
A Dql4_fw.h59 __le32 host_status; /* Offset 0x500 (R): host status */ member
/linux/drivers/scsi/lpfc/
A Dlpfc_scsi.c4008 uint32_t host_status = DID_OK; in lpfc_handle_fcp_err() local
4033 host_status = DID_ERROR; in lpfc_handle_fcp_err()
4044 host_status = DID_ERROR; in lpfc_handle_fcp_err()
4106 host_status = DID_ERROR; in lpfc_handle_fcp_err()
4124 host_status = DID_ERROR; in lpfc_handle_fcp_err()
4131 host_status = DID_ERROR; in lpfc_handle_fcp_err()
4161 host_status = DID_ERROR; in lpfc_handle_fcp_err()
4168 cmnd->result = host_status << 16 | scsi_status; in lpfc_handle_fcp_err()
/linux/drivers/ata/
A Dpata_mpc52xx.c209 u32 host_status; /* ATA + 0x04 Host controller status */ member

Completed in 130 milliseconds

12