Home
last modified time | relevance | path

Searched refs:dev_status (Results 1 – 13 of 13) sorted by relevance

/drivers/scsi/hisi_sas/
Dhisi_sas.h105 enum dev_status { enum
226 enum dev_status dev_status; member
Dhisi_sas_main.c675 sas_dev->dev_status = HISI_SAS_DEV_INIT; in hisi_sas_alloc_dev()
808 sas_dev->dev_status = HISI_SAS_DEV_NORMAL; in hisi_sas_dev_found()
1795 reset_type = (sas_dev->dev_status == HISI_SAS_DEV_INIT || in hisi_sas_debug_I_T_nexus_reset()
1818 } else if (sas_dev->dev_status != HISI_SAS_DEV_INIT) { in hisi_sas_debug_I_T_nexus_reset()
2378 hisi_hba->devices[i].dev_status = HISI_SAS_DEV_INIT; in hisi_sas_alloc()
Dhisi_sas_v2_hw.c864 sas_dev->dev_status = HISI_SAS_DEV_INIT; in alloc_dev_quirk_v2_hw()
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1539 union bfa_flash_dev_status_reg dev_status; in bfa_flash_fifo_flush() local
1541 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
1543 if (!dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
1547 for (i = 0; i < dev_status.r.fifo_cnt; i++) in bfa_flash_fifo_flush()
1552 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
1553 if (!dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
1557 if (dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
1567 union bfa_flash_dev_status_reg dev_status; in bfa_flash_status_read() local
1587 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_status_read()
1588 if (!dev_status.r.fifo_cnt) in bfa_flash_status_read()
/drivers/scsi/mvsas/
Dmv_sas.h75 enum dev_status { enum
235 u8 dev_status; member
Dmv_sas.c1167 mvi_dev->dev_status = MVS_DEV_NORMAL; in mvs_free_dev()
1190 mvi_device->dev_status = MVS_DEV_NORMAL; in mvs_dev_found_notify()
1390 mvi_dev->dev_status = MVS_DEV_EH; in mvs_lu_reset()
1410 if (mvi_dev->dev_status != MVS_DEV_EH) in mvs_I_T_nexus_reset()
1413 mvi_dev->dev_status = MVS_DEV_NORMAL; in mvs_I_T_nexus_reset()
1488 mvi_dev->dev_status = MVS_DEV_EH; in mvs_abort_task()
Dmv_init.c239 mvi->devices[i].dev_status = MVS_DEV_NORMAL; in mvs_alloc()
/drivers/scsi/
Ddpt_i2o.c2085 u32 dev_status; in adpt_i2o_scsi_complete() local
2091 dev_status = (detailed_status & 0xff); in adpt_i2o_scsi_complete()
2121 …md->device->channel, (u32)cmd->device->id, cmd->device->lun, hba_status, dev_status, cmd->cmnd[0]); in adpt_i2o_scsi_complete()
2162 hba_status, dev_status, cmd->cmnd[0]); in adpt_i2o_scsi_complete()
2169 if (dev_status == SAM_STAT_CHECK_CONDITION) { in adpt_i2o_scsi_complete()
2179 hba_status, dev_status, cmd->cmnd[0]); in adpt_i2o_scsi_complete()
2194 cmd->result |= (dev_status); in adpt_i2o_scsi_complete()
/drivers/usb/gadget/udc/
Dlpc32xx_udc.c147 u32 dev_status; member
1097 udc->dev_status = 0; in udc_enable()
1130 udc->board->rmwk_chgb(udc->dev_status & in uda_remwkp_cgh()
2146 if (udc->dev_status & (1 << USB_DEVICE_REMOTE_WAKEUP)) in udc_get_status()
2223 udc->dev_status &= in udc_handle_ep0_setup()
2226 udc->dev_status |= in udc_handle_ep0_setup()
/drivers/media/dvb-frontends/
Dmxl692.c581 struct MXL_EAGLE_DEV_STATUS_T *dev_status; in mxl692_fwdownload() local
614 dev_status = (struct MXL_EAGLE_DEV_STATUS_T *)&rx_buf; in mxl692_fwdownload()
619 (u8 *)dev_status, in mxl692_fwdownload()
/drivers/scsi/esas2r/
Datvda.h199 u8 dev_status; member
294 u8 dev_status; member
/drivers/scsi/bfa/
Dbfa_ioc.c6782 union bfa_flash_dev_status_reg_u dev_status; in bfa_flash_fifo_flush() local
6784 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6786 if (!dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
6790 for (i = 0; i < dev_status.r.fifo_cnt; i++) in bfa_flash_fifo_flush()
6797 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6798 if (!dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
6802 if (dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
6819 union bfa_flash_dev_status_reg_u dev_status; in bfa_flash_status_read() local
6839 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_status_read()
6840 if (!dev_status.r.fifo_cnt) in bfa_flash_status_read()
/drivers/md/
Ddm-ioctl.c1215 static int dev_status(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_status() function
1781 {DM_DEV_STATUS_CMD, IOCTL_FLAGS_NO_PARAMS, dev_status}, in lookup_ioctl()