Home
last modified time | relevance | path

Searched refs:RWORD (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/drivers/char/rio/
Drioboot.c462 OldParmMap = RWORD(HostP->__ParmMapR);
483 (RWORD(HostP->__ParmMapR)==OldParmMap); wait_count++ ) {
484 rio_dprintk (RIO_DEBUG_BOOT, "Checkout %d, 0x%x\n",wait_count,RWORD(HostP->__ParmMapR));
493 if ( RWORD(HostP->__ParmMapR) == OldParmMap ) {
494 rio_dprintk (RIO_DEBUG_BOOT, "parmmap 0x%x\n", RWORD(HostP->__ParmMapR));
506 rio_dprintk (RIO_DEBUG_BOOT, "Running 0x%x\n", RWORD(HostP->__ParmMapR));
517 ParmMapP = (PARM_MAP *)RIO_PTR(Cad,RWORD(HostP->__ParmMapR));
520 (unsigned long)((RWORD((HostP->__ParmMapR))) & 0xFFFF));
528 if ( (RWORD(ParmMapP->links) & 0xFFFF) != 0xFFFF ) {
530 rio_dprintk (RIO_DEBUG_BOOT, "Links = 0x%x\n",RWORD(ParmMapP->links));
[all …]
Drioparam.c650 *PktP = tp = (PKT *)RIO_PTR(PortP->Caddr,RWORD(*PortP->TxAdd));
664 if (RWORD(*PortP->TxAdd) & PKT_IN_USE) {
667 WWORD( *(ushort *)PortP->TxAdd, RWORD(*PortP->TxAdd) | PKT_IN_USE);
695 if ((old_end=RWORD(HostP->ParmMapP->free_list_end)) != TPNULL) {
725 if ( RWORD(*PortP->RxRemove) & PKT_IN_USE) {
727 RWORD(*PortP->RxRemove) & ~PKT_IN_USE);
742 WWORD( *PortP->RxRemove, RWORD(*PortP->RxRemove) & ~PKT_IN_USE );
Driocmd.c494 RBYTE(PktCmdP->SubCommand), RWORD(PktCmdP->SubAddr));
497 rio_dprintk (RIO_DEBUG_CMD, "Read register (0x%x)\n", RWORD(PktCmdP->SubAddr));
679 (RWORD(UnixRupP->RupP->txcontrol) == TX_RUP_INACTIVE ) &&
712 if ( RWORD(UnixRupP->RupP->txcontrol) != TX_RUP_INACTIVE )
766 if ( RWORD(UnixRupP->RupP->rxcontrol) != RX_RUP_INACTIVE ) {
769 PacketP =(PKT *)RIO_PTR(HostP->Caddr,RWORD(UnixRupP->RupP->rxpkt));
818 if ( RWORD(UnixRupP->RupP->handshake)==PHB_HANDSHAKE_SET ) {
831 (RWORD(UnixRupP->RupP->txcontrol) == TX_RUP_INACTIVE)) {
872 (RWORD(UnixRupP->RupP->txcontrol) == TX_RUP_INACTIVE)) {
1013 if ( RWORD(PortP->PhbP->handshake)==PHB_HANDSHAKE_SET ) {
Driointr.c140 if ( RWORD( HostP->ParmMapP->rup_intr ) ||
141 RWORD( HostP->ParmMapP->rx_intr ) ||
142 RWORD( HostP->ParmMapP->tx_intr ) ) {
369 if ( RWORD( HostP->ParmMapP->rup_intr ) ) {
377 if ( RWORD( HostP->ParmMapP->rx_intr ) ) {
447 ( RWORD( PortP->PhbP->handshake )==PHB_HANDSHAKE_SET ) ) {
460 if ( RWORD( HostP->ParmMapP->tx_intr ) ) {
Driscos.h59 #define RWORD(A) (ushort)(A) macro
Driotable.c589 RWORD(*TxPktP));
872 PortP->TxAdd =(WORD *)RIO_PTR(HostP->Caddr,RWORD(PhbP->tx_add));
873 PortP->TxStart =(WORD *)RIO_PTR(HostP->Caddr,RWORD(PhbP->tx_start));
874 PortP->TxEnd =(WORD *)RIO_PTR(HostP->Caddr,RWORD(PhbP->tx_end));
876 RWORD(PhbP->rx_remove));
877 PortP->RxStart =(WORD *)RIO_PTR(HostP->Caddr,RWORD(PhbP->rx_start));
878 PortP->RxEnd =(WORD *)RIO_PTR(HostP->Caddr,RWORD(PhbP->rx_end));
Dlinux_compat.h31 #define RWORD(p) readw(&p) macro
Drioroute.c641 link = RWORD(PortP->PhbP->link);
696 RWORD(PortP->PhbP->destination) & 0xff,
697 (RWORD(PortP->PhbP->destination) >> 8) & 0xff,
709 if (((unit * 8) + 7) > RWORD(HostP->LinkStrP[link].last_port)) {