Searched refs:cbw (Results 1 - 5 of 5) sorted by relevance
/u-boot/tools/binman/ |
H A D | cbfs_util_test.py | 227 cbw = CbfsWriter(size) 228 cbw.add_file_raw('u-boot', U_BOOT_DATA) 229 cbw.add_file_raw('u-boot-dtb', U_BOOT_DTB_DATA) 230 data = cbw.get_data() 238 cbw = CbfsWriter(size) 239 cfile = cbw.add_file_raw('u-boot', U_BOOT_DATA) 245 cbw.get_data() 251 cbw = CbfsWriter(size) 252 cbw.add_file_raw('u-boot', U_BOOT_DATA) 254 data = cbw [all...] |
/u-boot/drivers/usb/gadget/ |
H A D | f_rockusb.c | 351 ALLOC_CACHE_ALIGN_BUFFER(struct fsg_bulk_cb_wrap, cbw, 354 memcpy((char *)cbw, buf, USB_BULK_CB_WRAP_LEN); 356 debug("cbw: signature:%x\n", cbw->signature); 357 debug("cbw: tag=%x\n", cbw->tag); 358 debug("cbw: data_transfer_length=%d\n", cbw->data_transfer_length); 359 debug("cbw: flags=%x\n", cbw [all...] |
H A D | f_mass_storage.c | 1716 * implementations. Many have issues with cbw->Length 1722 * REQUEST SENSE with cbw->Length == 12 where it should 1724 * REQUEST SENSE with cbw->Length == 10 where it should 2071 struct fsg_bulk_cb_wrap *cbw = req->buf; local 2080 cbw->Signature != cpu_to_le32( 2084 le32_to_cpu(cbw->Signature)); 2101 if (cbw->Lun >= FSG_MAX_LUNS || cbw->Flags & ~USB_BULK_IN_FLAG || 2102 cbw->Length <= 0 || cbw [all...] |
/u-boot/drivers/usb/emul/ |
H A D | sandbox_flash.c | 217 struct umass_bbb_cbw *cbw = buff; local 229 cbw->dCBWSignature != CBWSIGNATURE) 231 if ((cbw->bCBWFlags & CBWFLAGS_SBZ) || 232 cbw->bCBWLUN != 0) 234 if (cbw->bCDBLength < 1 || cbw->bCDBLength >= 0x10) 236 info->transfer_len = cbw->dCBWDataTransferLength; 237 priv->tag = cbw->dCBWTag; 238 return handle_ufi_command(priv, cbw->CBWCDB, 239 cbw [all...] |
/u-boot/common/ |
H A D | usb_storage.c | 549 * command is copied into cbw.CBWCDB. 557 ALLOC_CACHE_ALIGN_BUFFER(struct umass_bbb_cbw, cbw, 1); 580 cbw->dCBWSignature = cpu_to_le32(CBWSIGNATURE); 581 cbw->dCBWTag = cpu_to_le32(CBWTag++); 582 cbw->dCBWDataTransferLength = cpu_to_le32(srb->datalen); 583 cbw->bCBWFlags = (dir_in ? CBWFLAGS_IN : CBWFLAGS_OUT); 584 cbw->bCBWLUN = srb->lun; 585 cbw->bCDBLength = srb->cmdlen; 589 memcpy(cbw->CBWCDB, srb->cmd, srb->cmdlen); 590 result = usb_bulk_msg(us->pusb_dev, pipe, cbw, UMASS_BBB_CBW_SIZ [all...] |
Completed in 62 milliseconds