Lines Matching defs:pqi_scsi_dev
1099 struct pqi_scsi_dev { struct
1100 int devtype; /* as reported by INQUIRY command */
1101 u8 device_type; /* as reported by */
1104 int bus;
1105 int target;
1106 int lun;
1107 u8 scsi3addr[8];
1108 u8 wwid[16];
1109 u8 volume_id[16];
1110 u8 is_physical_device : 1;
1111 u8 is_external_raid_device : 1;
1112 u8 is_expander_smp_device : 1;
1113 u8 target_lun_valid : 1;
1114 u8 device_gone : 1;
1115 u8 new_device : 1;
1116 u8 keep_device : 1;
1117 u8 volume_offline : 1;
1118 u8 rescan : 1;
1119 u8 ignore_device : 1;
1120 u8 erase_in_progress : 1;
1121 bool aio_enabled; /* only valid for physical disks */
1122 bool in_remove;
1123 bool in_reset[PQI_MAX_LUNS_PER_DEVICE];
1124 bool device_offline;
1125 u8 vendor[8]; /* bytes 8-15 of inquiry data */
1126 u8 model[16]; /* bytes 16-31 of inquiry data */
1127 u64 sas_address;
1128 u8 raid_level;
1129 u16 queue_depth; /* max. queue_depth for this device */
1130 u16 advertised_queue_depth;
1131 u32 aio_handle;
1132 u8 volume_status;
1133 u8 active_path_index;
1134 u8 path_map;
1135 u8 bay;
1136 u8 box_index;
1137 u8 phys_box_on_bus;
1138 u8 phy_connected_dev_type;
1139 u8 box[8];
1140 u16 phys_connector[8];
1141 u8 phy_id;
1142 u8 ncq_prio_enable;
1143 u8 ncq_prio_support;
1144 u8 lun_count;
1145 bool raid_bypass_configured; /* RAID bypass configured */
1146 bool raid_bypass_enabled; /* RAID bypass enabled */
1147 u32 next_bypass_group[RAID_MAP_MAX_DATA_DISKS_PER_ROW];
1148 struct raid_map *raid_map; /* RAID bypass map */
1149 u32 max_transfer_encrypted;
1151 struct pqi_sas_port *sas_port;
1152 struct scsi_device *sdev;
1154 struct list_head scsi_device_list_entry;
1155 struct list_head new_device_list_entry;
1156 struct list_head add_list_entry;
1157 struct list_head delete_list_entry;
1159 struct pqi_stream_data stream_data[NUM_STREAMS_PER_LUN];
1160 atomic_t scsi_cmds_outstanding[PQI_MAX_LUNS_PER_DEVICE];
1161 unsigned int raid_bypass_cnt;
1163 struct pqi_tmf_work tmf_work[PQI_MAX_LUNS_PER_DEVICE];