Home
last modified time | relevance | path

Searched refs:pccb (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/scsi/
Dscsi.c51 static void scsi_print_error(struct scsi_cmd *pccb) in scsi_print_error() argument
57 void scsi_setup_read16(struct scsi_cmd *pccb, lbaint_t start, in scsi_setup_read16() argument
60 pccb->cmd[0] = SCSI_READ16; in scsi_setup_read16()
61 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_read16()
62 pccb->cmd[2] = (unsigned char)(start >> 56) & 0xff; in scsi_setup_read16()
63 pccb->cmd[3] = (unsigned char)(start >> 48) & 0xff; in scsi_setup_read16()
64 pccb->cmd[4] = (unsigned char)(start >> 40) & 0xff; in scsi_setup_read16()
65 pccb->cmd[5] = (unsigned char)(start >> 32) & 0xff; in scsi_setup_read16()
66 pccb->cmd[6] = (unsigned char)(start >> 24) & 0xff; in scsi_setup_read16()
67 pccb->cmd[7] = (unsigned char)(start >> 16) & 0xff; in scsi_setup_read16()
[all …]
Dscsi-uclass.c15 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) in scsi_exec() argument
22 return ops->exec(dev, pccb); in scsi_exec()
Dsandbox_scsi.c22 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) in scsi_exec() argument
/external/u-boot/drivers/ata/
Dahci.c692 struct scsi_cmd *pccb) in ata_scsiop_inquiry() argument
707 memset(pccb->pdata, 0, pccb->datalen); in ata_scsiop_inquiry()
709 memcpy(pccb->pdata, hdr, sizeof(hdr)); in ata_scsiop_inquiry()
711 if (pccb->datalen <= 35) in ata_scsiop_inquiry()
721 port = pccb->target; in ata_scsiop_inquiry()
742 memcpy(&pccb->pdata[8], "ATA ", 8); in ata_scsiop_inquiry()
743 ata_id_strcpy((u16 *)&pccb->pdata[16], &idbuf[ATA_ID_PROD], 16); in ata_scsiop_inquiry()
744 ata_id_strcpy((u16 *)&pccb->pdata[32], &idbuf[ATA_ID_FW_REV], 4); in ata_scsiop_inquiry()
757 struct scsi_cmd *pccb, u8 is_write) in ata_scsiop_read_write() argument
762 u8 *user_buffer = pccb->pdata; in ata_scsiop_read_write()
[all …]
/external/u-boot/common/
Dusb_storage.c341 static void usb_show_srb(struct scsi_cmd *pccb) in usb_show_srb() argument
344 printf("SRB: len %d datalen 0x%lX\n ", pccb->cmdlen, pccb->datalen); in usb_show_srb()
346 printf("%02X ", pccb->cmd[i]); in usb_show_srb()
1423 struct scsi_cmd *pccb = &usb_ccb; in usb_stor_get_info() local
1425 pccb->pdata = usb_stor_buf; in usb_stor_get_info()
1428 pccb->lun = dev_desc->lun; in usb_stor_get_info()
1431 if (usb_inquiry(pccb, ss)) { in usb_stor_get_info()
1463 if (usb_test_unit_ready(pccb, ss)) { in usb_stor_get_info()
1466 pccb->sense_buf[2], pccb->sense_buf[12], in usb_stor_get_info()
1467 pccb->sense_buf[13]); in usb_stor_get_info()
[all …]