Searched defs:scsi (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | scsi.c | 0 /* scsi.c - scsi support. */ 26 #include <grub/scsi.h> 66 grub_scsi_request_sense (grub_scsi_t scsi) 73 rs.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; 80 err = scsi->dev->read (scsi, sizeof (rs), (char *) &rs, 89 grub_scsi_test_unit_ready (grub_scsi_t scsi) 96 tur.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; 103 err = scsi 64 grub_scsi_request_sense(grub_scsi_t scsi) argument 87 grub_scsi_test_unit_ready(grub_scsi_t scsi) argument 120 grub_scsi_inquiry(grub_scsi_t scsi) argument 156 grub_scsi_read_capacity(grub_scsi_t scsi) argument 197 grub_scsi_t scsi; local 230 grub_scsi_t scsi; local 377 grub_scsi_t scsi; local 512 grub_scsi_t scsi; local 524 grub_scsi_t scsi; local [all...] |
H A D | usbms.c | 23 #include <grub/scsi.h> 236 grub_usbms_transfer (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, 240 grub_usbms_dev_t dev = (grub_usbms_dev_t) scsi->data; 258 cbw.lun = scsi->lun; /* In USB MS CBW are LUN bits on another place than in SCSI CDB, both should be set correctly. */ 384 grub_usbms_read (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, 387 return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 0); 391 grub_usbms_write (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, 394 return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 1); 398 grub_usbms_open (int id, int devnum, struct grub_scsi *scsi) 410 scsi 235 grub_usbms_transfer(struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, grub_size_t size, char *buf, int read_write) argument 383 grub_usbms_read(struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, grub_size_t size, char *buf) argument 390 grub_usbms_write(struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, grub_size_t size, char *buf) argument 397 grub_usbms_open(int id, int devnum, struct grub_scsi *scsi) argument [all...] |
H A D | ata.c | 24 #include <grub/scsi.h> 503 grub_atapi_read (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, 506 struct grub_ata *dev = scsi->data; 535 grub_atapi_write (struct grub_scsi *scsi __attribute__((unused)), 541 // XXX: scsi.mod does not use write yet. 546 grub_atapi_open (int id, int bus, struct grub_scsi *scsi) 557 scsi->data = ata; 558 scsi->luns = 1; 643 /* ATAPI devices are handled by scsi.mod. */ 501 grub_atapi_read(struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, grub_size_t size, char *buf) argument 544 grub_atapi_open(int id, int bus, struct grub_scsi *scsi) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/ |
H A D | efi.c | 464 grub_efi_scsi_device_path_t scsi; local 465 grub_memcpy (&scsi, dp, len); 467 (unsigned) scsi.pun, 468 (unsigned) scsi.lun);
|
/osnet-11/usr/src/lib/libuefi_rt/common/ |
H A D | libuefi_rt_path.c | 1658 uefi_scsi_device_path_t *scsi; local 1660 scsi = calloc(1, sizeof (uefi_scsi_device_path_t)); 1662 if (scsi == NULL) { 1667 scsi->type = UEFI_MESSAGE_PATH; 1668 scsi->subtype = UEFI_SCSI; 1669 scsi->len = sizeof (uefi_scsi_device_path_t); 1671 scsi->target = target; 1672 scsi->lun = lun; 1674 if (add_device_path(dpath_array_ptr, (uefi_device_path_t *)scsi)) { 2825 uefi_scsi_device_path_t *scsi; local [all...] |
Completed in 33 milliseconds