Searched refs:RIO_PTR (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/staging/generic_serial/rio/ ! |
D | rioboot.c | 455 ParmMapP = (PARM_MAP __iomem *) RIO_PTR(Cad, readw(&HostP->__ParmMapR)); in RIOBootCodeHOST() 514 HostP->PhbP = (struct PHB __iomem *) RIO_PTR(Cad, readw(&ParmMapP->phb_ptr)); in RIOBootCodeHOST() 515 HostP->RupP = (struct RUP __iomem *) RIO_PTR(Cad, readw(&ParmMapP->rups)); in RIOBootCodeHOST() 516 HostP->PhbNumP = (unsigned short __iomem *) RIO_PTR(Cad, readw(&ParmMapP->phb_num_ptr)); in RIOBootCodeHOST() 517 HostP->LinkStrP = (struct LPB __iomem *) RIO_PTR(Cad, readw(&ParmMapP->link_str_ptr)); in RIOBootCodeHOST() 553 PortP->TxAdd = (u16 __iomem *) RIO_PTR(Cad, readw(&PhbP->tx_add)); in RIOBootCodeHOST() 554 PortP->TxStart = (u16 __iomem *) RIO_PTR(Cad, readw(&PhbP->tx_start)); in RIOBootCodeHOST() 555 PortP->TxEnd = (u16 __iomem *) RIO_PTR(Cad, readw(&PhbP->tx_end)); in RIOBootCodeHOST() 556 PortP->RxRemove = (u16 __iomem *) RIO_PTR(Cad, readw(&PhbP->rx_remove)); in RIOBootCodeHOST() 557 PortP->RxStart = (u16 __iomem *) RIO_PTR(Cad, readw(&PhbP->rx_start)); in RIOBootCodeHOST() [all …]
|
D | riotable.c | 546 Pkt = (struct PKT __iomem *) RIO_PTR(HostP->Caddr, readw(&*TxPktP)); in RIODeleteRta() 783 PortP->TxAdd = (u16 __iomem *) RIO_PTR(HostP->Caddr, readw(&PhbP->tx_add)); in RIOReMapPorts() 784 PortP->TxStart = (u16 __iomem *) RIO_PTR(HostP->Caddr, readw(&PhbP->tx_start)); in RIOReMapPorts() 785 PortP->TxEnd = (u16 __iomem *) RIO_PTR(HostP->Caddr, readw(&PhbP->tx_end)); in RIOReMapPorts() 786 PortP->RxRemove = (u16 __iomem *) RIO_PTR(HostP->Caddr, readw(&PhbP->rx_remove)); in RIOReMapPorts() 787 PortP->RxStart = (u16 __iomem *) RIO_PTR(HostP->Caddr, readw(&PhbP->rx_start)); in RIOReMapPorts() 788 PortP->RxEnd = (u16 __iomem *) RIO_PTR(HostP->Caddr, readw(&PhbP->rx_end)); in RIOReMapPorts()
|
D | rioparam.c | 581 *PktP = tp = (struct PKT __iomem *) RIO_PTR(PortP->Caddr, readw(PortP->TxAdd)); in can_add_transmit() 622 tmp_pointer = (struct rio_free_list __iomem *) RIO_PTR(HostP->Caddr, old_end); in put_free_end() 647 *PktP = (struct PKT __iomem *) RIO_PTR(PortP->Caddr, readw(PortP->RxRemove) & ~PKT_IN_USE); in can_remove_receive()
|
D | rio.h | 132 #define RIO_PTR(C,O) (((unsigned char __iomem *)(C))+(0xFFFF&(O))) macro
|
D | riocmd.c | 600 …HostP->Copy(&CmdBlkP->Packet, RIO_PTR(HostP->Caddr, readw(&UnixRupP->RupP->txpkt)), sizeof(struct … in RIOQueueCmdBlk() 675 PacketP = (struct PKT __iomem *) RIO_PTR(HostP->Caddr, readw(&UnixRupP->RupP->rxpkt)); in RIOPollHostCommands() 781 …HostP->Copy(&CmdBlkP->Packet, RIO_PTR(HostP->Caddr, readw(&UnixRupP->RupP->txpkt)), sizeof(struct … in RIOPollHostCommands()
|
D | rioroute.c | 553 Pkt = (struct PKT __iomem *) RIO_PTR(HostP->Caddr, readw(TxPktP)); in RIOFixPhbs()
|