Home
last modified time | relevance | path

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

12

/drivers/hid/intel-ish-hid/ipc/
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 …]
Dipc.c177 uint32_t host_status = ish_reg_read(dev, IPC_REG_HOST_COMM); in ish_set_host_rdy() local
179 IPC_SET_HOST_READY(host_status); in ish_set_host_rdy()
180 ish_reg_write(dev, IPC_REG_HOST_COMM, host_status); in ish_set_host_rdy()
191 uint32_t host_status = ish_reg_read(dev, IPC_REG_HOST_COMM); in ish_clr_host_rdy() local
193 IPC_CLEAR_HOST_READY(host_status); in ish_clr_host_rdy()
194 ish_reg_write(dev, IPC_REG_HOST_COMM, host_status); in ish_clr_host_rdy()
199 uint32_t host_status = ish_reg_read(dev, IPC_REG_HOST_COMM); in ish_chk_host_rdy() local
201 return (host_status & IPC_HOSTCOMM_READY_BIT); in ish_chk_host_rdy()
/drivers/mmc/host/
Dtifm_sd.c501 unsigned int host_status = 0; in tifm_sd_card_event() local
507 host_status = readl(sock->addr + SOCK_MMCSD_STATUS); in tifm_sd_card_event()
509 host_status, host->cmd_flags); in tifm_sd_card_event()
514 if (host_status & TIFM_MMCSD_ERRMASK) { in tifm_sd_card_event()
515 writel(host_status & TIFM_MMCSD_ERRMASK, in tifm_sd_card_event()
517 if (host_status & TIFM_MMCSD_CTO) in tifm_sd_card_event()
519 else if (host_status & TIFM_MMCSD_CCRC) in tifm_sd_card_event()
523 if (host_status & TIFM_MMCSD_DTO) in tifm_sd_card_event()
525 else if (host_status & TIFM_MMCSD_DCRC) in tifm_sd_card_event()
546 if (host_status & (TIFM_MMCSD_EOC | TIFM_MMCSD_CERR)) { in tifm_sd_card_event()
[all …]
/drivers/memstick/host/
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()
/drivers/xen/
Dxen-scsiback.c285 int32_t host_status; in scsiback_result() local
289 host_status = XEN_VSCSIIF_RSLT_HOST_OK; in scsiback_result()
292 host_status = XEN_VSCSIIF_RSLT_HOST_NO_CONNECT; in scsiback_result()
295 host_status = XEN_VSCSIIF_RSLT_HOST_BUS_BUSY; in scsiback_result()
298 host_status = XEN_VSCSIIF_RSLT_HOST_TIME_OUT; in scsiback_result()
301 host_status = XEN_VSCSIIF_RSLT_HOST_BAD_TARGET; in scsiback_result()
304 host_status = XEN_VSCSIIF_RSLT_HOST_ABORT; in scsiback_result()
307 host_status = XEN_VSCSIIF_RSLT_HOST_PARITY; in scsiback_result()
310 host_status = XEN_VSCSIIF_RSLT_HOST_ERROR; in scsiback_result()
313 host_status = XEN_VSCSIIF_RSLT_HOST_RESET; in scsiback_result()
[all …]
/drivers/scsi/
Dqlogicpti.c1069 int host_status = DID_ERROR; in DEF_SCSI_QCMD() local
1073 host_status = DID_OK; in DEF_SCSI_QCMD()
1077 host_status = DID_NO_CONNECT; in DEF_SCSI_QCMD()
1079 host_status = DID_BAD_TARGET; in DEF_SCSI_QCMD()
1081 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1083 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1085 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1087 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1091 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1095 host_status = DID_RESET; in DEF_SCSI_QCMD()
[all …]
Dscsi_ioctl.c384 hdr->host_status = host_byte(scmd->result); in scsi_complete_sghdr_rq()
389 if (hdr->masked_status || hdr->host_status || hdr->driver_status) in scsi_complete_sghdr_rq()
639 .host_status = hdr->host_status, in put_sg_io_hdr()
687 .host_status = hdr32.host_status, in get_sg_io_hdr()
Dncr53c8xx.c1431 #define host_status phys.header.status[2] macro
1436 #define host_status phys.header.status[1] macro
4345 cp->host_status = cp->nego_status ? HS_NEGOTIATE : HS_BUSY; in ncr_queue_command()
4612 if (cp->host_status) { in ncr_detach()
4614 ncr_name(np), cp->host_status); in ncr_detach()
4679 cp->host_status,cp->scsi_status); in ncr_complete()
4743 if (cp->host_status==HS_COMPLETE) in ncr_complete()
4744 cp->host_status = HS_FAIL; in ncr_complete()
4751 if (cp->host_status != HS_COMPLETE || in ncr_complete()
4755 cp->host_status, cp->scsi_status); in ncr_complete()
[all …]
Dqla1280.c1284 int host_status = DID_ERROR; in qla1280_return_status() local
1315 host_status = DID_OK; in qla1280_return_status()
1320 host_status = DID_NO_CONNECT; in qla1280_return_status()
1322 host_status = DID_BAD_TARGET; in qla1280_return_status()
1324 host_status = DID_ERROR; in qla1280_return_status()
1326 host_status = DID_ERROR; in qla1280_return_status()
1328 host_status = DID_ERROR; in qla1280_return_status()
1330 host_status = DID_ERROR; in qla1280_return_status()
1334 host_status = DID_RESET; in qla1280_return_status()
1338 host_status = DID_ABORT; in qla1280_return_status()
[all …]
Dsg.c498 old_hdr->host_status = hp->host_status; in sg_read()
506 switch (hp->host_status) { in sg_read()
592 if (hp->masked_status || hp->host_status || hp->driver_status) in sg_new_read()
794 hp->host_status = 0; in sg_common_write()
873 srp->header.host_status & in sg_fill_request_table()
1358 srp->header.host_status = host_byte(result); in sg_rq_end_io()
Dadvansys.c1749 uchar host_status; /* Ucode host status. */ member
2583 q->cdb_len, q->done_status, q->host_status, q->scsi_status); in asc_prt_adv_scsi_req_q()
5969 switch (scsiqp->host_status) { in adv_isr_callback()
5981 ASC_DBG(1, "host_status 0x%x\n", scsiqp->host_status); in adv_isr_callback()
6007 scsiqp->host_status == QHSTA_NO_ERROR) { in adv_isr_callback()
6119 scsiq->host_status = scsiq->scsi_status = 0; in AdvISR()
8304 scsiq->host_status = QHSTA_M_INVALID_DEVICE; in AdvExeScsiQueue()
/drivers/scsi/csiostor/
Dcsio_scsi.c1570 uint32_t host_status = DID_OK; in csio_scsi_err_handler() local
1580 host_status = DID_ERROR; in csio_scsi_err_handler()
1595 host_status = DID_ERROR; in csio_scsi_err_handler()
1621 host_status = DID_ERROR; in csio_scsi_err_handler()
1623 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()
1659 host_status = DID_REQUEUE; 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()
[all …]
/drivers/scsi/qla2xxx/
Dqla_dbg.h59 __be32 host_status; member
91 __be32 host_status; member
130 __be32 host_status; member
169 __be32 host_status; member
Dqla_dbg.c147 stat = rd_reg_dword(&reg->host_status); in qla27xx_dump_mpi_ram()
232 stat = rd_reg_dword(&reg->host_status); in qla24xx_dump_ram()
316 if (rd_reg_dword(&reg->host_status) & HSRX_RISC_PAUSED) in qla24xx_pause_risc()
412 stat = rd_reg_dword(&reg->u.isp2300.host_status); in qla2xxx_dump_ram()
1117 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla24xx_fw_dump()
1360 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla25xx_fw_dump()
1671 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla81xx_fw_dump()
1986 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla83xx_fw_dump()
Dqla_inline.h540 return ((rd_reg_dword(&reg->host_status)) == in qla2x00_isp_reg_stat()
551 stat = rd_reg_dword(&reg->host_status); in qla_pci_disconnected()
Dqla_nx.h847 __le32 host_status; /* host status */ member
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()
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c1638 if (cp->host_status == HS_WAIT)
2201 cp->host_status = hsts;
2703 cp->host_status = HS_BUSY;
3151 cp->host_status = cp->nego_status ? HS_NEGOTIATE : HS_BUSY;
3208 if (cp->host_status != HS_DISCONNECT ||
3314 if (cp->host_status != HS_DISCONNECT)
3346 if (cp->host_status != HS_BUSY &&
3347 cp->host_status != HS_NEGOTIATE)
3462 if (cp->host_status != HS_DISCONNECT)
4841 cp->host_status = HS_IDLE;
[all …]
Dsym_glue.c182 if (cp->host_status == HS_COMPLETE && in sym_set_cam_result_error()
217 } else if (cp->host_status == HS_COMPLETE) /* Bad SCSI status */ in sym_set_cam_result_error()
219 else if (cp->host_status == HS_SEL_TIMEOUT) /* Selection timeout */ in sym_set_cam_result_error()
221 else if (cp->host_status == HS_UNEXPECTED) /* Unexpected BUS FREE*/ in sym_set_cam_result_error()
226 cp->host_status, cp->ssss_status, in sym_set_cam_result_error()
Dsym_hipd.h599 #define host_status phys.head.status[1] macro
/drivers/scsi/bfa/
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()
/drivers/scsi/qla4xxx/
Dql4_isr.c1254 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_82xx_intr_handler()
1409 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_8xxx_default_intr_handler()
1446 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_8xxx_msix_rsp_q()
Dql4_fw.h59 __le32 host_status; /* Offset 0x500 (R): host status */ member
/drivers/scsi/lpfc/
Dlpfc_scsi.c3822 uint32_t host_status = DID_OK; in lpfc_handle_fcp_err() local
3847 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3858 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3920 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3938 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3945 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3975 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3982 cmnd->result = host_status << 16 | scsi_status; in lpfc_handle_fcp_err()
/drivers/ata/
Dpata_mpc52xx.c211 u32 host_status; /* ATA + 0x04 Host controller status */ member

12