Home
last modified time | relevance | path

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

/u-boot/drivers/scsi/
A Dscsi.c65 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_read16()
83 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read16()
84 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read16()
85 pccb->cmd[6], pccb->cmd[7], pccb->cmd[8], pccb->cmd[9], in scsi_setup_read16()
86 pccb->cmd[11], pccb->cmd[12], pccb->cmd[13], pccb->cmd[14]); in scsi_setup_read16()
93 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_inquiry()
110 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_read_ext()
122 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read_ext()
123 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read_ext()
131 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_write_ext()
[all …]
A 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()
A Dsandbox_scsi.c22 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) in scsi_exec() argument
/u-boot/drivers/ata/
A Dahci.c695 struct scsi_cmd *pccb) in ata_scsiop_inquiry() argument
710 memset(pccb->pdata, 0, pccb->datalen); in ata_scsiop_inquiry()
714 if (pccb->datalen <= 35) in ata_scsiop_inquiry()
724 port = pccb->target; in ata_scsiop_inquiry()
765 u8 *user_buffer = pccb->pdata; in ata_scsiop_read_write()
790 blocks = (((u16)pccb->cmd[13]) << 8) | ((u16) pccb->cmd[14]); in ata_scsiop_read_write()
792 blocks = (((u16)pccb->cmd[7]) << 8) | ((u16) pccb->cmd[8]); in ata_scsiop_read_write()
872 struct scsi_cmd *pccb) in ata_scsiop_read_capacity10() argument
903 struct scsi_cmd *pccb) in ata_scsiop_read_capacity16() argument
930 struct scsi_cmd *pccb) in ata_scsiop_test_unit_ready() argument
[all …]
/u-boot/common/
A Dusb_storage.c345 printf("SRB: len %d datalen 0x%lX\n ", pccb->cmdlen, pccb->datalen); in usb_show_srb()
347 printf("%02X ", pccb->cmd[i]); in usb_show_srb()
1428 struct scsi_cmd *pccb = &usb_ccb; in usb_stor_get_info() local
1430 pccb->pdata = usb_stor_buf; in usb_stor_get_info()
1433 pccb->lun = dev_desc->lun; in usb_stor_get_info()
1436 if (usb_inquiry(pccb, ss)) { in usb_stor_get_info()
1468 if (usb_test_unit_ready(pccb, ss)) { in usb_stor_get_info()
1471 pccb->sense_buf[2], pccb->sense_buf[12], in usb_stor_get_info()
1472 pccb->sense_buf[13]); in usb_stor_get_info()
1477 pccb->pdata = (unsigned char *)cap; in usb_stor_get_info()
[all …]
/u-boot/drivers/ufs/
A Dufs.c1387 struct scsi_cmd *pccb, u32 upiu_flags) in ufshcd_prepare_utp_scsi_cmd_upiu() argument
1395 pccb->lun, TASK_TAG); in ufshcd_prepare_utp_scsi_cmd_upiu()
1402 ucd_req_ptr->sc.exp_data_transfer_len = cpu_to_be32(pccb->datalen); in ufshcd_prepare_utp_scsi_cmd_upiu()
1404 cdb_len = min_t(unsigned short, pccb->cmdlen, UFS_CDB_SIZE); in ufshcd_prepare_utp_scsi_cmd_upiu()
1406 memcpy(ucd_req_ptr->sc.cdb, pccb->cmd, cdb_len); in ufshcd_prepare_utp_scsi_cmd_upiu()
1423 ulong datalen = pccb->datalen; in prepare_prdt_table()
1433 table_length = DIV_ROUND_UP(pccb->datalen, MAX_PRDT_ENTRY); in prepare_prdt_table()
1434 buf = pccb->pdata; in prepare_prdt_table()
1456 ufshcd_prepare_req_desc_hdr(req_desc, &upiu_flags, pccb->dma_dir); in ufs_scsi_exec()
1457 ufshcd_prepare_utp_scsi_cmd_upiu(hba, pccb, upiu_flags); in ufs_scsi_exec()
[all …]

Completed in 23 milliseconds