Searched refs:pccb (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/drivers/scsi/ |
H A D | scsi.c | 50 static void scsi_print_error(struct scsi_cmd *pccb) in scsi_print_error() argument 56 void scsi_setup_read16(struct scsi_cmd *pccb, lbaint_t start, in scsi_setup_read16() argument 59 pccb->cmd[0] = SCSI_READ16; in scsi_setup_read16() 60 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_read16() 61 pccb->cmd[2] = (unsigned char)(start >> 56) & 0xff; in scsi_setup_read16() 62 pccb->cmd[3] = (unsigned char)(start >> 48) & 0xff; in scsi_setup_read16() 63 pccb->cmd[4] = (unsigned char)(start >> 40) & 0xff; in scsi_setup_read16() 64 pccb->cmd[5] = (unsigned char)(start >> 32) & 0xff; in scsi_setup_read16() 65 pccb->cmd[6] = (unsigned char)(start >> 24) & 0xff; in scsi_setup_read16() 66 pccb->cmd[7] = (unsigned char)(start >> 16) & 0xff; in scsi_setup_read16() [all …]
|
H A D | scsi-uclass.c | 15 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) in scsi_exec() argument 22 return ops->exec(dev, pccb); in scsi_exec()
|
H A D | sandbox_scsi.c | 22 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) in scsi_exec() argument
|
/openbmc/u-boot/drivers/ata/ |
H A D | ahci.c | 694 struct scsi_cmd *pccb) in ata_scsiop_inquiry() argument 709 memset(pccb->pdata, 0, pccb->datalen); in ata_scsiop_inquiry() 711 memcpy(pccb->pdata, hdr, sizeof(hdr)); in ata_scsiop_inquiry() 713 if (pccb->datalen <= 35) in ata_scsiop_inquiry() 723 port = pccb->target; in ata_scsiop_inquiry() 744 memcpy(&pccb->pdata[8], "ATA ", 8); in ata_scsiop_inquiry() 745 ata_id_strcpy((u16 *)&pccb->pdata[16], &idbuf[ATA_ID_PROD], 16); in ata_scsiop_inquiry() 746 ata_id_strcpy((u16 *)&pccb->pdata[32], &idbuf[ATA_ID_FW_REV], 4); in ata_scsiop_inquiry() 759 struct scsi_cmd *pccb, u8 is_write) in ata_scsiop_read_write() argument 764 u8 *user_buffer = pccb->pdata; in ata_scsiop_read_write() [all …]
|
/openbmc/u-boot/common/ |
H A D | usb_storage.c | 338 static void usb_show_srb(struct scsi_cmd *pccb) in usb_show_srb() argument 341 printf("SRB: len %d datalen 0x%lX\n ", pccb->cmdlen, pccb->datalen); in usb_show_srb() 343 printf("%02X ", pccb->cmd[i]); in usb_show_srb() 1419 struct scsi_cmd *pccb = &usb_ccb; in usb_stor_get_info() local 1421 pccb->pdata = usb_stor_buf; in usb_stor_get_info() 1424 pccb->lun = dev_desc->lun; in usb_stor_get_info() 1427 if (usb_inquiry(pccb, ss)) { in usb_stor_get_info() 1459 if (usb_test_unit_ready(pccb, ss)) { in usb_stor_get_info() 1462 pccb->sense_buf[2], pccb->sense_buf[12], in usb_stor_get_info() 1463 pccb->sense_buf[13]); in usb_stor_get_info() [all …]
|