Searched refs:pccb (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/scsi/ |
| H A D | scsi.c | 52 static void scsi_print_error(struct scsi_cmd *pccb) in scsi_print_error() argument 58 void scsi_setup_read16(struct scsi_cmd *pccb, lbaint_t start, in scsi_setup_read16() argument 61 pccb->cmd[0] = SCSI_READ16; in scsi_setup_read16() 62 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_read16() 63 pccb->cmd[2] = (unsigned char)(start >> 56) & 0xff; in scsi_setup_read16() 64 pccb->cmd[3] = (unsigned char)(start >> 48) & 0xff; in scsi_setup_read16() 65 pccb->cmd[4] = (unsigned char)(start >> 40) & 0xff; in scsi_setup_read16() 66 pccb->cmd[5] = (unsigned char)(start >> 32) & 0xff; in scsi_setup_read16() 67 pccb->cmd[6] = (unsigned char)(start >> 24) & 0xff; in scsi_setup_read16() 68 pccb->cmd[7] = (unsigned char)(start >> 16) & 0xff; in scsi_setup_read16() [all …]
|
| H A D | scsi-uclass.c | 16 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) in scsi_exec() argument 23 return ops->exec(dev, pccb); in scsi_exec()
|
| H A D | sandbox_scsi.c | 23 int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb) in scsi_exec() argument
|
| /OK3568_Linux_fs/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 …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | usb_storage.c | 342 static void usb_show_srb(struct scsi_cmd *pccb) in usb_show_srb() argument 345 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() 1425 struct scsi_cmd *pccb = &usb_ccb; in usb_stor_get_info() local 1427 pccb->pdata = usb_stor_buf; in usb_stor_get_info() 1430 pccb->lun = dev_desc->lun; in usb_stor_get_info() 1433 if (usb_inquiry(pccb, ss)) { in usb_stor_get_info() 1465 if (usb_test_unit_ready(pccb, ss)) { in usb_stor_get_info() 1468 pccb->sense_buf[2], pccb->sense_buf[12], in usb_stor_get_info() 1469 pccb->sense_buf[13]); in usb_stor_get_info() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ufs/ |
| H A D | ufs.c | 1383 struct scsi_cmd *pccb, u32 upiu_flags) in ufshcd_prepare_utp_scsi_cmd_upiu() argument 1391 pccb->lun, TASK_TAG); in ufshcd_prepare_utp_scsi_cmd_upiu() 1398 ucd_req_ptr->sc.exp_data_transfer_len = cpu_to_be32(pccb->datalen); in ufshcd_prepare_utp_scsi_cmd_upiu() 1400 cdb_len = min_t(unsigned short, pccb->cmdlen, UFS_CDB_SIZE); in ufshcd_prepare_utp_scsi_cmd_upiu() 1402 memcpy(ucd_req_ptr->sc.cdb, pccb->cmd, cdb_len); in ufshcd_prepare_utp_scsi_cmd_upiu() 1415 static void prepare_prdt_table(struct ufs_hba *hba, struct scsi_cmd *pccb) in prepare_prdt_table() argument 1419 ulong datalen = pccb->datalen; in prepare_prdt_table() 1429 table_length = DIV_ROUND_UP(pccb->datalen, MAX_PRDT_ENTRY); in prepare_prdt_table() 1430 buf = pccb->pdata; in prepare_prdt_table() 1444 static int ufs_scsi_exec(struct udevice *scsi_dev, struct scsi_cmd *pccb) in ufs_scsi_exec() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | gdth.c | 955 ha->cmd_tab[i].cmnd = ha->pccb->RequestBuffer; in gdth_get_cmd_index() 956 ha->cmd_tab[i].service = ha->pccb->Service; in gdth_get_cmd_index() 957 ha->pccb->CommandIndex = (u32)i+2; in gdth_get_cmd_index() 992 cmd_ptr = ha->pccb; in gdth_copy_command() 1046 if (ha->pccb->OpCode == GDT_INIT) in gdth_release_event() 1047 ha->pccb->Service |= 0x80; in gdth_release_event() 1092 cmd_ptr = ha->pccb; in gdth_internal_cmd() 1982 cmdp = ha->pccb; in gdth_fill_cache_cmd() 2148 cmdp = ha->pccb; in gdth_fill_raw_cmd() 2300 cmdp= ha->pccb; in gdth_special_cmd() [all …]
|
| H A D | gdth.h | 821 gdth_cmd_str *pccb; /* address command structure */ member
|