Home
last modified time | relevance | path

Searched refs:cbw (Results 1 – 25 of 44) sorted by relevance

12

/external/u-boot/drivers/usb/gadget/
Df_rockusb.c346 ALLOC_CACHE_ALIGN_BUFFER(struct fsg_bulk_cb_wrap, cbw, in printcbw()
349 memcpy((char *)cbw, buf, USB_BULK_CB_WRAP_LEN); in printcbw()
351 debug("cbw: signature:%x\n", cbw->signature); in printcbw()
352 debug("cbw: tag=%x\n", cbw->tag); in printcbw()
353 debug("cbw: data_transfer_length=%d\n", cbw->data_transfer_length); in printcbw()
354 debug("cbw: flags=%x\n", cbw->flags); in printcbw()
355 debug("cbw: lun=%d\n", cbw->lun); in printcbw()
356 debug("cbw: length=%d\n", cbw->length); in printcbw()
357 debug("cbw: ucOperCode=%x\n", cbw->CDB[0]); in printcbw()
358 debug("cbw: ucReserved=%x\n", cbw->CDB[1]); in printcbw()
[all …]
Df_mass_storage.c2045 struct fsg_bulk_cb_wrap *cbw = req->buf; in received_cbw() local
2054 cbw->Signature != cpu_to_le32( in received_cbw()
2058 le32_to_cpu(cbw->Signature)); in received_cbw()
2075 if (cbw->Lun >= FSG_MAX_LUNS || cbw->Flags & ~USB_BULK_IN_FLAG || in received_cbw()
2076 cbw->Length <= 0 || cbw->Length > MAX_COMMAND_SIZE) { in received_cbw()
2079 cbw->Lun, cbw->Flags, cbw->Length); in received_cbw()
2091 common->cmnd_size = cbw->Length; in received_cbw()
2092 memcpy(common->cmnd, cbw->CDB, common->cmnd_size); in received_cbw()
2093 if (cbw->Flags & USB_BULK_IN_FLAG) in received_cbw()
2097 common->data_size = le32_to_cpu(cbw->DataTransferLength); in received_cbw()
[all …]
/external/u-boot/drivers/usb/emul/
Dsandbox_flash.c302 struct umass_bbb_cbw *cbw = buff; in sandbox_flash_bulk() local
313 cbw->dCBWSignature != CBWSIGNATURE) in sandbox_flash_bulk()
315 if ((cbw->bCBWFlags & CBWFLAGS_SBZ) || in sandbox_flash_bulk()
316 cbw->bCBWLUN != 0) in sandbox_flash_bulk()
318 if (cbw->bCDBLength < 1 || cbw->bCDBLength >= 0x10) in sandbox_flash_bulk()
320 priv->transfer_len = cbw->dCBWDataTransferLength; in sandbox_flash_bulk()
321 priv->tag = cbw->dCBWTag; in sandbox_flash_bulk()
322 return handle_ufi_command(plat, priv, cbw->CBWCDB, in sandbox_flash_bulk()
323 cbw->bCDBLength); in sandbox_flash_bulk()
/external/libusb/examples/
Dxusb.c321 struct command_block_wrapper cbw; in send_mass_storage_command() local
333 if ((cdb_len == 0) || (cdb_len > sizeof(cbw.CBWCB))) { in send_mass_storage_command()
339 memset(&cbw, 0, sizeof(cbw)); in send_mass_storage_command()
340 cbw.dCBWSignature[0] = 'U'; in send_mass_storage_command()
341 cbw.dCBWSignature[1] = 'S'; in send_mass_storage_command()
342 cbw.dCBWSignature[2] = 'B'; in send_mass_storage_command()
343 cbw.dCBWSignature[3] = 'C'; in send_mass_storage_command()
345 cbw.dCBWTag = tag++; in send_mass_storage_command()
346 cbw.dCBWDataTransferLength = data_length; in send_mass_storage_command()
347 cbw.bmCBWFlags = direction; in send_mass_storage_command()
[all …]
/external/u-boot/common/
Dusb_storage.c539 ALLOC_CACHE_ALIGN_BUFFER(struct umass_bbb_cbw, cbw, 1); in usb_stor_BBB_comdat()
562 cbw->dCBWSignature = cpu_to_le32(CBWSIGNATURE); in usb_stor_BBB_comdat()
563 cbw->dCBWTag = cpu_to_le32(CBWTag++); in usb_stor_BBB_comdat()
564 cbw->dCBWDataTransferLength = cpu_to_le32(srb->datalen); in usb_stor_BBB_comdat()
565 cbw->bCBWFlags = (dir_in ? CBWFLAGS_IN : CBWFLAGS_OUT); in usb_stor_BBB_comdat()
566 cbw->bCBWLUN = srb->lun; in usb_stor_BBB_comdat()
567 cbw->bCDBLength = srb->cmdlen; in usb_stor_BBB_comdat()
571 memcpy(cbw->CBWCDB, srb->cmd, srb->cmdlen); in usb_stor_BBB_comdat()
572 result = usb_bulk_msg(us->pusb_dev, pipe, cbw, UMASS_BBB_CBW_SIZE, in usb_stor_BBB_comdat()
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dsdiv.ll21 ; CHECK: cbw
68 ; CHECK: cbw
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpx_opj.cpp301 OPJ_UINT32 cbw = img->comps[1].w; in sycc420_to_rgb() local
304 bool extw = sycc420_must_extend_cbcr(yw, cbw); in sycc420_to_rgb()
384 cb -= cbw; in sycc420_to_rgb()
/external/llvm/test/TableGen/
DTargetInstrInfo.td138 "cbw", 0x98, RawFrm,
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DTargetInstrInfo.td138 "cbw", 0x98, RawFrm,
/external/swiftshader/third_party/LLVM/test/TableGen/
DTargetInstrInfo.td138 "cbw", 0x98, RawFrm,
/external/swiftshader/third_party/LLVM/test/MC/X86/
Dx86-64.s459 cbw // CHECK: cbtw label
/external/llvm/lib/Target/X86/
DX86InstrExtension.td17 "{cbtw|cbw}", [], IIC_CBW>, OpSize16; // AX = signext(AL)
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrExtension.td17 "{cbtw|cbw}", []>, OpSize; // AX = signext(AL)
/external/llvm/test/MC/X86/
Dx86-64.s496 cbw // CHECK: cbtw label
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrExtension.td17 "{cbtw|cbw}", []>, OpSize16, Sched<[WriteALU]>;
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/X86/
Dx86-64.s501 cbw // CHECK: cbtw label
/external/mesa3d/src/mesa/x86/
Dassyntax.h410 #define CBW CHOICE(cbtw, cbw, cbw)
1138 #define CBW cbw
/external/swiftshader/third_party/subzero/src/
DIceAssemblerX86Base.h621 void cbw();
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DGPRArith.cpp904 TestImpl(cbw, 2u, 0x66, 0x98); in TEST_F()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DGPRArith.cpp932 TestImpl(cbw, 2u, 0x66, 0x98); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/SkylakeClient/
Dresources-x86_64.s175 cbw label
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/Atom/
Dresources-x86_64.s175 cbw label
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/SandyBridge/
Dresources-x86_64.s175 cbw label
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/SLM/
Dresources-x86_64.s175 cbw label
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/Haswell/
Dresources-x86_64.s175 cbw label

12