Searched refs:pB (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/drivers/char/ip2/ |
D | i2ellis.c | 131 iiSetAddress( i2eBordStrPtr pB, int address, delayFunc_t delay ) in iiSetAddress() argument 134 pB->i2eValid = I2E_INCOMPLETE; in iiSetAddress() 144 COMPLETE(pB,I2EE_BADADDR); in iiSetAddress() 148 pB->i2eBase = address; in iiSetAddress() 149 pB->i2eData = address + FIFO_DATA; in iiSetAddress() 150 pB->i2eStatus = address + FIFO_STATUS; in iiSetAddress() 151 pB->i2ePointer = address + FIFO_PTR; in iiSetAddress() 152 pB->i2eXMail = address + FIFO_MAIL; in iiSetAddress() 153 pB->i2eXMask = address + FIFO_MASK; in iiSetAddress() 159 pB->i2eDelay = ((delay != (delayFunc_t)NULL) ? delay : (delayFunc_t)ii2Nop); in iiSetAddress() [all …]
|
D | i2lib.c | 116 fatality(i2eBordStrPtr pB ) in fatality() argument 163 iiSendPendingMail(i2eBordStrPtr pB) in iiSendPendingMail() argument 165 if (pB->i2eOutMailWaiting && (!pB->i2eWaitingForEmptyFifo) ) in iiSendPendingMail() 167 if (iiTrySendMail(pB, pB->i2eOutMailWaiting)) in iiSendPendingMail() 174 pB->i2eWaitingForEmptyFifo |= in iiSendPendingMail() 175 (pB->i2eOutMailWaiting & MB_OUT_STUFFED); in iiSendPendingMail() 176 pB->i2eOutMailWaiting = 0; in iiSendPendingMail() 177 if( pB->SendPendingRetry ) { in iiSendPendingMail() 178 printk( KERN_DEBUG "IP2: iiSendPendingMail: busy board pickup on %d\n", pB->SendPendingRetry ); in iiSendPendingMail() 180 pB->SendPendingRetry = 0; in iiSendPendingMail() [all …]
|
D | i2ellis.h | 513 #define HAS_INPUT(pB) !(INB(pB->i2eStatus) & ST_IN_EMPTY) argument 514 #define HAS_NO_INPUT(pB) (INB(pB->i2eStatus) & ST_IN_EMPTY) argument 518 #define BYTE_FROM(pB) (unsigned char)INB(pB->i2eData) argument 519 #define WORD_FROM(pB) (unsigned short)INW(pB->i2eData) argument 524 #define HAS_OUTROOM(pB) !(INB(pB->i2eStatus) & ST_OUT_FULL) argument 525 #define HAS_NO_OUTROOM(pB) (INB(pB->i2eStatus) & ST_OUT_FULL) argument 531 #define BYTE_TO(pB, c) OUTB(pB->i2eData,(c)) argument 536 #define WORD_TO(pB, c) OUTW(pB->i2eData,(c)) argument 541 #define HAS_MAIL(pB) (INB(pB->i2eStatus) & ST_IN_MAIL) argument 543 #define UPDATE_FIFO_ROOM(pB) (pB)->i2eFifoRemains=(pB)->i2eFifoSize argument [all …]
|
D | ip2stat.c | 45 i2eBordStrPtr pB = Board; in main() local 81 printf ( "FIFO: remains = %d%s\n", pB->i2eFifoRemains, in main() 82 pB->i2eWaitingForEmptyFifo ? ", busy" : "" ); in main() 83 printf ( "Mail: out mail = %02x\n", pB->i2eOutMailWaiting ); in main() 84 printf ( " Input interrupts : %d\n", pB->i2eFifoInInts ); in main() 85 printf ( " Output interrupts: %d\n", pB->i2eFifoOutInts ); in main() 86 printf ( " Flow queued : %ld\n", pB->debugFlowQueued ); in main() 87 printf ( " Bypass queued : %ld\n", pB->debugBypassQueued ); in main() 88 printf ( " Inline queued : %ld\n", pB->debugInlineQueued ); in main() 89 printf ( " Data queued : %ld\n", pB->debugDataQueued ); in main() [all …]
|
D | ip2mkdev.c | 21 i2eBordStrPtr pB = Board; in main() local 69 switch( pB->i2ePom.e.porID & ~POR_ID_RESERVED ) in main() 71 case POR_ID_FIIEX: ex_details ( pB ); break; in main() 77 printf ( "Unknown board type, ID = %x", pB->i2ePom.e.porID ); in main() 84 if ( pB->i2eChannelMap[box] & ( 1 << port ) ) in main() 104 static void ex_details ( i2eBordStrPtr pB ) in ex_details() argument 113 if( pB->i2eChannelMap[box] != 0 ) ++boxes; in ex_details() 116 if( pB->i2eChannelMap[box] & 1<< i ) ++ports; in ex_details() 120 printf("EX bx=%d pt=%d %d bit", boxes, ports, pB->i2eDataWidth16 ? 16 : 8 ); in ex_details()
|
D | i2lib.h | 328 #define i2SetFatalTrap(pB, routine) pB->i2eFatalTrap = routine argument
|
/linux-2.4.37.9/drivers/char/ |
D | ip2main.c | 301 static void ip2_interrupt_bh(i2eBordStrPtr pB); 567 void *pB; in cleanup_module() local 574 if ((pB = i2BoardPtrTable[i]) != 0 ) { in cleanup_module() 575 kfree ( pB ); in cleanup_module() 620 i2eBordStrPtr pB = NULL; in ip2_loadmain() local 790 pB = kmalloc( sizeof(i2eBordStr), GFP_KERNEL); in ip2_loadmain() 791 if ( pB != NULL ) { in ip2_loadmain() 792 i2BoardPtrTable[i] = pB; in ip2_loadmain() 793 memset( pB, 0, sizeof(i2eBordStr) ); in ip2_loadmain() 794 iiSetAddress( pB, ip2config.addr[i], ii2DelayTimer ); in ip2_loadmain() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | rcpci45.c | 984 psingleB pB; in RC_allocate_and_post_buffers() local 1007 pB = (psingleB) ((U32) p + sizeof (U32));/* point to the first buffer */ in RC_allocate_and_post_buffers() 1023 pB->context = (U32) skb; in RC_allocate_and_post_buffers() 1024 pB->scount = 1; /* segment count */ in RC_allocate_and_post_buffers() 1025 pB->size = MAX_ETHER_SIZE; in RC_allocate_and_post_buffers() 1026 pB->addr = virt_to_bus ((void *) skb->data); in RC_allocate_and_post_buffers() 1028 pB++; in RC_allocate_and_post_buffers() 1035 pB = (psingleB) ((U32) p + sizeof (U32)); in RC_allocate_and_post_buffers() 1037 skb = (struct sk_buff *) pB->context; in RC_allocate_and_post_buffers() 1040 pB++; in RC_allocate_and_post_buffers()
|