Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas.h101 enum dev_status { enum
208 enum dev_status dev_status; member
Dhisi_sas_main.c682 sas_dev->dev_status = HISI_SAS_DEV_INIT; in hisi_sas_alloc_dev()
815 sas_dev->dev_status = HISI_SAS_DEV_NORMAL; in hisi_sas_dev_found()
1775 reset_type = (sas_dev->dev_status == HISI_SAS_DEV_INIT || in hisi_sas_debug_I_T_nexus_reset()
1797 } else if (sas_dev->dev_status != HISI_SAS_DEV_INIT) { in hisi_sas_debug_I_T_nexus_reset()
2331 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dlpc32xx_udc.c148 u32 dev_status; member
1098 udc->dev_status = 0; in udc_enable()
1131 udc->board->rmwk_chgb(udc->dev_status & in uda_remwkp_cgh()
2147 if (udc->dev_status & (1 << USB_DEVICE_REMOTE_WAKEUP)) in udc_get_status()
2224 udc->dev_status &= in udc_handle_ep0_setup()
2227 udc->dev_status |= in udc_handle_ep0_setup()
/kernel/linux/linux-5.10/drivers/scsi/
Ddpt_i2o.c2343 u32 dev_status; in adpt_i2o_scsi_complete() local
2349 dev_status = (detailed_status & 0xff); in adpt_i2o_scsi_complete()
2379 …md->device->channel, (u32)cmd->device->id, cmd->device->lun, hba_status, dev_status, cmd->cmnd[0]); in adpt_i2o_scsi_complete()
2420 hba_status, dev_status, cmd->cmnd[0]); in adpt_i2o_scsi_complete()
2427 if (dev_status == SAM_STAT_CHECK_CONDITION) { in adpt_i2o_scsi_complete()
2437 hba_status, dev_status, cmd->cmnd[0]); in adpt_i2o_scsi_complete()
2452 cmd->result |= (dev_status); in adpt_i2o_scsi_complete()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Datvda.h199 u8 dev_status; member
294 u8 dev_status; member
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_ioc.c6780 union bfa_flash_dev_status_reg_u dev_status; in bfa_flash_fifo_flush() local
6782 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6784 if (!dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
6788 for (i = 0; i < dev_status.r.fifo_cnt; i++) in bfa_flash_fifo_flush()
6795 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6796 if (!dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
6800 if (dev_status.r.fifo_cnt) in bfa_flash_fifo_flush()
6817 union bfa_flash_dev_status_reg_u dev_status; in bfa_flash_status_read() local
6837 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_status_read()
6838 if (!dev_status.r.fifo_cnt) in bfa_flash_status_read()
/kernel/linux/linux-5.10/drivers/md/
Ddm-ioctl.c1119 static int dev_status(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_status() function
1680 {DM_DEV_STATUS_CMD, IOCTL_FLAGS_NO_PARAMS, dev_status}, in lookup_ioctl()