Home
last modified time | relevance | path

Searched refs:pCh (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/char/ip2/
Di2lib.c145 i2Validate ( i2ChanStrPtr pCh ) in i2Validate() argument
149 return ((pCh->validity & (CHANNEL_MAGIC_BITS | CHANNEL_SUPPORT)) in i2Validate()
229 i2InitChannels ( i2eBordStrPtr pB, int nChannels, i2ChanStrPtr pCh) in i2InitChannels() argument
249 pB->i2eChannelPtr = pCh; in i2InitChannels()
258 memset ( pCh, 0, sizeof (i2ChanStr) * nChannels ); in i2InitChannels()
267 LOCK_INIT(&pCh->Ibuf_spinlock); in i2InitChannels()
268 LOCK_INIT(&pCh->Obuf_spinlock); in i2InitChannels()
269 LOCK_INIT(&pCh->Cbuf_spinlock); in i2InitChannels()
270 LOCK_INIT(&pCh->Pbuf_spinlock); in i2InitChannels()
274 pCh->validity = CHANNEL_MAGIC | CHANNEL_SUPPORT; in i2InitChannels()
[all …]
Dip2stat.c46 i2ChanStrPtr pCh = Port; in main() local
98 printf ( "ibuf: stuff = %d strip = %d\n", pCh->Ibuf_stuff, pCh->Ibuf_strip ); in main()
99 printf ( "obuf: stuff = %d strip = %d\n", pCh->Obuf_stuff, pCh->Obuf_strip ); in main()
100 printf ( "pbuf: stuff = %d\n", pCh->Pbuf_stuff ); in main()
101 printf ( "cbuf: stuff = %d strip = %d\n", pCh->Cbuf_stuff, pCh->Cbuf_strip ); in main()
102 printf ( "infl: count = %d room = %d\n", pCh->infl.asof, pCh->infl.room ); in main()
103 printf ( "outfl: count = %d room = %d\n", pCh->outfl.asof, pCh->outfl.room ); in main()
104 printf ( "throttled = %d ",pCh->throttled); in main()
105 printf ( "bookmarks = %d ",pCh->bookMarks); in main()
106 printf ( "flush_flags = %x\n",pCh->flush_flags); in main()
[all …]
Di2lib.h323 #define i2SetOption(pCh, option) pCh->channelOptions |= option argument
324 #define i2ClrOption(pCh, option) pCh->channelOptions &= ~option argument
Dip2trace.h12 #define CHANN (pCh->port_index)
/linux-2.4.37.9/drivers/char/
Dip2main.c305 static void do_input(i2ChanStrPtr pCh);
306 static void do_status(i2ChanStrPtr pCh);
394 kdevname(tty->device),(pCh->flags),ref_count, \
1013 i2ChanStrPtr pCh; in ip2_init_board() local
1080 DevTableMem[boardnum] = pCh = in ip2_init_board()
1082 if ( !pCh ) { in ip2_init_board()
1086 if ( !i2InitChannels( pB, nports, pCh ) ) { in ip2_init_board()
1088 kfree ( pCh ); in ip2_init_board()
1097 DevTable[portnum + i] = pCh; in ip2_init_board()
1098 pCh->port_index = portnum + i; in ip2_init_board()
[all …]