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