Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_misc.c270 u_char *inq_data, int inq_len) in __sym_sniff_inquiry() argument
277 if (!inq_data || inq_len < 2) in __sym_sniff_inquiry()
283 if ((inq_data[0] & 0xe0) == 0x60) in __sym_sniff_inquiry()
291 inq_version = inq_data[2] & 0x7; in __sym_sniff_inquiry()
297 if (inq_version >= 2 && (inq_data[3] & 0xf) == 2) { in __sym_sniff_inquiry()
299 inq_byte7 = inq_data[7]; in __sym_sniff_inquiry()
301 else if (inq_version == 1 && (inq_data[3] & 0xf) == 1) in __sym_sniff_inquiry()
318 inq_byte56 = inq_data[56]; in __sym_sniff_inquiry()
Dsym_hipd.h1221 u_char *inq_data, int inq_len);
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daiclib.h564 #define SID_TYPE(inq_data) ((inq_data)->device & 0x1f) argument
565 #define SID_QUAL(inq_data) (((inq_data)->device & 0xE0) >> 5) argument
598 #define SID_QUAL_IS_VENDOR_UNIQUE(inq_data) ((SID_QUAL(inq_data) & 0x08) != 0) argument
601 #define SID_IS_REMOVABLE(inq_data) (((inq_data)->dev_qual2 & 0x80) != 0) argument
603 #define SID_ANSI_REV(inq_data) ((inq_data)->version & 0x07) argument
Daiclib.c906 struct scsi_inquiry_data *inq_data, in fetchtableentries() argument
924 if (inq_data != NULL) in fetchtableentries()
925 match = cam_quirkmatch((void *)inq_data, in fetchtableentries()
1056 struct scsi_inquiry_data *inq_data, in aic_sense_desc() argument
1063 inq_data, in aic_sense_desc()
1086 struct scsi_inquiry_data *inq_data, uint32_t sense_flags) in aic_sense_error_action() argument
1122 inq_data, in aic_sense_error_action()
1252 aic_error_action(struct scsi_cmnd *cmd, struct scsi_inquiry_data *inq_data, in aic_error_action() argument
1282 aic_sense_error_action(sense, inq_data, 0); in aic_error_action()
Daic79xx_osm.c2813 inq_len = targ->inq_data->additional_length + 5;
2954 status = aic_error_action(cmd, targ->inq_data,
3010 if (memcmp(targ->inq_data, targ->dv_buffer,
3026 xportflags = targ->inq_data->flags;
3030 spi3data = targ->inq_data->spi3data;
3076 if (memcmp(targ->inq_data, targ->dv_buffer,
3092 ((uint8_t *)targ->inq_data)[i],
3449 if (targ->inq_data == NULL)
3450 targ->inq_data = malloc(AHD_LINUX_DV_INQ_LEN,
3468 cmd->request_buffer = targ->inq_data;
[all …]
Daic7xxx_osm.c2482 inq_len = targ->inq_data->additional_length + 5;
2610 status = aic_error_action(cmd, targ->inq_data,
2665 if (memcmp(targ->inq_data, targ->dv_buffer,
2681 xportflags = targ->inq_data->flags;
2685 spi3data = targ->inq_data->spi3data;
2731 if (memcmp(targ->inq_data, targ->dv_buffer,
2746 ((uint8_t *)targ->inq_data)[i],
3103 if (targ->inq_data == NULL)
3104 targ->inq_data = malloc(AHC_LINUX_DV_INQ_LEN,
3122 cmd->request_buffer = targ->inq_data;
[all …]
Daic7xxx_osm.h474 struct scsi_inquiry_data *inq_data; member
Daic79xx_osm.h462 struct scsi_inquiry_data *inq_data; member
/linux-2.4.37.9/drivers/message/fusion/
Dmptscsih.c3896 … else if (((pTarget->inq_data[0] & 0x1f) == 0x00) && (pTarget->minSyncFactor <= MPT_ULTRA160 )){ in mptscsih_select_queue_depths()
4966 memcpy (vdev->inq_data, data, 8); in mptscsih_initTarget()
4968 memcpy (vdev->inq_data, data, dlen); in mptscsih_initTarget()
5041 if (target->inq_data[7] & 0x02) in mptscsih_setTargetNegoParms()
5057 version = target->inq_data[2] & 0x07; in mptscsih_setTargetNegoParms()
5063 if (target->inq_data[7] & 0x20) { in mptscsih_setTargetNegoParms()
5067 if (target->inq_data[7] & 0x10) { in mptscsih_setTargetNegoParms()
5095 if (target->inq_data[7] & 0x02) { in mptscsih_setTargetNegoParms()
5155 if (((target->inq_data[0] & 0x1F) == 0x03) || ((target->inq_data[0] & 0x1F) > 0x08)) { in mptscsih_setTargetNegoParms()
6622 if (((pTarget->inq_data[0] & 0x1F) == 0x03) || ((pTarget->inq_data[0] & 0x1F) > 0x08)) { in mptscsih_doDv()
Dmptbase.h410 u8 inq_data[8]; member
/linux-2.4.37.9/drivers/scsi/
Dncr53c8xx.c1327 u_char *inq_data);
7990 static lcb_p ncr_setup_lcb (ncb_p np, u_char tn, u_char ln, u_char *inq_data) argument
8005 tp->quirks = ncr_lookup (inq_data);
8020 if ((inq_data[2] & 0x7) >= 2 && (inq_data[3] & 0xf) == 2)
8021 inq_byte7 = inq_data[7];
8022 else if ((inq_data[2] & 0x7) == 1 && (inq_data[3] & 0xf) == 1)
8029 if ((inq_data[0] & 0xe0) > 0x20 || (inq_data[0] & 0x1f) == 0x1f)
Dsym53c8xx.c2481 u_char *inq_data);
11932 static lcb_p ncr_setup_lcb (ncb_p np, u_char tn, u_char ln, u_char *inq_data) argument
11965 if ((inq_data[2] & 0x7) >= 2 && (inq_data[3] & 0xf) == 2)
11966 inq_byte7 = inq_data[7];
11967 else if ((inq_data[2] & 0x7) == 1 && (inq_data[3] & 0xf) == 1)
11974 if ((inq_data[0] & 0xe0) > 0x20 || (inq_data[0] & 0x1f) == 0x1f)
11988 if (((inq_data[2] & 0x07) < 3) && (inq_data[4] < 53 ||
11989 !(inq_data[56] & 0x04))) {