Searched refs:CommandBlockBaseAddr (Results 1 – 9 of 9) sorted by relevance
429 UINT16 CommandBlockBaseAddr; in GetIdeRegisterIoAddr() local445 CommandBlockBaseAddr = 0x1f0; in GetIdeRegisterIoAddr()456 CommandBlockBaseAddr = (UINT16) (BaseAddress[0] & 0x0000fff8); in GetIdeRegisterIoAddr()463 IdeRegisters[EfiIdePrimary].Data = CommandBlockBaseAddr; in GetIdeRegisterIoAddr()464 IdeRegisters[EfiIdePrimary].ErrOrFeature = (UINT16) (CommandBlockBaseAddr + 0x01); in GetIdeRegisterIoAddr()465 IdeRegisters[EfiIdePrimary].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in GetIdeRegisterIoAddr()466 IdeRegisters[EfiIdePrimary].SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x03); in GetIdeRegisterIoAddr()467 IdeRegisters[EfiIdePrimary].CylinderLsb = (UINT16) (CommandBlockBaseAddr + 0x04); in GetIdeRegisterIoAddr()468 IdeRegisters[EfiIdePrimary].CylinderMsb = (UINT16) (CommandBlockBaseAddr + 0x05); in GetIdeRegisterIoAddr()469 IdeRegisters[EfiIdePrimary].Head = (UINT16) (CommandBlockBaseAddr + 0x06); in GetIdeRegisterIoAddr()[all …]
301 IdeRegsBaseAddr[IdePrimary].CommandBlockBaseAddr = 0x1f0; in GetIdeRegistersBaseAddr()314 IdeRegsBaseAddr[IdePrimary].CommandBlockBaseAddr = in GetIdeRegistersBaseAddr()323 IdeRegsBaseAddr[IdeSecondary].CommandBlockBaseAddr = 0x170; in GetIdeRegistersBaseAddr()336 IdeRegsBaseAddr[IdeSecondary].CommandBlockBaseAddr = in GetIdeRegistersBaseAddr()367 UINT16 CommandBlockBaseAddr; in ReassignIdeResources() local384 CommandBlockBaseAddr = IdeRegsBaseAddr[IdeDev->Channel].CommandBlockBaseAddr; in ReassignIdeResources()387 IdeDev->IoPort->Data = CommandBlockBaseAddr; in ReassignIdeResources()388 (*(UINT16 *) &IdeDev->IoPort->Reg1) = (UINT16) (CommandBlockBaseAddr + 0x01); in ReassignIdeResources()389 IdeDev->IoPort->SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in ReassignIdeResources()390 IdeDev->IoPort->SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x03); in ReassignIdeResources()[all …]
311 UINT16 CommandBlockBaseAddr; in IDEBusDriverBindingStart() local623 CommandBlockBaseAddr = IdeRegsBaseAddr[IdeChannel].CommandBlockBaseAddr; in IDEBusDriverBindingStart()626 IdeBlkIoDevicePtr->IoPort->Data = CommandBlockBaseAddr; in IDEBusDriverBindingStart()627 (*(UINT16 *) &IdeBlkIoDevicePtr->IoPort->Reg1) = (UINT16) (CommandBlockBaseAddr + 0x01); in IDEBusDriverBindingStart()628 IdeBlkIoDevicePtr->IoPort->SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in IDEBusDriverBindingStart()629 IdeBlkIoDevicePtr->IoPort->SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x03); in IDEBusDriverBindingStart()630 IdeBlkIoDevicePtr->IoPort->CylinderLsb = (UINT16) (CommandBlockBaseAddr + 0x04); in IDEBusDriverBindingStart()631 IdeBlkIoDevicePtr->IoPort->CylinderMsb = (UINT16) (CommandBlockBaseAddr + 0x05); in IDEBusDriverBindingStart()632 IdeBlkIoDevicePtr->IoPort->Head = (UINT16) (CommandBlockBaseAddr + 0x06); in IDEBusDriverBindingStart()633 (*(UINT16 *) &IdeBlkIoDevicePtr->IoPort->Reg) = (UINT16) (CommandBlockBaseAddr + 0x07); in IDEBusDriverBindingStart()
104 UINT16 CommandBlockBaseAddr; member
935 UINT16 CommandBlockBaseAddr; in GetIdeRegisterIoAddr() local958 CommandBlockBaseAddr = 0x1f0; in GetIdeRegisterIoAddr()969 CommandBlockBaseAddr = (UINT16) (PciData.Device.Bar[0] & 0x0000fff8); in GetIdeRegisterIoAddr()976 IdeRegisters[EfiIdePrimary].Data = CommandBlockBaseAddr; in GetIdeRegisterIoAddr()977 IdeRegisters[EfiIdePrimary].ErrOrFeature = (UINT16) (CommandBlockBaseAddr + 0x01); in GetIdeRegisterIoAddr()978 IdeRegisters[EfiIdePrimary].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in GetIdeRegisterIoAddr()979 IdeRegisters[EfiIdePrimary].SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x03); in GetIdeRegisterIoAddr()980 IdeRegisters[EfiIdePrimary].CylinderLsb = (UINT16) (CommandBlockBaseAddr + 0x04); in GetIdeRegisterIoAddr()981 IdeRegisters[EfiIdePrimary].CylinderMsb = (UINT16) (CommandBlockBaseAddr + 0x05); in GetIdeRegisterIoAddr()982 IdeRegisters[EfiIdePrimary].Head = (UINT16) (CommandBlockBaseAddr + 0x06); in GetIdeRegisterIoAddr()[all …]
1591 IdeRegsBaseAddr[IdePrimary].CommandBlockBaseAddr = 0x1f0; in GetIdeRegistersBaseAddr()1602 IdeRegsBaseAddr[IdePrimary].CommandBlockBaseAddr = in GetIdeRegistersBaseAddr()1609 IdeRegsBaseAddr[IdeSecondary].CommandBlockBaseAddr = 0x170; in GetIdeRegistersBaseAddr()1620 IdeRegsBaseAddr[IdeSecondary].CommandBlockBaseAddr = in GetIdeRegistersBaseAddr()1653 UINT16 CommandBlockBaseAddr; in InitAtapiIoPortRegisters() local1666 CommandBlockBaseAddr = IdeRegsBaseAddr[IdeChannel].CommandBlockBaseAddr; in InitAtapiIoPortRegisters()1669 RegisterPointer->Data = CommandBlockBaseAddr; in InitAtapiIoPortRegisters()1670 (*(UINT16 *) &RegisterPointer->Reg1) = (UINT16) (CommandBlockBaseAddr + 0x01); in InitAtapiIoPortRegisters()1671 RegisterPointer->SectorCount = (UINT16) (CommandBlockBaseAddr + 0x02); in InitAtapiIoPortRegisters()1672 RegisterPointer->SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x03); in InitAtapiIoPortRegisters()[all …]
119 UINT16 CommandBlockBaseAddr; member
89 UINT16 CommandBlockBaseAddr; member
534 UINT16 CommandBlockBaseAddr; in AtapiEnumerateDevices() local575 CommandBlockBaseAddr = IdeRegsBaseAddr[Index1].CommandBlockBaseAddr; in AtapiEnumerateDevices()576 AtapiBlkIoDev->IdeIoPortReg[Index1].Data = CommandBlockBaseAddr; in AtapiEnumerateDevices()577 AtapiBlkIoDev->IdeIoPortReg[Index1].Reg1.Feature = (UINT16) (CommandBlockBaseAddr + 0x1); in AtapiEnumerateDevices()578 AtapiBlkIoDev->IdeIoPortReg[Index1].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x2); in AtapiEnumerateDevices()579 AtapiBlkIoDev->IdeIoPortReg[Index1].SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x3); in AtapiEnumerateDevices()580 AtapiBlkIoDev->IdeIoPortReg[Index1].CylinderLsb = (UINT16) (CommandBlockBaseAddr + 0x4); in AtapiEnumerateDevices()581 AtapiBlkIoDev->IdeIoPortReg[Index1].CylinderMsb = (UINT16) (CommandBlockBaseAddr + 0x5); in AtapiEnumerateDevices()582 AtapiBlkIoDev->IdeIoPortReg[Index1].Head = (UINT16) (CommandBlockBaseAddr + 0x6); in AtapiEnumerateDevices()583 AtapiBlkIoDev->IdeIoPortReg[Index1].Reg.Command = (UINT16) (CommandBlockBaseAddr + 0x7); in AtapiEnumerateDevices()