Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/hid/intel-ish-hid/ipc/
H 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 …]
H A 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()
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dhost-powercycle17 host_status=$(gpio_get "$GPIOCHIP_IO_EXP_HOST_POWER_STATUS" "$IO_EXP_P0_PWRGD_R_OUT")
19 if [ "$host_status" = "gpioget failed" ]; then
29 if [ "$host_status" == "$STATE_ON" ]; then
42 if [ "$host_status" != "$STATE_OFF" ]; then
51 if [ "$host_status" != "$STATE_ON" ]; then
59 if [ "$host_status" != "$STATE_ON" ]; then
H A Dhost-poweroff14 host_status=$(gpio_get "$GPIOCHIP_IO_EXP_HOST_POWER_STATUS" "$IO_EXP_P0_PWRGD_R_OUT")
16 if [ "$host_status" = "gpioget failed" ]; then
24 if [ "$host_status" == "$STATE_OFF" ]
57 if [ "$host_status" == "$STATE_OFF" ]
H A Dhost-poweron12 host_status=$(gpio_get "$GPIOCHIP_IO_EXP_HOST_POWER_STATUS" "$IO_EXP_P0_PWRGD_R_OUT")
14 if [ "$host_status" = "gpioget failed" ]; then
22 if [ "$host_status" == "$STATE_ON" ]
68 if [ "$host_status" == "$STATE_ON" ]
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/
H A Dhost-powerreset30 host_status=$(host-power-status $SLOT_ID)
31 if [ "$host_status" == "$STATE_ON" ]
44 host_status=$(host-power-status $SLOT_ID)
45 if [ "$host_status" == "$STATE_ON" ]
H A Dhost-poweroff30 host_status=$(host-power-status $SLOT_ID)
31 if [ "$host_status" == "$STATE_OFF" ]
44 host_status=$(host-power-status $SLOT_ID)
45 if [ "$host_status" == "$STATE_ON" ]
H A Dhost-poweron29 host_status=$(host-power-status $SLOT_ID)
30 if [ "$host_status" == "$STATE_ON" ]
43 host_status=$(host-power-status $SLOT_ID)
44 if [ "$host_status" == "$STATE_OFF" ]
H A Dhost-powercycle32 host_status=$(host-power-status $SLOT_ID)
33 if [ "$host_status" == "$STATE_ON" ]
39 host_status=$(host-power-status $SLOT_ID)
40 if [ "$host_status" == "$STATE_ON" ]
/openbmc/linux/drivers/mmc/host/
H A Dtifm_sd.c501 unsigned int host_status = 0; in tifm_sd_card_event() local
509 host_status, host->cmd_flags); in tifm_sd_card_event()
517 if (host_status & TIFM_MMCSD_CTO) in tifm_sd_card_event()
523 if (host_status & TIFM_MMCSD_DTO) in tifm_sd_card_event()
556 if (host_status & TIFM_MMCSD_BRS) in tifm_sd_card_event()
561 if (host_status & TIFM_MMCSD_AE) in tifm_sd_card_event()
562 writel(host_status & TIFM_MMCSD_AE, in tifm_sd_card_event()
568 host_status &= ~TIFM_MMCSD_AE; in tifm_sd_card_event()
572 if (host_status & TIFM_MMCSD_EOFB) in tifm_sd_card_event()
574 else if (host_status & TIFM_MMCSD_CB) in tifm_sd_card_event()
[all …]
/openbmc/linux/drivers/memstick/host/
H 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()
/openbmc/linux/include/scsi/
H A 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
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-greatlakes/greatlakes-sysinit/files/
H A Dgreatlakes-system-state-init24 host_status="$(( "$res" >> 7 ))"
25 if [ "$host_status" == "$STATE_OFF" ]; then
/openbmc/linux/drivers/xen/
H A Dxen-scsiback.c285 int32_t host_status; in scsiback_result() local
289 host_status = XEN_VSCSIIF_RSLT_HOST_OK; 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()
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()
316 host_status = XEN_VSCSIIF_RSLT_HOST_BAD_INTR; in scsiback_result()
328 host_status = XEN_VSCSIIF_RSLT_HOST_REQUEUE; in scsiback_result()
[all …]
/openbmc/linux/drivers/scsi/
H A Dqlogicpti.c1073 host_status = DID_OK; 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()
1098 host_status = DID_ABORT; in DEF_SCSI_QCMD()
1116 host_status = DID_ERROR; in DEF_SCSI_QCMD()
1119 host_status = DID_OK; in DEF_SCSI_QCMD()
[all …]
H A 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()
H A Dncr53c8xx.c4612 if (cp->host_status) { in ncr_detach()
4614 ncr_name(np), cp->host_status); in ncr_detach()
4743 if (cp->host_status==HS_COMPLETE) in ncr_complete()
4744 cp->host_status = HS_FAIL; in ncr_complete()
4948 cp->host_status &= ~HS_SKIPMASK; in ncr_ccb_skipped()
5017 if (cp->host_status != HS_IDLE) { in ncr_wakeup()
5018 cp->host_status = code; in ncr_wakeup()
6341 cp->host_status = HS_BUSY; in ncr_int_ma()
6424 cp->host_status = HS_BUSY; in ncr_sir_to_redo()
6482 cp->host_status = HS_BUSY; in ncr_sir_to_redo()
[all …]
H A Dqla1280.c1315 host_status = DID_OK; 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()
1349 host_status = DID_ERROR; in qla1280_return_status()
1358 host_status = DID_ERROR; in qla1280_return_status()
1361 host_status = DID_OK; in qla1280_return_status()
[all …]
/openbmc/linux/drivers/scsi/csiostor/
H 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 …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_dbg.h59 __be32 host_status; member
91 __be32 host_status; member
130 __be32 host_status; member
169 __be32 host_status; member
/openbmc/qemu/hw/scsi/
H A Dscsi-generic.c91 } else if (io_hdr->host_status != SCSI_HOST_OK) { in scsi_command_complete_noio()
92 scsi_req_complete_failed(&r->req, io_hdr->host_status); in scsi_command_complete_noio()
312 if (r->io_header.host_status != SCSI_HOST_OK || in scsi_read_complete()
548 io_header.driver_status || io_header.host_status) { in scsi_SG_IO_FROM_DEV()
550 io_header.host_status); in scsi_SG_IO_FROM_DEV()
H A Dscsi-bus.c793 req->host_status = -1; in scsi_req_alloc()
1550 void scsi_req_complete_failed(SCSIRequest *req, int host_status) in scsi_req_complete_failed() argument
1555 assert(req->status == -1 && req->host_status == -1); in scsi_req_complete_failed()
1559 status = scsi_sense_from_host_status(req->host_status, &sense); in scsi_req_complete_failed()
1567 req->host_status = host_status; in scsi_req_complete_failed()
1579 assert(req->status == -1 && req->host_status == -1); in scsi_req_complete()
1581 req->host_status = SCSI_HOST_OK; in scsi_req_complete()
1824 assert(req->status == -1 && req->host_status == -1); in put_scsi_req()
/openbmc/qemu/include/hw/scsi/
H A Dscsi.h31 int16_t host_status; member
224 void scsi_req_complete_failed(SCSIRequest *req, int host_status);
/openbmc/qemu/include/scsi/
H A Dutils.h145 int scsi_sense_from_host_status(uint8_t host_status, SCSISense *sense);
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/host/files/
H A Dampere_power_util.sh47 host_status() { function

123