taglinefilesource code
ch257arch/i386/boot/compressed/misc.cuch *in, *out, ch;
ch262arch/i386/boot/compressed/misc.cch = *out++ = *in++;
ch263arch/i386/boot/compressed/misc.cc = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8);
ch275arch/i386/boot/compressed/misc.cuch *in,  ch;
ch278arch/i386/boot/compressed/misc.cch = *output_data++ = *in++;
ch280arch/i386/boot/compressed/misc.cc = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8);
ch102arch/mips/kernel/gdb-stub.cstatic int hex(unsigned char ch);
ch123arch/mips/kernel/gdb-stub.cstatic int hex(unsigned char ch)
ch125arch/mips/kernel/gdb-stub.cif (ch >= 'a' && ch <= 'f')
ch126arch/mips/kernel/gdb-stub.creturn ch-'a'+10;
ch127arch/mips/kernel/gdb-stub.cif (ch >= '0' && ch <= '9')
ch128arch/mips/kernel/gdb-stub.creturn ch-'0';
ch129arch/mips/kernel/gdb-stub.cif (ch >= 'A' && ch <= 'F')
ch130arch/mips/kernel/gdb-stub.creturn ch-'A'+10;
ch143arch/mips/kernel/gdb-stub.cunsigned char ch;
ch150arch/mips/kernel/gdb-stub.cwhile ((ch = (getDebugChar() & 0x7f)) != '$') ;
ch160arch/mips/kernel/gdb-stub.cch = getDebugChar() & 0x7f;
ch161arch/mips/kernel/gdb-stub.cif (ch == '#')
ch163arch/mips/kernel/gdb-stub.cchecksum = checksum + ch;
ch164arch/mips/kernel/gdb-stub.cbuffer[count] = ch;
ch173arch/mips/kernel/gdb-stub.cif (ch == '#') {
ch210arch/mips/kernel/gdb-stub.cunsigned char ch;
ch221arch/mips/kernel/gdb-stub.cwhile ((ch = buffer[count]) != 0) {
ch222arch/mips/kernel/gdb-stub.cif (!(putDebugChar(ch)))
ch224arch/mips/kernel/gdb-stub.cchecksum += ch;
ch252arch/mips/kernel/gdb-stub.cunsigned char ch;
ch257arch/mips/kernel/gdb-stub.cch = *(mem++);
ch260arch/mips/kernel/gdb-stub.c*buf++ = hexchars[ch >> 4];
ch261arch/mips/kernel/gdb-stub.c*buf++ = hexchars[ch & 0xf];
ch278arch/mips/kernel/gdb-stub.cunsigned char ch;
ch284arch/mips/kernel/gdb-stub.cch = hex(*buf++) << 4;
ch285arch/mips/kernel/gdb-stub.cch |= hex(*buf++);
ch286arch/mips/kernel/gdb-stub.c*(mem++) = ch;
ch212arch/sparc/kernel/sparc-stub.chex(unsigned char ch)
ch214arch/sparc/kernel/sparc-stub.cif (ch >= 'a' && ch <= 'f')
ch215arch/sparc/kernel/sparc-stub.creturn ch-'a'+10;
ch216arch/sparc/kernel/sparc-stub.cif (ch >= '0' && ch <= '9')
ch217arch/sparc/kernel/sparc-stub.creturn ch-'0';
ch218arch/sparc/kernel/sparc-stub.cif (ch >= 'A' && ch <= 'F')
ch219arch/sparc/kernel/sparc-stub.creturn ch-'A'+10;
ch231arch/sparc/kernel/sparc-stub.cunsigned char ch;
ch235arch/sparc/kernel/sparc-stub.cwhile ((ch = (getDebugChar() & 0x7f)) != '$') ;
ch244arch/sparc/kernel/sparc-stub.cch = getDebugChar() & 0x7f;
ch245arch/sparc/kernel/sparc-stub.cif (ch == '#')
ch247arch/sparc/kernel/sparc-stub.cchecksum = checksum + ch;
ch248arch/sparc/kernel/sparc-stub.cbuffer[count] = ch;
ch257arch/sparc/kernel/sparc-stub.cif (ch == '#') {
ch285arch/sparc/kernel/sparc-stub.cunsigned char ch, recv;
ch293arch/sparc/kernel/sparc-stub.cwhile ((ch = buffer[count])) {
ch294arch/sparc/kernel/sparc-stub.cputDebugChar(ch);
ch295arch/sparc/kernel/sparc-stub.cchecksum += ch;
ch317arch/sparc/kernel/sparc-stub.cunsigned char ch;
ch320arch/sparc/kernel/sparc-stub.cch = *mem++;
ch321arch/sparc/kernel/sparc-stub.c*buf++ = hexchars[ch >> 4];
ch322arch/sparc/kernel/sparc-stub.c*buf++ = hexchars[ch & 0xf];
ch336arch/sparc/kernel/sparc-stub.cunsigned char ch;
ch340arch/sparc/kernel/sparc-stub.cch = hex(*buf++) << 4;
ch341arch/sparc/kernel/sparc-stub.cch |= hex(*buf++);
ch342arch/sparc/kernel/sparc-stub.c*mem++ = ch;
ch22arch/sparc/prom/printf.cchar ch, *bptr;
ch30arch/sparc/prom/printf.cwhile((ch = *(bptr++)) != 0) {
ch31arch/sparc/prom/printf.cif(ch == '\n')
ch34arch/sparc/prom/printf.cprom_putchar(ch);
ch626drivers/block/rd.cuch *in, ch;
ch632drivers/block/rd.cch = *in++;
ch633drivers/block/rd.cc = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8);
ch1964drivers/cdrom/optcd.cint count, i, ch, status;
ch1975drivers/cdrom/optcd.cfor (i = 0, ch = -1; count > 0; count--) {
ch1976drivers/cdrom/optcd.cif ((ch = get_data(1)) < 0) {
ch1977drivers/cdrom/optcd.cDEBUG((DEBUG_VFS, "get_data(1): %02x", -ch));
ch1981drivers/cdrom/optcd.cdevname[i++] = ch;
ch1984drivers/cdrom/optcd.cif (ch < 0)
ch245drivers/char/consolemap.cint i, ch;
ch254drivers/char/consolemap.cch = conv_uni_to_pc(p[i]);
ch255drivers/char/consolemap.cput_user((ch & ~0xff) ? 0 : ch, arg+i);
ch1548drivers/char/cyclades.ccy_put_char(struct tty_struct *tty, unsigned char ch)
ch1569drivers/char/cyclades.cinfo->xmit_buf[info->xmit_head++] = ch;
ch632drivers/char/istallion.cstatic void  stli_putchar(struct tty_struct *tty, unsigned char ch);
ch1562drivers/char/istallion.cstatic void stli_putchar(struct tty_struct *tty, unsigned char ch)
ch1565drivers/char/istallion.cprintk("stli_putchar(tty=%x,ch=%x)\n", (int) tty, (int) ch);
ch1576drivers/char/istallion.cstli_txcookbuf[stli_txcooksize++] = ch;
ch598drivers/char/keyboard.cstatic void put_queue(int ch)
ch602drivers/char/keyboard.ctty_insert_flip_char(tty, ch, 0);
ch848drivers/char/keyboard.cunsigned char handle_diacr(unsigned char ch)
ch854drivers/char/keyboard.cif (ch == ' ')
ch858drivers/char/keyboard.cif (accent_table[i].diacr == d && accent_table[i].base == ch)
ch863drivers/char/keyboard.creturn ch;
ch127drivers/char/pcxx.cstatic void pcxxparam(struct tty_struct *, struct channel *ch);
ch135drivers/char/pcxx.cstatic void digi_send_break(struct channel *ch, int msec);
ch137drivers/char/pcxx.cstatic void setup_empty_event(struct tty_struct *tty, struct channel *ch);
ch140drivers/char/pcxx.cstatic inline void globalwinon(struct channel *ch);
ch141drivers/char/pcxx.cstatic inline void rxwinon(struct channel *ch);
ch142drivers/char/pcxx.cstatic inline void txwinon(struct channel *ch);
ch143drivers/char/pcxx.cstatic inline void memoff(struct channel *ch);
ch144drivers/char/pcxx.cstatic inline void assertgwinon(struct channel *ch);
ch145drivers/char/pcxx.cstatic inline void assertmemoff(struct channel *ch);
ch152drivers/char/pcxx.cregister struct channel *ch=(struct channel *)tty->driver_data;
ch153drivers/char/pcxx.cif ((ch >= &((*digi_channels)[0])) && (ch < &((*digi_channels)[nbdevs]))) {
ch154drivers/char/pcxx.cif (ch->magic==PCXX_MAGIC)
ch155drivers/char/pcxx.creturn ch;
ch177drivers/char/pcxx.cstatic inline void globalwinon(struct channel *ch)
ch179drivers/char/pcxx.cif(ch->board->type == PCXEVE)
ch180drivers/char/pcxx.coutb_p(FEPWIN, ch->board->port+1);
ch182drivers/char/pcxx.coutb_p(FEPMEM, ch->board->port);
ch185drivers/char/pcxx.cstatic inline void rxwinon(struct channel *ch)
ch187drivers/char/pcxx.cif(ch->rxwin == 0)
ch188drivers/char/pcxx.coutb_p(FEPMEM, ch->board->port);
ch190drivers/char/pcxx.coutb_p(ch->rxwin, ch->board->port+1);
ch193drivers/char/pcxx.cstatic inline void txwinon(struct channel *ch)
ch195drivers/char/pcxx.cif(ch->txwin == 0)
ch196drivers/char/pcxx.coutb_p(FEPMEM, ch->board->port);
ch198drivers/char/pcxx.coutb_p(ch->txwin, ch->board->port+1);
ch201drivers/char/pcxx.cstatic inline void memoff(struct channel *ch)
ch203drivers/char/pcxx.coutb_p(0, ch->board->port);
ch204drivers/char/pcxx.cif(ch->board->type == PCXEVE)
ch205drivers/char/pcxx.coutb_p(0, ch->board->port+1);
ch208drivers/char/pcxx.cstatic inline void assertgwinon(struct channel *ch)
ch210drivers/char/pcxx.cif(ch->board->type != PCXEVE)
ch211drivers/char/pcxx.cpcxxassert(inb(ch->board->port) & FEPMEM, "Global memory off");
ch214drivers/char/pcxx.cstatic inline void assertmemoff(struct channel *ch)
ch216drivers/char/pcxx.cif(ch->board->type != PCXEVE)
ch217drivers/char/pcxx.cpcxxassert(!(inb(ch->board->port) & FEPMEM), "Memory on");
ch297drivers/char/pcxx.cstruct channel *ch;
ch322drivers/char/pcxx.cch = &((*digi_channels)[line]);
ch324drivers/char/pcxx.cif(ch->brdchan == 0) {
ch333drivers/char/pcxx.cif(ch->asyncflags & ASYNC_CLOSING) {
ch334drivers/char/pcxx.cinterruptible_sleep_on(&ch->close_wait);
ch335drivers/char/pcxx.cif(ch->asyncflags & ASYNC_HUP_NOTIFY)
ch343drivers/char/pcxx.cch->count++;
ch344drivers/char/pcxx.ctty->driver_data = ch;
ch345drivers/char/pcxx.cch->tty = tty;
ch347drivers/char/pcxx.cif ((ch->asyncflags & ASYNC_INITIALIZED) == 0) {
ch350drivers/char/pcxx.cglobalwinon(ch);
ch351drivers/char/pcxx.cch->statusflags = 0;
ch352drivers/char/pcxx.cbc=ch->brdchan;
ch353drivers/char/pcxx.cch->imodem = bc->mstat;
ch356drivers/char/pcxx.cch->tty = tty;
ch357drivers/char/pcxx.cpcxxparam(tty,ch);
ch358drivers/char/pcxx.cch->imodem = bc->mstat;
ch360drivers/char/pcxx.cch->omodem = DTR|RTS;
ch361drivers/char/pcxx.cfepcmd(ch, SETMODEM, DTR|RTS, 0, 10, 1);
ch362drivers/char/pcxx.cmemoff(ch);
ch363drivers/char/pcxx.cch->asyncflags |= ASYNC_INITIALIZED;
ch367drivers/char/pcxx.cif(ch->asyncflags & ASYNC_CLOSING) {
ch368drivers/char/pcxx.cinterruptible_sleep_on(&ch->close_wait);
ch369drivers/char/pcxx.cif(ch->asyncflags & ASYNC_HUP_NOTIFY)
ch379drivers/char/pcxx.cif (ch->asyncflags & ASYNC_NORMAL_ACTIVE)
ch381drivers/char/pcxx.cif (ch->asyncflags & ASYNC_CALLOUT_ACTIVE) {
ch382drivers/char/pcxx.cif ((ch->asyncflags & ASYNC_SESSION_LOCKOUT) &&
ch383drivers/char/pcxx.c(ch->session != current->session))
ch385drivers/char/pcxx.cif((ch->asyncflags & ASYNC_PGRP_LOCKOUT) &&
ch386drivers/char/pcxx.c(ch->pgrp != current->pgrp))
ch389drivers/char/pcxx.cch->asyncflags |= ASYNC_CALLOUT_ACTIVE;
ch393drivers/char/pcxx.cif(ch->asyncflags & ASYNC_CALLOUT_ACTIVE)
ch397drivers/char/pcxx.cif ((retval = pcxx_waitcarrier(tty, filp, ch)) != 0)
ch400drivers/char/pcxx.cch->asyncflags |= ASYNC_NORMAL_ACTIVE;
ch405drivers/char/pcxx.cif((ch->count == 1) && (ch->asyncflags & ASYNC_SPLIT_TERMIOS)) {
ch407drivers/char/pcxx.c*tty->termios = ch->normal_termios;
ch409drivers/char/pcxx.c*tty->termios = ch->callout_termios;
ch410drivers/char/pcxx.cglobalwinon(ch);
ch411drivers/char/pcxx.cpcxxparam(tty,ch);
ch412drivers/char/pcxx.cmemoff(ch);
ch415drivers/char/pcxx.cch->session = current->session;
ch416drivers/char/pcxx.cch->pgrp = current->pgrp;
ch525drivers/char/pcxx.cstruct channel *ch;
ch527drivers/char/pcxx.cif ((ch=chan(tty))!=NULL) {
ch532drivers/char/pcxx.cshutdown(ch);
ch533drivers/char/pcxx.cch->event = 0;
ch534drivers/char/pcxx.cch->count = 0;
ch535drivers/char/pcxx.cch->tty = NULL;
ch536drivers/char/pcxx.cch->asyncflags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE);
ch537drivers/char/pcxx.cwake_up_interruptible(&ch->open_wait);
ch546drivers/char/pcxx.cstruct channel *ch;
ch554drivers/char/pcxx.cif ((ch=chan(tty))==NULL)
ch557drivers/char/pcxx.cbc = ch->brdchan;
ch558drivers/char/pcxx.csize = ch->txbufsize;
ch564drivers/char/pcxx.cglobalwinon(ch);
ch575drivers/char/pcxx.celse memcpy_fromfs(ch->tmp_buf, buf, count);
ch577drivers/char/pcxx.cbuf = ch->tmp_buf;
ch578drivers/char/pcxx.cmemoff(ch);
ch589drivers/char/pcxx.cglobalwinon(ch);
ch605drivers/char/pcxx.ctxwinon(ch);
ch608drivers/char/pcxx.cmemcpy(ch->txptr + head, buf, stlen);
ch618drivers/char/pcxx.cch->statusflags |= TXBUSY;
ch619drivers/char/pcxx.cglobalwinon(ch);
ch621drivers/char/pcxx.cif ((ch->statusflags & LOWWAIT) == 0) {
ch622drivers/char/pcxx.cch->statusflags |= LOWWAIT;
ch625drivers/char/pcxx.cmemoff(ch);
ch641drivers/char/pcxx.cstruct channel *ch;
ch645drivers/char/pcxx.cif ((ch=chan(tty))!=NULL) {
ch652drivers/char/pcxx.cglobalwinon(ch);
ch654drivers/char/pcxx.cbc = ch->brdchan;
ch655drivers/char/pcxx.chead = bc->tin & (ch->txbufsize - 1);
ch659drivers/char/pcxx.ctail &= (ch->txbufsize - 1);
ch662drivers/char/pcxx.cremain += ch->txbufsize;
ch664drivers/char/pcxx.cif (remain && (ch->statusflags & LOWWAIT) == 0) {
ch665drivers/char/pcxx.cch->statusflags |= LOWWAIT;
ch668drivers/char/pcxx.cmemoff(ch);
ch682drivers/char/pcxx.cstruct channel *ch;
ch685drivers/char/pcxx.cif ((ch=chan(tty))==NULL)
ch690drivers/char/pcxx.cglobalwinon(ch);
ch692drivers/char/pcxx.cbc = ch->brdchan;
ch695drivers/char/pcxx.cctail = ch->mailbox->cout;
ch696drivers/char/pcxx.cif(tail == head && ch->mailbox->cin == ctail && bc->tbusy == 0)
ch699drivers/char/pcxx.chead = bc->tin & (ch->txbufsize - 1);
ch700drivers/char/pcxx.ctail &= (ch->txbufsize - 1);
ch702drivers/char/pcxx.cremain += ch->txbufsize;
ch704drivers/char/pcxx.cchars = (int)(ch->txbufsize - remain);
ch710drivers/char/pcxx.cif(!(ch->statusflags & EMPTYWAIT))
ch711drivers/char/pcxx.csetup_empty_event(tty,ch);
ch714drivers/char/pcxx.cmemoff(ch);
ch725drivers/char/pcxx.cstruct channel *ch;
ch728drivers/char/pcxx.cif ((ch=chan(tty))==NULL)
ch734drivers/char/pcxx.cglobalwinon(ch);
ch735drivers/char/pcxx.cbc = ch->brdchan;
ch737drivers/char/pcxx.cfepcmd(ch, STOUT, (unsigned) tail, 0, 0, 0);
ch739drivers/char/pcxx.cmemoff(ch);
ch749drivers/char/pcxx.cstruct channel * ch;
ch751drivers/char/pcxx.cif ((ch=chan(tty))!=NULL) {
ch756drivers/char/pcxx.cif ((ch->statusflags & TXBUSY) && !(ch->statusflags & EMPTYWAIT))
ch757drivers/char/pcxx.csetup_empty_event(tty,ch);
ch972drivers/char/pcxx.cstruct channel *ch;
ch1262drivers/char/pcxx.cch = &((*digi_channels)[bd->first_minor]);
ch1263drivers/char/pcxx.cpcxxassert(ch < &((*digi_channels)[nbdevs]), "ch out of range");
ch1273drivers/char/pcxx.cfor(i=0; i < bd->numports; i++, ch++, bc++) {
ch1275drivers/char/pcxx.cch->brdchan = 0;
ch1278drivers/char/pcxx.cch->brdchan = bc;
ch1279drivers/char/pcxx.cch->mailbox = gd;
ch1280drivers/char/pcxx.cch->tqueue.routine = do_softint;
ch1281drivers/char/pcxx.cch->tqueue.data = ch;
ch1282drivers/char/pcxx.cch->board = &boards[crd];
ch1284drivers/char/pcxx.cch->digiext.digi_flags = RTSPACE|CTSPACE;
ch1287drivers/char/pcxx.cch->dsr = CD;
ch1288drivers/char/pcxx.cch->dcd = DSR;
ch1289drivers/char/pcxx.cch->digiext.digi_flags |= DIGI_ALTPIN;
ch1291drivers/char/pcxx.cch->dcd = CD;
ch1292drivers/char/pcxx.cch->dsr = DSR;
ch1295drivers/char/pcxx.cch->magic = PCXX_MAGIC;
ch1296drivers/char/pcxx.cch->boardnum = crd;
ch1297drivers/char/pcxx.cch->channelnum = i;
ch1299drivers/char/pcxx.cch->dev = bd->first_minor + i;
ch1300drivers/char/pcxx.cch->tty = 0;
ch1303drivers/char/pcxx.cfepcmd(ch, SETBUFFER, 32, 0, 0, 0);
ch1308drivers/char/pcxx.cch->txptr = memaddr+((bc->tseg-memory_seg) << 4);
ch1309drivers/char/pcxx.cch->rxptr = memaddr+((bc->rseg-memory_seg) << 4);
ch1310drivers/char/pcxx.cch->txwin = ch->rxwin = 0;
ch1312drivers/char/pcxx.cch->txptr = memaddr+(((bc->tseg-memory_seg) << 4) & 0x1fff);
ch1313drivers/char/pcxx.cch->txwin = FEPWIN | ((bc->tseg-memory_seg) >> 9);
ch1314drivers/char/pcxx.cch->rxptr = memaddr+(((bc->rseg-memory_seg) << 4) & 0x1fff);
ch1315drivers/char/pcxx.cch->rxwin = FEPWIN | ((bc->rseg-memory_seg) >>9 );
ch1318drivers/char/pcxx.cch->txbufsize = bc->tmax + 1;
ch1319drivers/char/pcxx.cch->rxbufsize = bc->rmax + 1;
ch1321drivers/char/pcxx.cch->tmp_buf = kmalloc(ch->txbufsize,GFP_KERNEL);
ch1323drivers/char/pcxx.clowwater = ch->txbufsize >= 2000 ? 1024 : ch->txbufsize/2;
ch1324drivers/char/pcxx.cfepcmd(ch, STXLWATER, lowwater, 0, 10, 0);
ch1325drivers/char/pcxx.cfepcmd(ch, SRXLWATER, ch->rxbufsize/4, 0, 10, 0);
ch1326drivers/char/pcxx.cfepcmd(ch, SRXHWATER, 3 * ch->rxbufsize/4, 0, 10, 0);
ch1331drivers/char/pcxx.cch->startc = bc->startc;
ch1332drivers/char/pcxx.cch->stopc = bc->stopc;
ch1333drivers/char/pcxx.cch->startca = bc->startca;
ch1334drivers/char/pcxx.cch->stopca = bc->stopca;
ch1336drivers/char/pcxx.cch->fepcflag = 0;
ch1337drivers/char/pcxx.cch->fepiflag = 0;
ch1338drivers/char/pcxx.cch->fepoflag = 0;
ch1339drivers/char/pcxx.cch->fepstartc = 0;
ch1340drivers/char/pcxx.cch->fepstopc = 0;
ch1341drivers/char/pcxx.cch->fepstartca = 0;
ch1342drivers/char/pcxx.cch->fepstopca = 0;
ch1344drivers/char/pcxx.cch->close_delay = 50;
ch1345drivers/char/pcxx.cch->count = 0;
ch1346drivers/char/pcxx.cch->blocked_open = 0;
ch1347drivers/char/pcxx.cch->callout_termios = pcxe_callout.init_termios;
ch1348drivers/char/pcxx.cch->normal_termios = pcxe_driver.init_termios;
ch1349drivers/char/pcxx.cch->open_wait = 0;
ch1350drivers/char/pcxx.cch->close_wait = 0;
ch1385drivers/char/pcxx.cstruct channel *ch;
ch1394drivers/char/pcxx.cch = &((*digi_channels)[bd->first_minor]);
ch1399drivers/char/pcxx.cassertmemoff(ch);
ch1401drivers/char/pcxx.cglobalwinon(ch);
ch1402drivers/char/pcxx.chead = ch->mailbox->ein;
ch1403drivers/char/pcxx.ctail = ch->mailbox->eout;
ch1408drivers/char/pcxx.cmemoff(ch);
ch1425drivers/char/pcxx.cstruct channel *ch;
ch1445drivers/char/pcxx.cch=chan0+channel;
ch1447drivers/char/pcxx.cif ((unsigned)channel >= bd->numports || !ch) { 
ch1452drivers/char/pcxx.cch = chan0;
ch1453drivers/char/pcxx.cbc = ch->brdchan;
ch1456drivers/char/pcxx.cif ((bc = ch->brdchan) == NULL)
ch1460drivers/char/pcxx.creceive_data(ch);
ch1461drivers/char/pcxx.cassertgwinon(ch);
ch1465drivers/char/pcxx.cch->imodem = mstat;
ch1466drivers/char/pcxx.cif (ch->asyncflags & (ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE)) {
ch1467drivers/char/pcxx.cif (ch->asyncflags & ASYNC_CHECK_CD) {
ch1468drivers/char/pcxx.cif (mstat & ch->dcd) {
ch1469drivers/char/pcxx.cwake_up_interruptible(&ch->open_wait);
ch1471drivers/char/pcxx.cpcxe_sched_event(ch, PCXE_EVENT_HANGUP);
ch1477drivers/char/pcxx.ctty = ch->tty;
ch1486drivers/char/pcxx.cif (ch->asyncflags & ASYNC_SAK)
ch1493drivers/char/pcxx.cif (ch->statusflags & LOWWAIT) {
ch1494drivers/char/pcxx.cch->statusflags &= ~LOWWAIT;
ch1503drivers/char/pcxx.cch->statusflags &= ~TXBUSY;
ch1504drivers/char/pcxx.cif (ch->statusflags & EMPTYWAIT) {
ch1505drivers/char/pcxx.cch->statusflags &= ~EMPTYWAIT;
ch1515drivers/char/pcxx.cglobalwinon(ch);
ch1537drivers/char/pcxx.cfepcmd(struct channel *ch, int cmd, int word_or_byte, int byte2, int ncmds,
ch1545drivers/char/pcxx.cif(ch->board->status == DISABLED)
ch1548drivers/char/pcxx.cassertgwinon(ch);
ch1550drivers/char/pcxx.cmemaddr = (unchar *)ch->board->membase;
ch1551drivers/char/pcxx.chead = ch->mailbox->cin;
ch1561drivers/char/pcxx.c*(unchar *)(memaddr+head+CSTART+1) = ch->dev - ch->board->first_minor;
ch1568drivers/char/pcxx.c*(unchar *)(memaddr+head+CSTART+1) = ch->dev - ch->board->first_minor;
ch1573drivers/char/pcxx.cch->mailbox->cin = head;
ch1584drivers/char/pcxx.chead = ch->mailbox->cin;
ch1585drivers/char/pcxx.ctail = ch->mailbox->cout;
ch1595drivers/char/pcxx.cstatic unsigned termios2digi_c(struct channel *ch, unsigned cflag)
ch1605drivers/char/pcxx.cch->digiext.digi_flags |= DIGI_FAST;
ch1614drivers/char/pcxx.celse ch->digiext.digi_flags &= ~DIGI_FAST;
ch1619drivers/char/pcxx.cstatic unsigned termios2digi_i(struct channel *ch, unsigned iflag)
ch1623drivers/char/pcxx.cif(ch->digiext.digi_flags & DIGI_AIXON)
ch1628drivers/char/pcxx.cstatic unsigned termios2digi_h(struct channel *ch, unsigned cflag)
ch1633drivers/char/pcxx.cch->digiext.digi_flags |= (RTSPACE|CTSPACE);
ch1636drivers/char/pcxx.cif(ch->digiext.digi_flags & RTSPACE)
ch1638drivers/char/pcxx.cif(ch->digiext.digi_flags & DTRPACE)
ch1640drivers/char/pcxx.cif(ch->digiext.digi_flags & CTSPACE)
ch1642drivers/char/pcxx.cif(ch->digiext.digi_flags & DSRPACE)
ch1643drivers/char/pcxx.cres |= ch->dsr;
ch1644drivers/char/pcxx.cif(ch->digiext.digi_flags & DCDPACE)
ch1645drivers/char/pcxx.cres |= ch->dcd;
ch1648drivers/char/pcxx.cch->digiext.digi_flags |= RTSPACE;
ch1650drivers/char/pcxx.cch->digiext.digi_flags |= CTSPACE;
ch1655drivers/char/pcxx.cstatic void pcxxparam(struct tty_struct *tty, struct channel *ch)
ch1662drivers/char/pcxx.cbc = ch->brdchan;
ch1663drivers/char/pcxx.cassertgwinon(ch);
ch1670drivers/char/pcxx.cfepcmd(ch, STOUT, (unsigned) head, 0, 0, 0);
ch1674drivers/char/pcxx.ccflag = termios2digi_c(ch, ts->c_cflag);
ch1676drivers/char/pcxx.cif(cflag != ch->fepcflag) {
ch1677drivers/char/pcxx.cch->fepcflag = cflag;
ch1678drivers/char/pcxx.cfepcmd(ch, SETCTRLFLAGS, (unsigned) cflag, 0, 0, 0);
ch1682drivers/char/pcxx.cch->asyncflags &= ~ASYNC_CHECK_CD;
ch1684drivers/char/pcxx.cch->asyncflags |= ASYNC_CHECK_CD;
ch1690drivers/char/pcxx.ciflag = termios2digi_i(ch, ts->c_iflag);
ch1692drivers/char/pcxx.cif(iflag != ch->fepiflag) {
ch1693drivers/char/pcxx.cch->fepiflag = iflag;
ch1694drivers/char/pcxx.cfepcmd(ch, SETIFLAGS, (unsigned int) ch->fepiflag, 0, 0, 0);
ch1697drivers/char/pcxx.cbc->mint = ch->dcd;
ch1698drivers/char/pcxx.cif((ts->c_cflag & CLOCAL) || (ch->digiext.digi_flags & DIGI_FORCEDCD))
ch1699drivers/char/pcxx.cif(ch->digiext.digi_flags & DIGI_FORCEDCD)
ch1702drivers/char/pcxx.cch->imodem = bc->mstat;
ch1704drivers/char/pcxx.chflow = termios2digi_h(ch, ts->c_cflag);
ch1706drivers/char/pcxx.cif(hflow != ch->hflow) {
ch1707drivers/char/pcxx.cch->hflow = hflow;
ch1708drivers/char/pcxx.cfepcmd(ch, SETHFLOW, hflow, 0xff, 0, 1);
ch1713drivers/char/pcxx.cif(ch->omodem != mval) {
ch1714drivers/char/pcxx.cch->omodem = mval;
ch1715drivers/char/pcxx.cfepcmd(ch, SETMODEM, mval, RTS|DTR, 0, 1);
ch1718drivers/char/pcxx.cif(ch->startc != ch->fepstartc || ch->stopc != ch->fepstopc) {
ch1719drivers/char/pcxx.cch->fepstartc = ch->startc;
ch1720drivers/char/pcxx.cch->fepstopc = ch->stopc;
ch1721drivers/char/pcxx.cfepcmd(ch, SONOFFC, ch->fepstartc, ch->fepstopc, 0, 1);
ch1724drivers/char/pcxx.cif(ch->startca != ch->fepstartca || ch->stopca != ch->fepstopca) {
ch1725drivers/char/pcxx.cch->fepstartca = ch->startca;
ch1726drivers/char/pcxx.cch->fepstopca = ch->stopca;
ch1727drivers/char/pcxx.cfepcmd(ch, SAUXONOFFC, ch->fepstartca, ch->fepstopca, 0, 1);
ch1732drivers/char/pcxx.cstatic void receive_data(struct channel *ch)
ch1744drivers/char/pcxx.cglobalwinon(ch);
ch1746drivers/char/pcxx.cif (ch->statusflags & RXSTOPPED)
ch1749drivers/char/pcxx.ctty = ch->tty;
ch1753drivers/char/pcxx.cbc = ch->brdchan;
ch1760drivers/char/pcxx.cwrapmask = ch->rxbufsize - 1;
ch1789drivers/char/pcxx.crxwinon(ch);
ch1793drivers/char/pcxx.cwrapgap = (head >= tail) ? head - tail : ch->rxbufsize - tail;
ch1806drivers/char/pcxx.cmemcpy(rptr, ch->rxptr + tail, piece);
ch1814drivers/char/pcxx.cglobalwinon(ch);
ch1818drivers/char/pcxx.ctty_schedule_flip(ch->tty); 
ch1827drivers/char/pcxx.cstruct channel *ch = (struct channel *) tty->driver_data;
ch1835drivers/char/pcxx.cif(ch)
ch1836drivers/char/pcxx.cbc = ch->brdchan;
ch1849drivers/char/pcxx.csetup_empty_event(tty,ch);    
ch1852drivers/char/pcxx.cdigi_send_break(ch, HZ/4);    /* 1/4 second */
ch1859drivers/char/pcxx.csetup_empty_event(tty,ch);    
ch1861drivers/char/pcxx.cdigi_send_break(ch, arg ? arg*(HZ/10) : HZ/4);
ch1882drivers/char/pcxx.cglobalwinon(ch);
ch1884drivers/char/pcxx.cmemoff(ch);
ch1893drivers/char/pcxx.cif(mstat & ch->dsr)
ch1897drivers/char/pcxx.cif(mstat & ch->dcd)
ch1921drivers/char/pcxx.cch->modemfake = DTR|RTS;
ch1922drivers/char/pcxx.cch->modem = mflag;
ch1926drivers/char/pcxx.cch->modemfake |= mflag;
ch1927drivers/char/pcxx.cch->modem |= mflag;
ch1931drivers/char/pcxx.cch->modemfake &= ~mflag;
ch1932drivers/char/pcxx.cch->modem &= ~mflag;
ch1937drivers/char/pcxx.cglobalwinon(ch);
ch1938drivers/char/pcxx.cpcxxparam(tty,ch);
ch1939drivers/char/pcxx.cmemoff(ch);
ch1945drivers/char/pcxx.cch->omodem |= DTR;
ch1946drivers/char/pcxx.cglobalwinon(ch);
ch1947drivers/char/pcxx.cfepcmd(ch, SETMODEM, DTR, 0, 10, 1);
ch1948drivers/char/pcxx.cmemoff(ch);
ch1953drivers/char/pcxx.cch->omodem &= ~DTR;
ch1955drivers/char/pcxx.cglobalwinon(ch);
ch1956drivers/char/pcxx.cfepcmd(ch, SETMODEM, 0, DTR, 10, 1);
ch1957drivers/char/pcxx.cmemoff(ch);
ch1965drivers/char/pcxx.cmemcpy_tofs((char*)arg, &ch->digiext, sizeof(digi_t));
ch1971drivers/char/pcxx.csetup_empty_event(tty,ch);    
ch1985drivers/char/pcxx.cmemcpy_fromfs(&ch->digiext, (char*)arg, sizeof(digi_t));
ch1987drivers/char/pcxx.cprintk("ioctl(DIGI_SETA): flags = %x\n", ch->digiext.digi_flags);
ch1990drivers/char/pcxx.cif(ch->digiext.digi_flags & DIGI_ALTPIN) {
ch1991drivers/char/pcxx.cch->dcd = DSR;
ch1992drivers/char/pcxx.cch->dsr = CD;
ch1994drivers/char/pcxx.cch->dcd = CD;
ch1995drivers/char/pcxx.cch->dsr = DSR;
ch1999drivers/char/pcxx.cglobalwinon(ch);
ch2000drivers/char/pcxx.cpcxxparam(tty,ch);
ch2001drivers/char/pcxx.cmemoff(ch);
ch2008drivers/char/pcxx.cglobalwinon(ch);
ch2016drivers/char/pcxx.cmemoff(ch);
ch2028drivers/char/pcxx.cstartc = ch->startc;
ch2029drivers/char/pcxx.cstopc = ch->stopc;
ch2031drivers/char/pcxx.cstartc = ch->startca;
ch2032drivers/char/pcxx.cstopc = ch->stopca;
ch2042drivers/char/pcxx.cglobalwinon(ch);
ch2045drivers/char/pcxx.cch->fepstartc = ch->startc = dflow.startc;
ch2046drivers/char/pcxx.cch->fepstopc = ch->stopc = dflow.stopc;
ch2047drivers/char/pcxx.cfepcmd(ch,SONOFFC,ch->fepstartc,ch->fepstopc,0, 1);
ch2049drivers/char/pcxx.cch->fepstartca = ch->startca = dflow.startc;
ch2050drivers/char/pcxx.cch->fepstopca  = ch->stopca = dflow.stopc;
ch2051drivers/char/pcxx.cfepcmd(ch, SAUXONOFFC, ch->fepstartca, ch->fepstopca, 0, 1);
ch2054drivers/char/pcxx.cif(ch->statusflags & TXSTOPPED)
ch2057drivers/char/pcxx.cmemoff(ch);
ch2199drivers/char/pcxx.cvoid digi_send_break(struct channel *ch, int msec)
ch2205drivers/char/pcxx.cglobalwinon(ch);
ch2215drivers/char/pcxx.cfepcmd(ch, SENDBREAK, msec, 0, 10, 0);
ch2216drivers/char/pcxx.cmemoff(ch);
ch2221drivers/char/pcxx.cstatic void setup_empty_event(struct tty_struct *tty, struct channel *ch)
ch2228drivers/char/pcxx.cglobalwinon(ch);
ch2229drivers/char/pcxx.cch->statusflags |= EMPTYWAIT;
ch2230drivers/char/pcxx.cbc = ch->brdchan;
ch2232drivers/char/pcxx.cmemoff(ch);
ch217drivers/char/scc.cstatic void scc_put_char(struct tty_struct *tty, unsigned char ch);
ch1711drivers/char/scc.cstatic inline void kiss_store_byte(struct scc_channel *scc, unsigned char ch)
ch1721drivers/char/scc.c*bp->rw_ptr = ch;
ch1728drivers/char/scc.cstatic inline int kiss_decode(struct scc_channel *scc, unsigned char ch)
ch1733drivers/char/scc.cif (ch == FEND)
ch1744drivers/char/scc.cif (ch == FESC)
ch1746drivers/char/scc.celse if (ch == FEND)
ch1751drivers/char/scc.celse kiss_store_byte(scc, ch);
ch1755drivers/char/scc.cif (ch == TFEND)
ch1760drivers/char/scc.celse if (ch == TFESC)
ch1786drivers/char/scc.cunsigned char ch;
ch1835drivers/char/scc.cswitch(ch = *bp->rw_ptr)
ch1846drivers/char/scc.ctty_insert_flip_char(tty, ch, 0);
ch2528drivers/char/scc.cstatic void scc_put_char(struct tty_struct * tty, unsigned char ch)
ch2536drivers/char/scc.cch2 = ch;
ch381drivers/char/serial.cunsigned char ch;
ch385drivers/char/serial.cch = serial_inp(info, UART_RX);
ch407drivers/char/serial.c*tty->flip.char_buf_ptr++ = ch;
ch1283drivers/char/serial.cstatic void rs_put_char(struct tty_struct *tty, unsigned char ch)
ch1300drivers/char/serial.cinfo->xmit_buf[info->xmit_head++] = ch;
ch479drivers/char/stallion.cstatic void  stl_putchar(struct tty_struct *tty, unsigned char ch);
ch1014drivers/char/stallion.cstatic void stl_putchar(struct tty_struct *tty, unsigned char ch)
ch1021drivers/char/stallion.cprintk("stl_putchar(tty=%x,ch=%x)\n", (int) tty, (int) ch);
ch1039drivers/char/stallion.c*head++ = ch;
ch1689drivers/char/stallion.cchar      ch;
ch1729drivers/char/stallion.cch = inb(ioaddr + EREG_DATA);
ch1768drivers/char/stallion.c*tty->flip.char_buf_ptr++ = ch;
ch1369drivers/char/tty_io.cunsigned char  ch;
ch1389drivers/char/tty_io.cch = get_user((char *) arg);
ch1390drivers/char/tty_io.ctty->ldisc.receive_buf(tty, &ch, &mbz, 1);
ch1716drivers/char/tty_io.cvoid tty_default_put_char(struct tty_struct *tty, unsigned char ch)
ch1718drivers/char/tty_io.ctty->driver.write(tty, 0, &ch, 1);
ch456drivers/isdn/icn/icn.cint ch;
ch478drivers/isdn/icn/icn.cch = dev->imsg[1] - '0';
ch481drivers/isdn/icn/icn.cswitch (ch) {
ch491drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch498drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch503drivers/isdn/icn/icn.cswitch (ch) {
ch514drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch521drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch528drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch546drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch554drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch563drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch571drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch579drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch587drivers/isdn/icn/icn.ccmd.arg = ch - 1;
ch137drivers/isdn/isdn_common.cint isdn_dc2minor(int di, int ch)
ch141drivers/isdn/isdn_common.cif (dev->chanmap[i] == ch && dev->drvmap[i] == di)
ch285drivers/isdn/isdn_common.cvoid isdn_all_eaz(int di, int ch)
ch290drivers/isdn/isdn_common.ccmd.arg = ch;
ch1549drivers/isdn/isdn_common.cvoid isdn_free_channel(int di, int ch, int usage)
ch1559drivers/isdn/isdn_common.c(dev->chanmap[i] == ch)) {
ch1572drivers/isdn/isdn_common.cvoid isdn_unexclusive_channel(int di, int ch)
ch1581drivers/isdn/isdn_common.c(dev->chanmap[i] == ch)) {
ch44drivers/isdn/isdn_common.hextern void  isdn_free_channel(int di, int ch, int usage);
ch45drivers/isdn/isdn_common.hextern void  isdn_all_eaz(int di, int ch);
ch46drivers/isdn/isdn_common.hextern int   isdn_dc2minor(int di, int ch);
ch50drivers/isdn/isdn_common.hextern void  isdn_unexclusive_channel(int di, int ch);
ch482drivers/isdn/isdn_net.cisdn_net_send(u_char * buf, int di, int ch, int len)
ch486drivers/isdn/isdn_net.cif ((l = dev->drv[di]->interface->writebuf(di, ch, buf, len, 0)) == len)
ch1361drivers/isdn/isdn_net.cisdn_net_find_icall(int di, int ch, int idx, char *num)
ch1418drivers/isdn/isdn_net.cprintk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=%d\n", di, ch, idx,
ch1450drivers/isdn/isdn_net.cif ((p->local.pre_channel != ch) ||
ch1461drivers/isdn/isdn_net.cif (ch == 0) {
ch1498drivers/isdn/isdn_net.c((p->local.pre_channel != ch) ||
ch1625drivers/isdn/isdn_net.cp->local.isdn_channel = ch;
ch1215drivers/isdn/isdn_tty.cint isdn_tty_find_icall(int di, int ch, char *num)
ch1270drivers/isdn/isdn_tty.cidx = isdn_dc2minor(di, ch);
ch1282drivers/isdn/isdn_tty.cinfo->isdn_channel = ch;
ch879drivers/isdn/teles/callc.csprintf(str, "%s Channel %d lc %s\n", tm, lf->ch->chan, s);
ch890drivers/isdn/teles/callc.csprintf(str, "%s Channel %d dlc %s\n", tm, lf->ch->chan, s);
ch897drivers/isdn/teles/callc.cstruct Channel *chanp = lf->ch;
ch912drivers/isdn/teles/callc.cstruct Channel *chanp = lf->ch;
ch950drivers/isdn/teles/callc.cchanp->lc_d.ch = chanp;
ch963drivers/isdn/teles/callc.cchanp->lc_b.ch = chanp;
ch526drivers/isdn/teles/q931.cchar           *dp = dest, ch;
ch542drivers/isdn/teles/q931.cch = ' ';
ch544drivers/isdn/teles/q931.cdp += sprintf(dp, "    octet 5%c ", ch);
ch547drivers/isdn/teles/q931.cif (ch == ' ')
ch548drivers/isdn/teles/q931.cch = 'a';
ch550drivers/isdn/teles/q931.cch++;
ch574drivers/isdn/teles/q931.cchar            ch = ' ';
ch581drivers/isdn/teles/q931.cdp += sprintf(dp, "    octet %d%c ", octet, ch);
ch588drivers/isdn/teles/q931.cch = ' ';
ch589drivers/isdn/teles/q931.c} else if (ch == ' ')
ch590drivers/isdn/teles/q931.cch = 'a';
ch593drivers/isdn/teles/q931.cch++;
ch603drivers/isdn/teles/q931.cchar            ch = ' ';
ch616drivers/isdn/teles/q931.cch = ' ';
ch617drivers/isdn/teles/q931.c} else if (ch == ' ')
ch618drivers/isdn/teles/q931.cch = 'a';
ch621drivers/isdn/teles/q931.cch++;
ch432drivers/isdn/teles/teles.hstruct Channel *ch;
ch535drivers/scsi/advansys.c#define  swapbyte( ch )  ( ( ( (ch) << 4 ) | ( (ch) >> 4 ) ) )
ch78drivers/scsi/aha1740.cch:1,  /* Chaining Halted */
ch405fs/exec.cint ch;
ch411fs/exec.cfor (i=0; (ch = *(name++)) != '\0';) {
ch412fs/exec.cif (ch == '/')
ch416fs/exec.ccurrent->comm[i++] = ch;
ch245fs/fat/file.cchar ch = *data++;
ch247fs/fat/file.cif (ch == 26){
ch250fs/fat/file.c}else if (ch != '\r'){
ch251fs/fat/file.cput_user(ch,buf++);
ch278fs/fat/file.cchar *to,ch;
ch337fs/fat/file.cif ((ch = get_user(buf++)) == '\n') {
ch343fs/fat/file.c*to++ = ch;
ch110include/asm-sparc/openprom.hvoid (*pv_putchar)(int ch);
ch114include/asm-sparc/openprom.hint (*pv_nbputchar)(int ch);
ch128include/linux/tty_driver.hvoid (*put_char)(struct tty_struct *tty, unsigned char ch);
ch11include/linux/tty_flip.hunsigned char ch, char flag)
ch16include/linux/tty_flip.h*tty->flip.char_buf_ptr++ = ch;