Searched refs:RIO_OFF (Results 1 – 2 of 2) sorted by relevance
598 writew(RIO_OFF(PortP->Caddr, PortP->TxAdd), &PortP->PhbP->tx_add); in add_transmit()621 new_end = RIO_OFF(HostP->Caddr, PktP); in put_free_end()629 writew(RIO_OFF(HostP->Caddr, PktP), &HostP->ParmMapP->free_list_end); in put_free_end()662 writew(RIO_OFF(PortP->Caddr, PortP->RxRemove), &PortP->PhbP->rx_remove); in remove_receive()
133 #define RIO_OFF(C,O) ((unsigned char __iomem *)(O)-(unsigned char __iomem *)(C)) macro