HomeSort by relevance Sort by last modified time
    Searched refs:USBHC_MEM_UNIT (Results 1 - 14 of 14) sorted by null

  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
UsbHcMem.h 57 #define USBHC_MEM_UNIT 64
59 #define USBHC_MEM_UNIT_MASK (USBHC_MEM_UNIT - 1)
UsbHcMem.c 59 // each bit in the bit array represents USBHC_MEM_UNIT
62 ASSERT (USBHC_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
66 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
195 return Block->Buf + (StartByte * 8 + StartBit) * USBHC_MEM_UNIT;
383 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
416 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
461 Byte = ((ToFree - Block->Buf) / USBHC_MEM_UNIT) / 8;
462 Bit = ((ToFree - Block->Buf) / USBHC_MEM_UNIT) % 8;
467 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNIT); Count++) {
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
UsbHcMem.h 53 #define USBHC_MEM_UNIT 64
55 #define USBHC_MEM_UNIT_MASK (USBHC_MEM_UNIT - 1)
UsbHcMem.c 51 // each bit in the bit array represents USBHC_MEM_UNIT
54 ASSERT (USBHC_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
221 return Block->BufHost + (StartByte * 8 + StartBit) * USBHC_MEM_UNIT;
452 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
487 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
533 Byte = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) / 8;
534 Bit = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) % 8;
539 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNIT); Count++) {
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
UsbHcMem.h 54 #define USBHC_MEM_UNIT 64
56 #define USBHC_MEM_UNIT_MASK (USBHC_MEM_UNIT - 1)
UsbHcMem.c 50 // each bit in the bit array represents USBHC_MEM_UNIT
53 ASSERT (USBHC_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
56 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
220 return Block->Buf + (StartByte * 8 + StartBit) * USBHC_MEM_UNIT;
450 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
485 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
531 Byte = ((ToFree - Block->Buf) / USBHC_MEM_UNIT) / 8;
532 Bit = ((ToFree - Block->Buf) / USBHC_MEM_UNIT) % 8;
537 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNIT); Count++) {
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
UsbHcMem.h 38 #define USBHC_MEM_UNIT 64
40 #define USBHC_MEM_UNIT_MASK (USBHC_MEM_UNIT - 1)
UsbHcMem.c 51 // each bit in the bit array represents USBHC_MEM_UNIT
54 ASSERT (USBHC_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
58 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
179 return Block->BufHost + (StartByte * 8 + StartBit) * USBHC_MEM_UNIT;
449 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
482 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
527 Byte = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) / 8;
528 Bit = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) % 8;
533 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNIT); Count++) {
  /device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/
UsbHcMem.h 54 #define USBHC_MEM_UNIT 64
56 #define USBHC_MEM_UNIT_MASK (USBHC_MEM_UNIT - 1)
UsbHcMem.c 51 // each bit in the bit array represents USBHC_MEM_UNIT
54 ASSERT (USBHC_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
221 return Block->BufHost + (StartByte * 8 + StartBit) * USBHC_MEM_UNIT;
452 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
487 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
533 Byte = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) / 8;
534 Bit = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) % 8;
539 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNIT); Count++) {
  /device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
UsbHcMem.h 53 #define USBHC_MEM_UNIT 64
55 #define USBHC_MEM_UNIT_MASK (USBHC_MEM_UNIT - 1)
UsbHcMem.c 60 // each bit in the bit array represents USBHC_MEM_UNIT
63 ASSERT (USBHC_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
67 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
197 return Block->BufHost + (StartByte * 8 + StartBit) * USBHC_MEM_UNIT;
384 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
419 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
465 Byte = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) / 8;
466 Bit = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) % 8;
471 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNIT); Count++) {
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
UsbHcMem.h 50 #define USBHC_MEM_UNIT 64
52 #define USBHC_MEM_UNIT_MASK (USBHC_MEM_UNIT - 1)
UsbHcMem.c 51 // each bit in the bit array represents USBHC_MEM_UNIT
54 ASSERT (USBHC_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
57 Block->BitsLen = Block->BufLen / (USBHC_MEM_UNIT * 8);
212 return Block->BufHost + (StartByte * 8 + StartBit) * USBHC_MEM_UNIT;
485 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
520 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
566 Byte = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) / 8;
567 Bit = ((ToFree - Block->BufHost) / USBHC_MEM_UNIT) % 8;
572 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNIT); Count++) {

Completed in 214 milliseconds