Home
last modified time | relevance | path

Searched refs:inq (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dpluto.c208 struct pluto_inquiry *inq; in pluto_detect() local
212 inq = (struct pluto_inquiry *)fcs[i].inquiry; in pluto_detect()
214 if ((inq->dtype & 0x1f) == TYPE_PROCESSOR && in pluto_detect()
215 !strncmp (inq->vendor_id, "SUN", 3) && in pluto_detect()
216 !strncmp (inq->product_id, "SSA", 3)) { in pluto_detect()
220 ages = kmalloc (((inq->channels + 1) * inq->targets) * sizeof(long), GFP_KERNEL); in pluto_detect()
236 host->max_id = inq->targets; in pluto_detect()
237 host->max_channel = inq->channels; in pluto_detect()
246 fc->channels = inq->channels + 1; in pluto_detect()
247 fc->targets = inq->targets; in pluto_detect()
[all …]
Dadvansys.c1113 #define ASC_INQ_DVC_TYPE(inq) ((inq)->periph & 0x1f) argument
1114 #define ASC_INQ_QUALIFIER(inq) (((inq)->periph & 0xe0) >> 5) argument
1115 #define ASC_INQ_DVC_TYPE_MOD(inq) ((inq)->devtype & 0x7f) argument
1116 #define ASC_INQ_REMOVABLE(inq) ((inq)->devtype & 0x80) argument
1117 #define ASC_INQ_ANSI_VER(inq) ((inq)->ver & 0x07) argument
1118 #define ASC_INQ_ECMA_VER(inq) (((inq)->ver & 0x38) >> 3) argument
1119 #define ASC_INQ_ISO_VER(inq) (((inq)->ver & 0xc0) >> 6) argument
1120 #define ASC_INQ_RESPONSE_FMT(inq) ((inq)->byte3 & 0x0f) argument
1121 #define ASC_INQ_TERM_IO(inq) ((inq)->byte3 & 0x40) argument
1122 #define ASC_INQ_ASYNC_NOTIF(inq) ((inq)->byte3 & 0x80) argument
[all …]
Dpsi_roy.h300 } inq; member
Dgdth.c2769 gdth_inq_data inq; in gdth_internal_cache_cmd() local
2796 inq.type_qual = (ha->hdr[t].devtype&4) ? TYPE_ROM:TYPE_DISK; in gdth_internal_cache_cmd()
2799 inq.modif_rmb = 0x00; in gdth_internal_cache_cmd()
2802 inq.modif_rmb = 0x80; in gdth_internal_cache_cmd()
2803 inq.version = 2; in gdth_internal_cache_cmd()
2804 inq.resp_aenc = 2; in gdth_internal_cache_cmd()
2805 inq.add_length= 32; in gdth_internal_cache_cmd()
2806 strcpy(inq.vendor,ha->oem_name); in gdth_internal_cache_cmd()
2807 sprintf(inq.product,"Host Drive #%02d",t); in gdth_internal_cache_cmd()
2808 strcpy(inq.revision," "); in gdth_internal_cache_cmd()
[all …]
Dmegaraid2.c938 mraid_inquiry *inq; in mega_query_adapter() local
946 inq = &ext_inq->raid_inq; in mega_query_adapter()
959 mega_8_to_40ld(inq, inquiry3, in mega_query_adapter()
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daiclib.c1173 struct scsi_inquiry_data *inq; in aic_inquiry_match() local
1176 inq = (struct scsi_inquiry_data *)inqbuffer; in aic_inquiry_match()
1178 if (((SID_TYPE(inq) == entry->type) in aic_inquiry_match()
1180 && (SID_IS_REMOVABLE(inq) ? entry->media_type & SIP_MEDIA_REMOVABLE in aic_inquiry_match()
1182 && (cam_strmatch(inq->vendor, entry->vendor, sizeof(inq->vendor)) == 0) in aic_inquiry_match()
1183 && (cam_strmatch(inq->product, entry->product, in aic_inquiry_match()
1184 sizeof(inq->product)) == 0) in aic_inquiry_match()
1185 && (cam_strmatch(inq->revision, entry->revision, in aic_inquiry_match()
1186 sizeof(inq->revision)) == 0)) { in aic_inquiry_match()
/linux-2.4.37.9/drivers/char/
Dmoxa.c1648 int inq; member
1708 temp_queue[i].inq = MoxaPortRxQueue(i); in MoxaDriverIoctl()