Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
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-6.1.9/drivers/mmc/host/
Dtifm_sd.c506 unsigned int host_status = 0; in tifm_sd_card_event() local
513 host_status = readl(sock->addr + SOCK_MMCSD_STATUS); in tifm_sd_card_event()
515 host_status, host->cmd_flags); in tifm_sd_card_event()
520 if (host_status & TIFM_MMCSD_ERRMASK) { in tifm_sd_card_event()
521 writel(host_status & TIFM_MMCSD_ERRMASK, in tifm_sd_card_event()
523 if (host_status & TIFM_MMCSD_CTO) in tifm_sd_card_event()
525 else if (host_status & TIFM_MMCSD_CCRC) in tifm_sd_card_event()
529 if (host_status & TIFM_MMCSD_DTO) in tifm_sd_card_event()
531 else if (host_status & TIFM_MMCSD_DCRC) in tifm_sd_card_event()
552 if (host_status & (TIFM_MMCSD_EOC | TIFM_MMCSD_CERR)) { in tifm_sd_card_event()
[all …]
/linux-6.1.9/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-6.1.9/include/scsi/
Dsg.h60 unsigned short host_status; /* [o] errors from host adapter */ member
89 unsigned short host_status; /* [o] errors from host adapter */ member
291 unsigned int host_status:8; /* [o] host status (see "DID" codes) */ member
/linux-6.1.9/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 …]
/linux-6.1.9/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.c381 hdr->host_status = host_byte(scmd->result); in scsi_complete_sghdr_rq()
386 if (hdr->masked_status || hdr->host_status || hdr->driver_status) in scsi_complete_sghdr_rq()
636 .host_status = hdr->host_status, in put_sg_io_hdr()
684 .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.c495 old_hdr->host_status = hp->host_status; in sg_read()
503 switch (hp->host_status) { in sg_read()
589 if (hp->masked_status || hp->host_status || hp->driver_status) in sg_new_read()
791 hp->host_status = 0; in sg_common_write()
870 srp->header.host_status & in sg_fill_request_table()
1354 srp->header.host_status = host_byte(result); in sg_rq_end_io()
/linux-6.1.9/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 …]
/linux-6.1.9/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_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()
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()
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()
/linux-6.1.9/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
/linux-6.1.9/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-6.1.9/drivers/scsi/qla4xxx/
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()
Dql4_fw.h59 __le32 host_status; /* Offset 0x500 (R): host status */ member
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_scsi.c3843 uint32_t host_status = DID_OK; in lpfc_handle_fcp_err() local
3868 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3879 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3941 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3959 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3966 host_status = DID_ERROR; in lpfc_handle_fcp_err()
3996 host_status = DID_ERROR; in lpfc_handle_fcp_err()
4003 cmnd->result = host_status << 16 | scsi_status; in lpfc_handle_fcp_err()
/linux-6.1.9/drivers/ata/
Dpata_mpc52xx.c210 u32 host_status; /* ATA + 0x04 Host controller status */ member

12