tag | line | file | source code |
ch | 257 | arch/i386/boot/compressed/misc.c | uch *in, *out, ch; |
ch | 262 | arch/i386/boot/compressed/misc.c | ch = *out++ = *in++; |
ch | 263 | arch/i386/boot/compressed/misc.c | c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8); |
ch | 275 | arch/i386/boot/compressed/misc.c | uch *in, ch; |
ch | 278 | arch/i386/boot/compressed/misc.c | ch = *output_data++ = *in++; |
ch | 280 | arch/i386/boot/compressed/misc.c | c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8); |
ch | 102 | arch/mips/kernel/gdb-stub.c | static int hex(unsigned char ch); |
ch | 123 | arch/mips/kernel/gdb-stub.c | static int hex(unsigned char ch) |
ch | 125 | arch/mips/kernel/gdb-stub.c | if (ch >= 'a' && ch <= 'f') |
ch | 126 | arch/mips/kernel/gdb-stub.c | return ch-'a'+10; |
ch | 127 | arch/mips/kernel/gdb-stub.c | if (ch >= '0' && ch <= '9') |
ch | 128 | arch/mips/kernel/gdb-stub.c | return ch-'0'; |
ch | 129 | arch/mips/kernel/gdb-stub.c | if (ch >= 'A' && ch <= 'F') |
ch | 130 | arch/mips/kernel/gdb-stub.c | return ch-'A'+10; |
ch | 143 | arch/mips/kernel/gdb-stub.c | unsigned char ch; |
ch | 150 | arch/mips/kernel/gdb-stub.c | while ((ch = (getDebugChar() & 0x7f)) != '$') ; |
ch | 160 | arch/mips/kernel/gdb-stub.c | ch = getDebugChar() & 0x7f; |
ch | 161 | arch/mips/kernel/gdb-stub.c | if (ch == '#') |
ch | 163 | arch/mips/kernel/gdb-stub.c | checksum = checksum + ch; |
ch | 164 | arch/mips/kernel/gdb-stub.c | buffer[count] = ch; |
ch | 173 | arch/mips/kernel/gdb-stub.c | if (ch == '#') { |
ch | 210 | arch/mips/kernel/gdb-stub.c | unsigned char ch; |
ch | 221 | arch/mips/kernel/gdb-stub.c | while ((ch = buffer[count]) != 0) { |
ch | 222 | arch/mips/kernel/gdb-stub.c | if (!(putDebugChar(ch))) |
ch | 224 | arch/mips/kernel/gdb-stub.c | checksum += ch; |
ch | 252 | arch/mips/kernel/gdb-stub.c | unsigned char ch; |
ch | 257 | arch/mips/kernel/gdb-stub.c | ch = *(mem++); |
ch | 260 | arch/mips/kernel/gdb-stub.c | *buf++ = hexchars[ch >> 4]; |
ch | 261 | arch/mips/kernel/gdb-stub.c | *buf++ = hexchars[ch & 0xf]; |
ch | 278 | arch/mips/kernel/gdb-stub.c | unsigned char ch; |
ch | 284 | arch/mips/kernel/gdb-stub.c | ch = hex(*buf++) << 4; |
ch | 285 | arch/mips/kernel/gdb-stub.c | ch |= hex(*buf++); |
ch | 286 | arch/mips/kernel/gdb-stub.c | *(mem++) = ch; |
ch | 212 | arch/sparc/kernel/sparc-stub.c | hex(unsigned char ch) |
ch | 214 | arch/sparc/kernel/sparc-stub.c | if (ch >= 'a' && ch <= 'f') |
ch | 215 | arch/sparc/kernel/sparc-stub.c | return ch-'a'+10; |
ch | 216 | arch/sparc/kernel/sparc-stub.c | if (ch >= '0' && ch <= '9') |
ch | 217 | arch/sparc/kernel/sparc-stub.c | return ch-'0'; |
ch | 218 | arch/sparc/kernel/sparc-stub.c | if (ch >= 'A' && ch <= 'F') |
ch | 219 | arch/sparc/kernel/sparc-stub.c | return ch-'A'+10; |
ch | 231 | arch/sparc/kernel/sparc-stub.c | unsigned char ch; |
ch | 235 | arch/sparc/kernel/sparc-stub.c | while ((ch = (getDebugChar() & 0x7f)) != '$') ; |
ch | 244 | arch/sparc/kernel/sparc-stub.c | ch = getDebugChar() & 0x7f; |
ch | 245 | arch/sparc/kernel/sparc-stub.c | if (ch == '#') |
ch | 247 | arch/sparc/kernel/sparc-stub.c | checksum = checksum + ch; |
ch | 248 | arch/sparc/kernel/sparc-stub.c | buffer[count] = ch; |
ch | 257 | arch/sparc/kernel/sparc-stub.c | if (ch == '#') { |
ch | 285 | arch/sparc/kernel/sparc-stub.c | unsigned char ch, recv; |
ch | 293 | arch/sparc/kernel/sparc-stub.c | while ((ch = buffer[count])) { |
ch | 294 | arch/sparc/kernel/sparc-stub.c | putDebugChar(ch); |
ch | 295 | arch/sparc/kernel/sparc-stub.c | checksum += ch; |
ch | 317 | arch/sparc/kernel/sparc-stub.c | unsigned char ch; |
ch | 320 | arch/sparc/kernel/sparc-stub.c | ch = *mem++; |
ch | 321 | arch/sparc/kernel/sparc-stub.c | *buf++ = hexchars[ch >> 4]; |
ch | 322 | arch/sparc/kernel/sparc-stub.c | *buf++ = hexchars[ch & 0xf]; |
ch | 336 | arch/sparc/kernel/sparc-stub.c | unsigned char ch; |
ch | 340 | arch/sparc/kernel/sparc-stub.c | ch = hex(*buf++) << 4; |
ch | 341 | arch/sparc/kernel/sparc-stub.c | ch |= hex(*buf++); |
ch | 342 | arch/sparc/kernel/sparc-stub.c | *mem++ = ch; |
ch | 22 | arch/sparc/prom/printf.c | char ch, *bptr; |
ch | 30 | arch/sparc/prom/printf.c | while((ch = *(bptr++)) != 0) { |
ch | 31 | arch/sparc/prom/printf.c | if(ch == '\n') |
ch | 34 | arch/sparc/prom/printf.c | prom_putchar(ch); |
ch | 626 | drivers/block/rd.c | uch *in, ch; |
ch | 632 | drivers/block/rd.c | ch = *in++; |
ch | 633 | drivers/block/rd.c | c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >> 8); |
ch | 1964 | drivers/cdrom/optcd.c | int count, i, ch, status; |
ch | 1975 | drivers/cdrom/optcd.c | for (i = 0, ch = -1; count > 0; count--) { |
ch | 1976 | drivers/cdrom/optcd.c | if ((ch = get_data(1)) < 0) { |
ch | 1977 | drivers/cdrom/optcd.c | DEBUG((DEBUG_VFS, "get_data(1): %02x", -ch)); |
ch | 1981 | drivers/cdrom/optcd.c | devname[i++] = ch; |
ch | 1984 | drivers/cdrom/optcd.c | if (ch < 0) |
ch | 245 | drivers/char/consolemap.c | int i, ch; |
ch | 254 | drivers/char/consolemap.c | ch = conv_uni_to_pc(p[i]); |
ch | 255 | drivers/char/consolemap.c | put_user((ch & ~0xff) ? 0 : ch, arg+i); |
ch | 1548 | drivers/char/cyclades.c | cy_put_char(struct tty_struct *tty, unsigned char ch) |
ch | 1569 | drivers/char/cyclades.c | info->xmit_buf[info->xmit_head++] = ch; |
ch | 632 | drivers/char/istallion.c | static void stli_putchar(struct tty_struct *tty, unsigned char ch); |
ch | 1562 | drivers/char/istallion.c | static void stli_putchar(struct tty_struct *tty, unsigned char ch) |
ch | 1565 | drivers/char/istallion.c | printk("stli_putchar(tty=%x,ch=%x)\n", (int) tty, (int) ch); |
ch | 1576 | drivers/char/istallion.c | stli_txcookbuf[stli_txcooksize++] = ch; |
ch | 598 | drivers/char/keyboard.c | static void put_queue(int ch) |
ch | 602 | drivers/char/keyboard.c | tty_insert_flip_char(tty, ch, 0); |
ch | 848 | drivers/char/keyboard.c | unsigned char handle_diacr(unsigned char ch) |
ch | 854 | drivers/char/keyboard.c | if (ch == ' ') |
ch | 858 | drivers/char/keyboard.c | if (accent_table[i].diacr == d && accent_table[i].base == ch) |
ch | 863 | drivers/char/keyboard.c | return ch; |
ch | 127 | drivers/char/pcxx.c | static void pcxxparam(struct tty_struct *, struct channel *ch); |
ch | 135 | drivers/char/pcxx.c | static void digi_send_break(struct channel *ch, int msec); |
ch | 137 | drivers/char/pcxx.c | static void setup_empty_event(struct tty_struct *tty, struct channel *ch); |
ch | 140 | drivers/char/pcxx.c | static inline void globalwinon(struct channel *ch); |
ch | 141 | drivers/char/pcxx.c | static inline void rxwinon(struct channel *ch); |
ch | 142 | drivers/char/pcxx.c | static inline void txwinon(struct channel *ch); |
ch | 143 | drivers/char/pcxx.c | static inline void memoff(struct channel *ch); |
ch | 144 | drivers/char/pcxx.c | static inline void assertgwinon(struct channel *ch); |
ch | 145 | drivers/char/pcxx.c | static inline void assertmemoff(struct channel *ch); |
ch | 152 | drivers/char/pcxx.c | register struct channel *ch=(struct channel *)tty->driver_data; |
ch | 153 | drivers/char/pcxx.c | if ((ch >= &((*digi_channels)[0])) && (ch < &((*digi_channels)[nbdevs]))) { |
ch | 154 | drivers/char/pcxx.c | if (ch->magic==PCXX_MAGIC) |
ch | 155 | drivers/char/pcxx.c | return ch; |
ch | 177 | drivers/char/pcxx.c | static inline void globalwinon(struct channel *ch) |
ch | 179 | drivers/char/pcxx.c | if(ch->board->type == PCXEVE) |
ch | 180 | drivers/char/pcxx.c | outb_p(FEPWIN, ch->board->port+1); |
ch | 182 | drivers/char/pcxx.c | outb_p(FEPMEM, ch->board->port); |
ch | 185 | drivers/char/pcxx.c | static inline void rxwinon(struct channel *ch) |
ch | 187 | drivers/char/pcxx.c | if(ch->rxwin == 0) |
ch | 188 | drivers/char/pcxx.c | outb_p(FEPMEM, ch->board->port); |
ch | 190 | drivers/char/pcxx.c | outb_p(ch->rxwin, ch->board->port+1); |
ch | 193 | drivers/char/pcxx.c | static inline void txwinon(struct channel *ch) |
ch | 195 | drivers/char/pcxx.c | if(ch->txwin == 0) |
ch | 196 | drivers/char/pcxx.c | outb_p(FEPMEM, ch->board->port); |
ch | 198 | drivers/char/pcxx.c | outb_p(ch->txwin, ch->board->port+1); |
ch | 201 | drivers/char/pcxx.c | static inline void memoff(struct channel *ch) |
ch | 203 | drivers/char/pcxx.c | outb_p(0, ch->board->port); |
ch | 204 | drivers/char/pcxx.c | if(ch->board->type == PCXEVE) |
ch | 205 | drivers/char/pcxx.c | outb_p(0, ch->board->port+1); |
ch | 208 | drivers/char/pcxx.c | static inline void assertgwinon(struct channel *ch) |
ch | 210 | drivers/char/pcxx.c | if(ch->board->type != PCXEVE) |
ch | 211 | drivers/char/pcxx.c | pcxxassert(inb(ch->board->port) & FEPMEM, "Global memory off"); |
ch | 214 | drivers/char/pcxx.c | static inline void assertmemoff(struct channel *ch) |
ch | 216 | drivers/char/pcxx.c | if(ch->board->type != PCXEVE) |
ch | 217 | drivers/char/pcxx.c | pcxxassert(!(inb(ch->board->port) & FEPMEM), "Memory on"); |
ch | 297 | drivers/char/pcxx.c | struct channel *ch; |
ch | 322 | drivers/char/pcxx.c | ch = &((*digi_channels)[line]); |
ch | 324 | drivers/char/pcxx.c | if(ch->brdchan == 0) { |
ch | 333 | drivers/char/pcxx.c | if(ch->asyncflags & ASYNC_CLOSING) { |
ch | 334 | drivers/char/pcxx.c | interruptible_sleep_on(&ch->close_wait); |
ch | 335 | drivers/char/pcxx.c | if(ch->asyncflags & ASYNC_HUP_NOTIFY) |
ch | 343 | drivers/char/pcxx.c | ch->count++; |
ch | 344 | drivers/char/pcxx.c | tty->driver_data = ch; |
ch | 345 | drivers/char/pcxx.c | ch->tty = tty; |
ch | 347 | drivers/char/pcxx.c | if ((ch->asyncflags & ASYNC_INITIALIZED) == 0) { |
ch | 350 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 351 | drivers/char/pcxx.c | ch->statusflags = 0; |
ch | 352 | drivers/char/pcxx.c | bc=ch->brdchan; |
ch | 353 | drivers/char/pcxx.c | ch->imodem = bc->mstat; |
ch | 356 | drivers/char/pcxx.c | ch->tty = tty; |
ch | 357 | drivers/char/pcxx.c | pcxxparam(tty,ch); |
ch | 358 | drivers/char/pcxx.c | ch->imodem = bc->mstat; |
ch | 360 | drivers/char/pcxx.c | ch->omodem = DTR|RTS; |
ch | 361 | drivers/char/pcxx.c | fepcmd(ch, SETMODEM, DTR|RTS, 0, 10, 1); |
ch | 362 | drivers/char/pcxx.c | memoff(ch); |
ch | 363 | drivers/char/pcxx.c | ch->asyncflags |= ASYNC_INITIALIZED; |
ch | 367 | drivers/char/pcxx.c | if(ch->asyncflags & ASYNC_CLOSING) { |
ch | 368 | drivers/char/pcxx.c | interruptible_sleep_on(&ch->close_wait); |
ch | 369 | drivers/char/pcxx.c | if(ch->asyncflags & ASYNC_HUP_NOTIFY) |
ch | 379 | drivers/char/pcxx.c | if (ch->asyncflags & ASYNC_NORMAL_ACTIVE) |
ch | 381 | drivers/char/pcxx.c | if (ch->asyncflags & ASYNC_CALLOUT_ACTIVE) { |
ch | 382 | drivers/char/pcxx.c | if ((ch->asyncflags & ASYNC_SESSION_LOCKOUT) && |
ch | 383 | drivers/char/pcxx.c | (ch->session != current->session)) |
ch | 385 | drivers/char/pcxx.c | if((ch->asyncflags & ASYNC_PGRP_LOCKOUT) && |
ch | 386 | drivers/char/pcxx.c | (ch->pgrp != current->pgrp)) |
ch | 389 | drivers/char/pcxx.c | ch->asyncflags |= ASYNC_CALLOUT_ACTIVE; |
ch | 393 | drivers/char/pcxx.c | if(ch->asyncflags & ASYNC_CALLOUT_ACTIVE) |
ch | 397 | drivers/char/pcxx.c | if ((retval = pcxx_waitcarrier(tty, filp, ch)) != 0) |
ch | 400 | drivers/char/pcxx.c | ch->asyncflags |= ASYNC_NORMAL_ACTIVE; |
ch | 405 | drivers/char/pcxx.c | if((ch->count == 1) && (ch->asyncflags & ASYNC_SPLIT_TERMIOS)) { |
ch | 407 | drivers/char/pcxx.c | *tty->termios = ch->normal_termios; |
ch | 409 | drivers/char/pcxx.c | *tty->termios = ch->callout_termios; |
ch | 410 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 411 | drivers/char/pcxx.c | pcxxparam(tty,ch); |
ch | 412 | drivers/char/pcxx.c | memoff(ch); |
ch | 415 | drivers/char/pcxx.c | ch->session = current->session; |
ch | 416 | drivers/char/pcxx.c | ch->pgrp = current->pgrp; |
ch | 525 | drivers/char/pcxx.c | struct channel *ch; |
ch | 527 | drivers/char/pcxx.c | if ((ch=chan(tty))!=NULL) { |
ch | 532 | drivers/char/pcxx.c | shutdown(ch); |
ch | 533 | drivers/char/pcxx.c | ch->event = 0; |
ch | 534 | drivers/char/pcxx.c | ch->count = 0; |
ch | 535 | drivers/char/pcxx.c | ch->tty = NULL; |
ch | 536 | drivers/char/pcxx.c | ch->asyncflags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE); |
ch | 537 | drivers/char/pcxx.c | wake_up_interruptible(&ch->open_wait); |
ch | 546 | drivers/char/pcxx.c | struct channel *ch; |
ch | 554 | drivers/char/pcxx.c | if ((ch=chan(tty))==NULL) |
ch | 557 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 558 | drivers/char/pcxx.c | size = ch->txbufsize; |
ch | 564 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 575 | drivers/char/pcxx.c | else memcpy_fromfs(ch->tmp_buf, buf, count); |
ch | 577 | drivers/char/pcxx.c | buf = ch->tmp_buf; |
ch | 578 | drivers/char/pcxx.c | memoff(ch); |
ch | 589 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 605 | drivers/char/pcxx.c | txwinon(ch); |
ch | 608 | drivers/char/pcxx.c | memcpy(ch->txptr + head, buf, stlen); |
ch | 618 | drivers/char/pcxx.c | ch->statusflags |= TXBUSY; |
ch | 619 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 621 | drivers/char/pcxx.c | if ((ch->statusflags & LOWWAIT) == 0) { |
ch | 622 | drivers/char/pcxx.c | ch->statusflags |= LOWWAIT; |
ch | 625 | drivers/char/pcxx.c | memoff(ch); |
ch | 641 | drivers/char/pcxx.c | struct channel *ch; |
ch | 645 | drivers/char/pcxx.c | if ((ch=chan(tty))!=NULL) { |
ch | 652 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 654 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 655 | drivers/char/pcxx.c | head = bc->tin & (ch->txbufsize - 1); |
ch | 659 | drivers/char/pcxx.c | tail &= (ch->txbufsize - 1); |
ch | 662 | drivers/char/pcxx.c | remain += ch->txbufsize; |
ch | 664 | drivers/char/pcxx.c | if (remain && (ch->statusflags & LOWWAIT) == 0) { |
ch | 665 | drivers/char/pcxx.c | ch->statusflags |= LOWWAIT; |
ch | 668 | drivers/char/pcxx.c | memoff(ch); |
ch | 682 | drivers/char/pcxx.c | struct channel *ch; |
ch | 685 | drivers/char/pcxx.c | if ((ch=chan(tty))==NULL) |
ch | 690 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 692 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 695 | drivers/char/pcxx.c | ctail = ch->mailbox->cout; |
ch | 696 | drivers/char/pcxx.c | if(tail == head && ch->mailbox->cin == ctail && bc->tbusy == 0) |
ch | 699 | drivers/char/pcxx.c | head = bc->tin & (ch->txbufsize - 1); |
ch | 700 | drivers/char/pcxx.c | tail &= (ch->txbufsize - 1); |
ch | 702 | drivers/char/pcxx.c | remain += ch->txbufsize; |
ch | 704 | drivers/char/pcxx.c | chars = (int)(ch->txbufsize - remain); |
ch | 710 | drivers/char/pcxx.c | if(!(ch->statusflags & EMPTYWAIT)) |
ch | 711 | drivers/char/pcxx.c | setup_empty_event(tty,ch); |
ch | 714 | drivers/char/pcxx.c | memoff(ch); |
ch | 725 | drivers/char/pcxx.c | struct channel *ch; |
ch | 728 | drivers/char/pcxx.c | if ((ch=chan(tty))==NULL) |
ch | 734 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 735 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 737 | drivers/char/pcxx.c | fepcmd(ch, STOUT, (unsigned) tail, 0, 0, 0); |
ch | 739 | drivers/char/pcxx.c | memoff(ch); |
ch | 749 | drivers/char/pcxx.c | struct channel * ch; |
ch | 751 | drivers/char/pcxx.c | if ((ch=chan(tty))!=NULL) { |
ch | 756 | drivers/char/pcxx.c | if ((ch->statusflags & TXBUSY) && !(ch->statusflags & EMPTYWAIT)) |
ch | 757 | drivers/char/pcxx.c | setup_empty_event(tty,ch); |
ch | 972 | drivers/char/pcxx.c | struct channel *ch; |
ch | 1262 | drivers/char/pcxx.c | ch = &((*digi_channels)[bd->first_minor]); |
ch | 1263 | drivers/char/pcxx.c | pcxxassert(ch < &((*digi_channels)[nbdevs]), "ch out of range"); |
ch | 1273 | drivers/char/pcxx.c | for(i=0; i < bd->numports; i++, ch++, bc++) { |
ch | 1275 | drivers/char/pcxx.c | ch->brdchan = 0; |
ch | 1278 | drivers/char/pcxx.c | ch->brdchan = bc; |
ch | 1279 | drivers/char/pcxx.c | ch->mailbox = gd; |
ch | 1280 | drivers/char/pcxx.c | ch->tqueue.routine = do_softint; |
ch | 1281 | drivers/char/pcxx.c | ch->tqueue.data = ch; |
ch | 1282 | drivers/char/pcxx.c | ch->board = &boards[crd]; |
ch | 1284 | drivers/char/pcxx.c | ch->digiext.digi_flags = RTSPACE|CTSPACE; |
ch | 1287 | drivers/char/pcxx.c | ch->dsr = CD; |
ch | 1288 | drivers/char/pcxx.c | ch->dcd = DSR; |
ch | 1289 | drivers/char/pcxx.c | ch->digiext.digi_flags |= DIGI_ALTPIN; |
ch | 1291 | drivers/char/pcxx.c | ch->dcd = CD; |
ch | 1292 | drivers/char/pcxx.c | ch->dsr = DSR; |
ch | 1295 | drivers/char/pcxx.c | ch->magic = PCXX_MAGIC; |
ch | 1296 | drivers/char/pcxx.c | ch->boardnum = crd; |
ch | 1297 | drivers/char/pcxx.c | ch->channelnum = i; |
ch | 1299 | drivers/char/pcxx.c | ch->dev = bd->first_minor + i; |
ch | 1300 | drivers/char/pcxx.c | ch->tty = 0; |
ch | 1303 | drivers/char/pcxx.c | fepcmd(ch, SETBUFFER, 32, 0, 0, 0); |
ch | 1308 | drivers/char/pcxx.c | ch->txptr = memaddr+((bc->tseg-memory_seg) << 4); |
ch | 1309 | drivers/char/pcxx.c | ch->rxptr = memaddr+((bc->rseg-memory_seg) << 4); |
ch | 1310 | drivers/char/pcxx.c | ch->txwin = ch->rxwin = 0; |
ch | 1312 | drivers/char/pcxx.c | ch->txptr = memaddr+(((bc->tseg-memory_seg) << 4) & 0x1fff); |
ch | 1313 | drivers/char/pcxx.c | ch->txwin = FEPWIN | ((bc->tseg-memory_seg) >> 9); |
ch | 1314 | drivers/char/pcxx.c | ch->rxptr = memaddr+(((bc->rseg-memory_seg) << 4) & 0x1fff); |
ch | 1315 | drivers/char/pcxx.c | ch->rxwin = FEPWIN | ((bc->rseg-memory_seg) >>9 ); |
ch | 1318 | drivers/char/pcxx.c | ch->txbufsize = bc->tmax + 1; |
ch | 1319 | drivers/char/pcxx.c | ch->rxbufsize = bc->rmax + 1; |
ch | 1321 | drivers/char/pcxx.c | ch->tmp_buf = kmalloc(ch->txbufsize,GFP_KERNEL); |
ch | 1323 | drivers/char/pcxx.c | lowwater = ch->txbufsize >= 2000 ? 1024 : ch->txbufsize/2; |
ch | 1324 | drivers/char/pcxx.c | fepcmd(ch, STXLWATER, lowwater, 0, 10, 0); |
ch | 1325 | drivers/char/pcxx.c | fepcmd(ch, SRXLWATER, ch->rxbufsize/4, 0, 10, 0); |
ch | 1326 | drivers/char/pcxx.c | fepcmd(ch, SRXHWATER, 3 * ch->rxbufsize/4, 0, 10, 0); |
ch | 1331 | drivers/char/pcxx.c | ch->startc = bc->startc; |
ch | 1332 | drivers/char/pcxx.c | ch->stopc = bc->stopc; |
ch | 1333 | drivers/char/pcxx.c | ch->startca = bc->startca; |
ch | 1334 | drivers/char/pcxx.c | ch->stopca = bc->stopca; |
ch | 1336 | drivers/char/pcxx.c | ch->fepcflag = 0; |
ch | 1337 | drivers/char/pcxx.c | ch->fepiflag = 0; |
ch | 1338 | drivers/char/pcxx.c | ch->fepoflag = 0; |
ch | 1339 | drivers/char/pcxx.c | ch->fepstartc = 0; |
ch | 1340 | drivers/char/pcxx.c | ch->fepstopc = 0; |
ch | 1341 | drivers/char/pcxx.c | ch->fepstartca = 0; |
ch | 1342 | drivers/char/pcxx.c | ch->fepstopca = 0; |
ch | 1344 | drivers/char/pcxx.c | ch->close_delay = 50; |
ch | 1345 | drivers/char/pcxx.c | ch->count = 0; |
ch | 1346 | drivers/char/pcxx.c | ch->blocked_open = 0; |
ch | 1347 | drivers/char/pcxx.c | ch->callout_termios = pcxe_callout.init_termios; |
ch | 1348 | drivers/char/pcxx.c | ch->normal_termios = pcxe_driver.init_termios; |
ch | 1349 | drivers/char/pcxx.c | ch->open_wait = 0; |
ch | 1350 | drivers/char/pcxx.c | ch->close_wait = 0; |
ch | 1385 | drivers/char/pcxx.c | struct channel *ch; |
ch | 1394 | drivers/char/pcxx.c | ch = &((*digi_channels)[bd->first_minor]); |
ch | 1399 | drivers/char/pcxx.c | assertmemoff(ch); |
ch | 1401 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1402 | drivers/char/pcxx.c | head = ch->mailbox->ein; |
ch | 1403 | drivers/char/pcxx.c | tail = ch->mailbox->eout; |
ch | 1408 | drivers/char/pcxx.c | memoff(ch); |
ch | 1425 | drivers/char/pcxx.c | struct channel *ch; |
ch | 1445 | drivers/char/pcxx.c | ch=chan0+channel; |
ch | 1447 | drivers/char/pcxx.c | if ((unsigned)channel >= bd->numports || !ch) { |
ch | 1452 | drivers/char/pcxx.c | ch = chan0; |
ch | 1453 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 1456 | drivers/char/pcxx.c | if ((bc = ch->brdchan) == NULL) |
ch | 1460 | drivers/char/pcxx.c | receive_data(ch); |
ch | 1461 | drivers/char/pcxx.c | assertgwinon(ch); |
ch | 1465 | drivers/char/pcxx.c | ch->imodem = mstat; |
ch | 1466 | drivers/char/pcxx.c | if (ch->asyncflags & (ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE)) { |
ch | 1467 | drivers/char/pcxx.c | if (ch->asyncflags & ASYNC_CHECK_CD) { |
ch | 1468 | drivers/char/pcxx.c | if (mstat & ch->dcd) { |
ch | 1469 | drivers/char/pcxx.c | wake_up_interruptible(&ch->open_wait); |
ch | 1471 | drivers/char/pcxx.c | pcxe_sched_event(ch, PCXE_EVENT_HANGUP); |
ch | 1477 | drivers/char/pcxx.c | tty = ch->tty; |
ch | 1486 | drivers/char/pcxx.c | if (ch->asyncflags & ASYNC_SAK) |
ch | 1493 | drivers/char/pcxx.c | if (ch->statusflags & LOWWAIT) { |
ch | 1494 | drivers/char/pcxx.c | ch->statusflags &= ~LOWWAIT; |
ch | 1503 | drivers/char/pcxx.c | ch->statusflags &= ~TXBUSY; |
ch | 1504 | drivers/char/pcxx.c | if (ch->statusflags & EMPTYWAIT) { |
ch | 1505 | drivers/char/pcxx.c | ch->statusflags &= ~EMPTYWAIT; |
ch | 1515 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1537 | drivers/char/pcxx.c | fepcmd(struct channel *ch, int cmd, int word_or_byte, int byte2, int ncmds, |
ch | 1545 | drivers/char/pcxx.c | if(ch->board->status == DISABLED) |
ch | 1548 | drivers/char/pcxx.c | assertgwinon(ch); |
ch | 1550 | drivers/char/pcxx.c | memaddr = (unchar *)ch->board->membase; |
ch | 1551 | drivers/char/pcxx.c | head = ch->mailbox->cin; |
ch | 1561 | drivers/char/pcxx.c | *(unchar *)(memaddr+head+CSTART+1) = ch->dev - ch->board->first_minor; |
ch | 1568 | drivers/char/pcxx.c | *(unchar *)(memaddr+head+CSTART+1) = ch->dev - ch->board->first_minor; |
ch | 1573 | drivers/char/pcxx.c | ch->mailbox->cin = head; |
ch | 1584 | drivers/char/pcxx.c | head = ch->mailbox->cin; |
ch | 1585 | drivers/char/pcxx.c | tail = ch->mailbox->cout; |
ch | 1595 | drivers/char/pcxx.c | static unsigned termios2digi_c(struct channel *ch, unsigned cflag) |
ch | 1605 | drivers/char/pcxx.c | ch->digiext.digi_flags |= DIGI_FAST; |
ch | 1614 | drivers/char/pcxx.c | else ch->digiext.digi_flags &= ~DIGI_FAST; |
ch | 1619 | drivers/char/pcxx.c | static unsigned termios2digi_i(struct channel *ch, unsigned iflag) |
ch | 1623 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & DIGI_AIXON) |
ch | 1628 | drivers/char/pcxx.c | static unsigned termios2digi_h(struct channel *ch, unsigned cflag) |
ch | 1633 | drivers/char/pcxx.c | ch->digiext.digi_flags |= (RTSPACE|CTSPACE); |
ch | 1636 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & RTSPACE) |
ch | 1638 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & DTRPACE) |
ch | 1640 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & CTSPACE) |
ch | 1642 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & DSRPACE) |
ch | 1643 | drivers/char/pcxx.c | res |= ch->dsr; |
ch | 1644 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & DCDPACE) |
ch | 1645 | drivers/char/pcxx.c | res |= ch->dcd; |
ch | 1648 | drivers/char/pcxx.c | ch->digiext.digi_flags |= RTSPACE; |
ch | 1650 | drivers/char/pcxx.c | ch->digiext.digi_flags |= CTSPACE; |
ch | 1655 | drivers/char/pcxx.c | static void pcxxparam(struct tty_struct *tty, struct channel *ch) |
ch | 1662 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 1663 | drivers/char/pcxx.c | assertgwinon(ch); |
ch | 1670 | drivers/char/pcxx.c | fepcmd(ch, STOUT, (unsigned) head, 0, 0, 0); |
ch | 1674 | drivers/char/pcxx.c | cflag = termios2digi_c(ch, ts->c_cflag); |
ch | 1676 | drivers/char/pcxx.c | if(cflag != ch->fepcflag) { |
ch | 1677 | drivers/char/pcxx.c | ch->fepcflag = cflag; |
ch | 1678 | drivers/char/pcxx.c | fepcmd(ch, SETCTRLFLAGS, (unsigned) cflag, 0, 0, 0); |
ch | 1682 | drivers/char/pcxx.c | ch->asyncflags &= ~ASYNC_CHECK_CD; |
ch | 1684 | drivers/char/pcxx.c | ch->asyncflags |= ASYNC_CHECK_CD; |
ch | 1690 | drivers/char/pcxx.c | iflag = termios2digi_i(ch, ts->c_iflag); |
ch | 1692 | drivers/char/pcxx.c | if(iflag != ch->fepiflag) { |
ch | 1693 | drivers/char/pcxx.c | ch->fepiflag = iflag; |
ch | 1694 | drivers/char/pcxx.c | fepcmd(ch, SETIFLAGS, (unsigned int) ch->fepiflag, 0, 0, 0); |
ch | 1697 | drivers/char/pcxx.c | bc->mint = ch->dcd; |
ch | 1698 | drivers/char/pcxx.c | if((ts->c_cflag & CLOCAL) || (ch->digiext.digi_flags & DIGI_FORCEDCD)) |
ch | 1699 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & DIGI_FORCEDCD) |
ch | 1702 | drivers/char/pcxx.c | ch->imodem = bc->mstat; |
ch | 1704 | drivers/char/pcxx.c | hflow = termios2digi_h(ch, ts->c_cflag); |
ch | 1706 | drivers/char/pcxx.c | if(hflow != ch->hflow) { |
ch | 1707 | drivers/char/pcxx.c | ch->hflow = hflow; |
ch | 1708 | drivers/char/pcxx.c | fepcmd(ch, SETHFLOW, hflow, 0xff, 0, 1); |
ch | 1713 | drivers/char/pcxx.c | if(ch->omodem != mval) { |
ch | 1714 | drivers/char/pcxx.c | ch->omodem = mval; |
ch | 1715 | drivers/char/pcxx.c | fepcmd(ch, SETMODEM, mval, RTS|DTR, 0, 1); |
ch | 1718 | drivers/char/pcxx.c | if(ch->startc != ch->fepstartc || ch->stopc != ch->fepstopc) { |
ch | 1719 | drivers/char/pcxx.c | ch->fepstartc = ch->startc; |
ch | 1720 | drivers/char/pcxx.c | ch->fepstopc = ch->stopc; |
ch | 1721 | drivers/char/pcxx.c | fepcmd(ch, SONOFFC, ch->fepstartc, ch->fepstopc, 0, 1); |
ch | 1724 | drivers/char/pcxx.c | if(ch->startca != ch->fepstartca || ch->stopca != ch->fepstopca) { |
ch | 1725 | drivers/char/pcxx.c | ch->fepstartca = ch->startca; |
ch | 1726 | drivers/char/pcxx.c | ch->fepstopca = ch->stopca; |
ch | 1727 | drivers/char/pcxx.c | fepcmd(ch, SAUXONOFFC, ch->fepstartca, ch->fepstopca, 0, 1); |
ch | 1732 | drivers/char/pcxx.c | static void receive_data(struct channel *ch) |
ch | 1744 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1746 | drivers/char/pcxx.c | if (ch->statusflags & RXSTOPPED) |
ch | 1749 | drivers/char/pcxx.c | tty = ch->tty; |
ch | 1753 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 1760 | drivers/char/pcxx.c | wrapmask = ch->rxbufsize - 1; |
ch | 1789 | drivers/char/pcxx.c | rxwinon(ch); |
ch | 1793 | drivers/char/pcxx.c | wrapgap = (head >= tail) ? head - tail : ch->rxbufsize - tail; |
ch | 1806 | drivers/char/pcxx.c | memcpy(rptr, ch->rxptr + tail, piece); |
ch | 1814 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1818 | drivers/char/pcxx.c | tty_schedule_flip(ch->tty); |
ch | 1827 | drivers/char/pcxx.c | struct channel *ch = (struct channel *) tty->driver_data; |
ch | 1835 | drivers/char/pcxx.c | if(ch) |
ch | 1836 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 1849 | drivers/char/pcxx.c | setup_empty_event(tty,ch); |
ch | 1852 | drivers/char/pcxx.c | digi_send_break(ch, HZ/4); /* 1/4 second */ |
ch | 1859 | drivers/char/pcxx.c | setup_empty_event(tty,ch); |
ch | 1861 | drivers/char/pcxx.c | digi_send_break(ch, arg ? arg*(HZ/10) : HZ/4); |
ch | 1882 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1884 | drivers/char/pcxx.c | memoff(ch); |
ch | 1893 | drivers/char/pcxx.c | if(mstat & ch->dsr) |
ch | 1897 | drivers/char/pcxx.c | if(mstat & ch->dcd) |
ch | 1921 | drivers/char/pcxx.c | ch->modemfake = DTR|RTS; |
ch | 1922 | drivers/char/pcxx.c | ch->modem = mflag; |
ch | 1926 | drivers/char/pcxx.c | ch->modemfake |= mflag; |
ch | 1927 | drivers/char/pcxx.c | ch->modem |= mflag; |
ch | 1931 | drivers/char/pcxx.c | ch->modemfake &= ~mflag; |
ch | 1932 | drivers/char/pcxx.c | ch->modem &= ~mflag; |
ch | 1937 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1938 | drivers/char/pcxx.c | pcxxparam(tty,ch); |
ch | 1939 | drivers/char/pcxx.c | memoff(ch); |
ch | 1945 | drivers/char/pcxx.c | ch->omodem |= DTR; |
ch | 1946 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1947 | drivers/char/pcxx.c | fepcmd(ch, SETMODEM, DTR, 0, 10, 1); |
ch | 1948 | drivers/char/pcxx.c | memoff(ch); |
ch | 1953 | drivers/char/pcxx.c | ch->omodem &= ~DTR; |
ch | 1955 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 1956 | drivers/char/pcxx.c | fepcmd(ch, SETMODEM, 0, DTR, 10, 1); |
ch | 1957 | drivers/char/pcxx.c | memoff(ch); |
ch | 1965 | drivers/char/pcxx.c | memcpy_tofs((char*)arg, &ch->digiext, sizeof(digi_t)); |
ch | 1971 | drivers/char/pcxx.c | setup_empty_event(tty,ch); |
ch | 1985 | drivers/char/pcxx.c | memcpy_fromfs(&ch->digiext, (char*)arg, sizeof(digi_t)); |
ch | 1987 | drivers/char/pcxx.c | printk("ioctl(DIGI_SETA): flags = %x\n", ch->digiext.digi_flags); |
ch | 1990 | drivers/char/pcxx.c | if(ch->digiext.digi_flags & DIGI_ALTPIN) { |
ch | 1991 | drivers/char/pcxx.c | ch->dcd = DSR; |
ch | 1992 | drivers/char/pcxx.c | ch->dsr = CD; |
ch | 1994 | drivers/char/pcxx.c | ch->dcd = CD; |
ch | 1995 | drivers/char/pcxx.c | ch->dsr = DSR; |
ch | 1999 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 2000 | drivers/char/pcxx.c | pcxxparam(tty,ch); |
ch | 2001 | drivers/char/pcxx.c | memoff(ch); |
ch | 2008 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 2016 | drivers/char/pcxx.c | memoff(ch); |
ch | 2028 | drivers/char/pcxx.c | startc = ch->startc; |
ch | 2029 | drivers/char/pcxx.c | stopc = ch->stopc; |
ch | 2031 | drivers/char/pcxx.c | startc = ch->startca; |
ch | 2032 | drivers/char/pcxx.c | stopc = ch->stopca; |
ch | 2042 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 2045 | drivers/char/pcxx.c | ch->fepstartc = ch->startc = dflow.startc; |
ch | 2046 | drivers/char/pcxx.c | ch->fepstopc = ch->stopc = dflow.stopc; |
ch | 2047 | drivers/char/pcxx.c | fepcmd(ch,SONOFFC,ch->fepstartc,ch->fepstopc,0, 1); |
ch | 2049 | drivers/char/pcxx.c | ch->fepstartca = ch->startca = dflow.startc; |
ch | 2050 | drivers/char/pcxx.c | ch->fepstopca = ch->stopca = dflow.stopc; |
ch | 2051 | drivers/char/pcxx.c | fepcmd(ch, SAUXONOFFC, ch->fepstartca, ch->fepstopca, 0, 1); |
ch | 2054 | drivers/char/pcxx.c | if(ch->statusflags & TXSTOPPED) |
ch | 2057 | drivers/char/pcxx.c | memoff(ch); |
ch | 2199 | drivers/char/pcxx.c | void digi_send_break(struct channel *ch, int msec) |
ch | 2205 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 2215 | drivers/char/pcxx.c | fepcmd(ch, SENDBREAK, msec, 0, 10, 0); |
ch | 2216 | drivers/char/pcxx.c | memoff(ch); |
ch | 2221 | drivers/char/pcxx.c | static void setup_empty_event(struct tty_struct *tty, struct channel *ch) |
ch | 2228 | drivers/char/pcxx.c | globalwinon(ch); |
ch | 2229 | drivers/char/pcxx.c | ch->statusflags |= EMPTYWAIT; |
ch | 2230 | drivers/char/pcxx.c | bc = ch->brdchan; |
ch | 2232 | drivers/char/pcxx.c | memoff(ch); |
ch | 217 | drivers/char/scc.c | static void scc_put_char(struct tty_struct *tty, unsigned char ch); |
ch | 1711 | drivers/char/scc.c | static inline void kiss_store_byte(struct scc_channel *scc, unsigned char ch) |
ch | 1721 | drivers/char/scc.c | *bp->rw_ptr = ch; |
ch | 1728 | drivers/char/scc.c | static inline int kiss_decode(struct scc_channel *scc, unsigned char ch) |
ch | 1733 | drivers/char/scc.c | if (ch == FEND) |
ch | 1744 | drivers/char/scc.c | if (ch == FESC) |
ch | 1746 | drivers/char/scc.c | else if (ch == FEND) |
ch | 1751 | drivers/char/scc.c | else kiss_store_byte(scc, ch); |
ch | 1755 | drivers/char/scc.c | if (ch == TFEND) |
ch | 1760 | drivers/char/scc.c | else if (ch == TFESC) |
ch | 1786 | drivers/char/scc.c | unsigned char ch; |
ch | 1835 | drivers/char/scc.c | switch(ch = *bp->rw_ptr) |
ch | 1846 | drivers/char/scc.c | tty_insert_flip_char(tty, ch, 0); |
ch | 2528 | drivers/char/scc.c | static void scc_put_char(struct tty_struct * tty, unsigned char ch) |
ch | 2536 | drivers/char/scc.c | ch2 = ch; |
ch | 381 | drivers/char/serial.c | unsigned char ch; |
ch | 385 | drivers/char/serial.c | ch = serial_inp(info, UART_RX); |
ch | 407 | drivers/char/serial.c | *tty->flip.char_buf_ptr++ = ch; |
ch | 1283 | drivers/char/serial.c | static void rs_put_char(struct tty_struct *tty, unsigned char ch) |
ch | 1300 | drivers/char/serial.c | info->xmit_buf[info->xmit_head++] = ch; |
ch | 479 | drivers/char/stallion.c | static void stl_putchar(struct tty_struct *tty, unsigned char ch); |
ch | 1014 | drivers/char/stallion.c | static void stl_putchar(struct tty_struct *tty, unsigned char ch) |
ch | 1021 | drivers/char/stallion.c | printk("stl_putchar(tty=%x,ch=%x)\n", (int) tty, (int) ch); |
ch | 1039 | drivers/char/stallion.c | *head++ = ch; |
ch | 1689 | drivers/char/stallion.c | char ch; |
ch | 1729 | drivers/char/stallion.c | ch = inb(ioaddr + EREG_DATA); |
ch | 1768 | drivers/char/stallion.c | *tty->flip.char_buf_ptr++ = ch; |
ch | 1369 | drivers/char/tty_io.c | unsigned char ch; |
ch | 1389 | drivers/char/tty_io.c | ch = get_user((char *) arg); |
ch | 1390 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, &ch, &mbz, 1); |
ch | 1716 | drivers/char/tty_io.c | void tty_default_put_char(struct tty_struct *tty, unsigned char ch) |
ch | 1718 | drivers/char/tty_io.c | tty->driver.write(tty, 0, &ch, 1); |
ch | 456 | drivers/isdn/icn/icn.c | int ch; |
ch | 478 | drivers/isdn/icn/icn.c | ch = dev->imsg[1] - '0'; |
ch | 481 | drivers/isdn/icn/icn.c | switch (ch) { |
ch | 491 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 498 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 503 | drivers/isdn/icn/icn.c | switch (ch) { |
ch | 514 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 521 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 528 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 546 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 554 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 563 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 571 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 579 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 587 | drivers/isdn/icn/icn.c | cmd.arg = ch - 1; |
ch | 137 | drivers/isdn/isdn_common.c | int isdn_dc2minor(int di, int ch) |
ch | 141 | drivers/isdn/isdn_common.c | if (dev->chanmap[i] == ch && dev->drvmap[i] == di) |
ch | 285 | drivers/isdn/isdn_common.c | void isdn_all_eaz(int di, int ch) |
ch | 290 | drivers/isdn/isdn_common.c | cmd.arg = ch; |
ch | 1549 | drivers/isdn/isdn_common.c | void isdn_free_channel(int di, int ch, int usage) |
ch | 1559 | drivers/isdn/isdn_common.c | (dev->chanmap[i] == ch)) { |
ch | 1572 | drivers/isdn/isdn_common.c | void isdn_unexclusive_channel(int di, int ch) |
ch | 1581 | drivers/isdn/isdn_common.c | (dev->chanmap[i] == ch)) { |
ch | 44 | drivers/isdn/isdn_common.h | extern void isdn_free_channel(int di, int ch, int usage); |
ch | 45 | drivers/isdn/isdn_common.h | extern void isdn_all_eaz(int di, int ch); |
ch | 46 | drivers/isdn/isdn_common.h | extern int isdn_dc2minor(int di, int ch); |
ch | 50 | drivers/isdn/isdn_common.h | extern void isdn_unexclusive_channel(int di, int ch); |
ch | 482 | drivers/isdn/isdn_net.c | isdn_net_send(u_char * buf, int di, int ch, int len) |
ch | 486 | drivers/isdn/isdn_net.c | if ((l = dev->drv[di]->interface->writebuf(di, ch, buf, len, 0)) == len) |
ch | 1361 | drivers/isdn/isdn_net.c | isdn_net_find_icall(int di, int ch, int idx, char *num) |
ch | 1418 | drivers/isdn/isdn_net.c | printk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=%d\n", di, ch, idx, |
ch | 1450 | drivers/isdn/isdn_net.c | if ((p->local.pre_channel != ch) || |
ch | 1461 | drivers/isdn/isdn_net.c | if (ch == 0) { |
ch | 1498 | drivers/isdn/isdn_net.c | ((p->local.pre_channel != ch) || |
ch | 1625 | drivers/isdn/isdn_net.c | p->local.isdn_channel = ch; |
ch | 1215 | drivers/isdn/isdn_tty.c | int isdn_tty_find_icall(int di, int ch, char *num) |
ch | 1270 | drivers/isdn/isdn_tty.c | idx = isdn_dc2minor(di, ch); |
ch | 1282 | drivers/isdn/isdn_tty.c | info->isdn_channel = ch; |
ch | 879 | drivers/isdn/teles/callc.c | sprintf(str, "%s Channel %d lc %s\n", tm, lf->ch->chan, s); |
ch | 890 | drivers/isdn/teles/callc.c | sprintf(str, "%s Channel %d dlc %s\n", tm, lf->ch->chan, s); |
ch | 897 | drivers/isdn/teles/callc.c | struct Channel *chanp = lf->ch; |
ch | 912 | drivers/isdn/teles/callc.c | struct Channel *chanp = lf->ch; |
ch | 950 | drivers/isdn/teles/callc.c | chanp->lc_d.ch = chanp; |
ch | 963 | drivers/isdn/teles/callc.c | chanp->lc_b.ch = chanp; |
ch | 526 | drivers/isdn/teles/q931.c | char *dp = dest, ch; |
ch | 542 | drivers/isdn/teles/q931.c | ch = ' '; |
ch | 544 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 5%c ", ch); |
ch | 547 | drivers/isdn/teles/q931.c | if (ch == ' ') |
ch | 548 | drivers/isdn/teles/q931.c | ch = 'a'; |
ch | 550 | drivers/isdn/teles/q931.c | ch++; |
ch | 574 | drivers/isdn/teles/q931.c | char ch = ' '; |
ch | 581 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet %d%c ", octet, ch); |
ch | 588 | drivers/isdn/teles/q931.c | ch = ' '; |
ch | 589 | drivers/isdn/teles/q931.c | } else if (ch == ' ') |
ch | 590 | drivers/isdn/teles/q931.c | ch = 'a'; |
ch | 593 | drivers/isdn/teles/q931.c | ch++; |
ch | 603 | drivers/isdn/teles/q931.c | char ch = ' '; |
ch | 616 | drivers/isdn/teles/q931.c | ch = ' '; |
ch | 617 | drivers/isdn/teles/q931.c | } else if (ch == ' ') |
ch | 618 | drivers/isdn/teles/q931.c | ch = 'a'; |
ch | 621 | drivers/isdn/teles/q931.c | ch++; |
ch | 432 | drivers/isdn/teles/teles.h | struct Channel *ch; |
ch | 535 | drivers/scsi/advansys.c | #define swapbyte( ch ) ( ( ( (ch) << 4 ) | ( (ch) >> 4 ) ) ) |
ch | 78 | drivers/scsi/aha1740.c | ch:1, /* Chaining Halted */ |
ch | 405 | fs/exec.c | int ch; |
ch | 411 | fs/exec.c | for (i=0; (ch = *(name++)) != '\0';) { |
ch | 412 | fs/exec.c | if (ch == '/') |
ch | 416 | fs/exec.c | current->comm[i++] = ch; |
ch | 245 | fs/fat/file.c | char ch = *data++; |
ch | 247 | fs/fat/file.c | if (ch == 26){ |
ch | 250 | fs/fat/file.c | }else if (ch != '\r'){ |
ch | 251 | fs/fat/file.c | put_user(ch,buf++); |
ch | 278 | fs/fat/file.c | char *to,ch; |
ch | 337 | fs/fat/file.c | if ((ch = get_user(buf++)) == '\n') { |
ch | 343 | fs/fat/file.c | *to++ = ch; |
ch | 110 | include/asm-sparc/openprom.h | void (*pv_putchar)(int ch); |
ch | 114 | include/asm-sparc/openprom.h | int (*pv_nbputchar)(int ch); |
ch | 128 | include/linux/tty_driver.h | void (*put_char)(struct tty_struct *tty, unsigned char ch); |
ch | 11 | include/linux/tty_flip.h | unsigned char ch, char flag) |
ch | 16 | include/linux/tty_flip.h | *tty->flip.char_buf_ptr++ = ch; |