Home
last modified time | relevance | path

Searched refs:scsi_inq (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dmegaraid.c2604 char *scsi_inq; in proc_pdrv() local
2633 scsi_inq = pci_alloc_consistent(pdev, 256, &scsi_inq_dma_handle); in proc_pdrv()
2635 if( scsi_inq == NULL ) { in proc_pdrv()
2700 memset(scsi_inq, 0, 256); in proc_pdrv()
2703 (scsi_inq[0] & 0x1F) != TYPE_DISK ) { in proc_pdrv()
2715 len += mega_print_inquiry(page+len, scsi_inq); in proc_pdrv()
2719 pci_free_consistent(pdev, 256, scsi_inq, scsi_inq_dma_handle); in proc_pdrv()
2733 mega_print_inquiry(char *page, char *scsi_inq) in mega_print_inquiry() argument
2740 len += sprintf(page+len, "%c", scsi_inq[i]); in mega_print_inquiry()
2746 len += sprintf(page+len, "%c", scsi_inq[i]); in mega_print_inquiry()
[all …]
/linux-2.6.39/drivers/scsi/aacraid/
Daachba.c692 struct scsi_inq { struct
756 struct scsi_inq *str; in setinqstr()
758 str = (struct scsi_inq *)(data); /* cast data to scsi inq block */ in setinqstr()
902 return snprintf((char *)(data), sizeof(struct scsi_inq) - 4, "%08X%02X", in setinqserial()