Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.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()
/Linux-v5.4/drivers/mmc/host/
Dtifm_sd.c504 unsigned int host_status = 0; in tifm_sd_card_event() local
511 host_status = readl(sock->addr + SOCK_MMCSD_STATUS); in tifm_sd_card_event()
513 host_status, host->cmd_flags); in tifm_sd_card_event()
518 if (host_status & TIFM_MMCSD_ERRMASK) { in tifm_sd_card_event()
519 writel(host_status & TIFM_MMCSD_ERRMASK, in tifm_sd_card_event()
521 if (host_status & TIFM_MMCSD_CTO) in tifm_sd_card_event()
523 else if (host_status & TIFM_MMCSD_CCRC) in tifm_sd_card_event()
527 if (host_status & TIFM_MMCSD_DTO) in tifm_sd_card_event()
529 else if (host_status & TIFM_MMCSD_DCRC) in tifm_sd_card_event()
550 if (host_status & (TIFM_MMCSD_EOC | TIFM_MMCSD_CERR)) { in tifm_sd_card_event()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/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 …]
Dncr53c8xx.c1429 #define host_status phys.header.status[2] macro
1434 #define host_status phys.header.status[1] macro
4373 cp->host_status = cp->nego_status ? HS_NEGOTIATE : HS_BUSY; in ncr_queue_command()
4579 if (cp->host_status == HS_IDLE) continue; in ncr_reset_bus()
4645 if (cp->host_status == HS_IDLE) continue;
4665 switch(cp->host_status) {
4759 if (cp->host_status) { in ncr_detach()
4761 ncr_name(np), cp->host_status); in ncr_detach()
4826 cp->host_status,cp->scsi_status); in ncr_complete()
4890 if (cp->host_status==HS_COMPLETE) in ncr_complete()
[all …]
Dqla1280.c1295 int host_status = DID_ERROR; in qla1280_return_status() local
1326 host_status = DID_OK; in qla1280_return_status()
1331 host_status = DID_NO_CONNECT; in qla1280_return_status()
1333 host_status = DID_BAD_TARGET; in qla1280_return_status()
1335 host_status = DID_ERROR; in qla1280_return_status()
1337 host_status = DID_ERROR; in qla1280_return_status()
1339 host_status = DID_ERROR; in qla1280_return_status()
1341 host_status = DID_ERROR; in qla1280_return_status()
1345 host_status = DID_RESET; in qla1280_return_status()
1349 host_status = DID_ABORT; in qla1280_return_status()
[all …]
Dsg.c504 old_hdr->host_status = hp->host_status; in sg_read()
510 switch (hp->host_status) { in sg_read()
590 if (hp->masked_status || hp->host_status || hp->driver_status) in sg_new_read()
799 hp->host_status = 0; in sg_common_write()
877 srp->header.host_status & in sg_fill_request_table()
1355 srp->header.host_status = host_byte(result); in sg_rq_end_io()
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_scsi.c1566 uint32_t host_status = DID_OK; in csio_scsi_err_handler() local
1576 host_status = DID_ERROR; in csio_scsi_err_handler()
1591 host_status = DID_ERROR; in csio_scsi_err_handler()
1617 host_status = DID_ERROR; in csio_scsi_err_handler()
1619 host_status = DID_ERROR; in csio_scsi_err_handler()
1629 host_status = DID_ERROR; in csio_scsi_err_handler()
1640 host_status = DID_ERROR; in csio_scsi_err_handler()
1655 host_status = DID_REQUEUE; in csio_scsi_err_handler()
1666 host_status = DID_ERROR; in csio_scsi_err_handler()
1678 host_status = DID_ERROR; in csio_scsi_err_handler()
[all …]
/Linux-v5.4/include/scsi/
Dsg.h64 unsigned short host_status; /* [o] errors from host adapter */ member
232 unsigned int host_status:8; /* [o] host status (see "DID" codes) */ member
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_dbg.h59 uint32_t host_status; member
91 uint32_t host_status; member
130 uint32_t host_status; member
169 uint32_t host_status; member
Dqla_dbg.c146 stat = RD_REG_DWORD(&reg->host_status); in qla27xx_dump_mpi_ram()
223 stat = RD_REG_DWORD(&reg->host_status); in qla24xx_dump_ram()
308 if (RD_REG_DWORD(&reg->host_status) & HSRX_RISC_PAUSED) in qla24xx_pause_risc()
404 stat = RD_REG_DWORD(&reg->u.isp2300.host_status); in qla2xxx_dump_ram()
1136 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla24xx_fw_dump()
1392 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla25xx_fw_dump()
1716 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla81xx_fw_dump()
2044 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla83xx_fw_dump()
Dqla_nx.h844 uint32_t host_status; /* host status */ member
Dqla_mbx.c413 uint32_t ictrl, host_status, hccr; in qla2x00_mailbox_command() local
423 host_status = RD_REG_DWORD(&reg->isp24.host_status); in qla2x00_mailbox_command()
430 mb[7], host_status, hccr); in qla2x00_mailbox_command()
577 RD_REG_DWORD(&reg->isp24.host_status), in qla2x00_mailbox_command()
5287 stat = RD_REG_DWORD(&reg->host_status); in qla81xx_write_mpi_register()
Dqla_nx.c2074 stat = RD_REG_DWORD(&reg->host_status); in qla82xx_intr_handler()
2143 stat = RD_REG_DWORD(&reg->host_status); in qla82xx_msix_default()
2239 stat = RD_REG_DWORD(&reg->host_status); in qla82xx_poll()
/Linux-v5.4/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)
4842 cp->host_status = HS_IDLE;
[all …]
Dsym_glue.c188 if (cp->host_status == HS_COMPLETE && in sym_set_cam_result_error()
224 } else if (cp->host_status == HS_COMPLETE) /* Bad SCSI status */ in sym_set_cam_result_error()
226 else if (cp->host_status == HS_SEL_TIMEOUT) /* Selection timeout */ in sym_set_cam_result_error()
228 else if (cp->host_status == HS_UNEXPECTED) /* Unexpected BUS FREE*/ in sym_set_cam_result_error()
233 cp->host_status, cp->ssss_status, in sym_set_cam_result_error()
Dsym_hipd.h599 #define host_status phys.head.status[1] macro
/Linux-v5.4/block/
Dscsi_ioctl.c254 hdr->host_status = host_byte(req->result); in blk_complete_sghdr_rq()
257 if (hdr->masked_status || hdr->host_status || hdr->driver_status) in blk_complete_sghdr_rq()
/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_isr.c1255 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_82xx_intr_handler()
1410 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_8xxx_default_intr_handler()
1447 intr_status = readl(&ha->qla4_82xx_reg->host_status); in qla4_8xxx_msix_rsp_q()
Dql4_fw.h60 __le32 host_status; /* Offset 0x500 (R): host status */ member
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_scsi.c3614 uint32_t host_status = DID_OK; in lpfc_handle_fcp_err() local
3639 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3650 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3712 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3730 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3737 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3770 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3777 cmnd->result = host_status << 16 | scsi_status; in lpfc_handle_fcp_err()
/Linux-v5.4/drivers/ata/
Dpata_mpc52xx.c209 u32 host_status; /* ATA + 0x04 Host controller status */ member
/Linux-v5.4/fs/
Dcompat_ioctl.c113 unsigned short host_status; /* [o] errors from host adapter */ member

12