/linux-2.4.37.9/include/linux/ |
D | tty_flip.h | 13 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in tty_insert_flip_char() 14 tty->flip.count++; in tty_insert_flip_char() 15 *tty->flip.flag_buf_ptr++ = flag; in tty_insert_flip_char() 16 *tty->flip.char_buf_ptr++ = ch; in tty_insert_flip_char() 22 queue_task(&tty->flip.tqueue, &tq_timer); in tty_schedule_flip()
|
/linux-2.4.37.9/drivers/s390/char/ |
D | hwc_tty.c | 195 tty->flip.count++; in hwc_tty_input() 196 *tty->flip.flag_buf_ptr++ = TTY_NORMAL; in hwc_tty_input() 197 *tty->flip.char_buf_ptr++ = *cchar; in hwc_tty_input() 200 memcpy (tty->flip.char_buf_ptr, buf, count); in hwc_tty_input() 204 tty->flip.char_buf_ptr[count] = '\n'; in hwc_tty_input() 208 memset (tty->flip.flag_buf_ptr, TTY_NORMAL, count); in hwc_tty_input() 209 tty->flip.char_buf_ptr += count; in hwc_tty_input() 210 tty->flip.flag_buf_ptr += count; in hwc_tty_input() 211 tty->flip.count += count; in hwc_tty_input()
|
D | con3215.c | 471 if (count >= TTY_FLIPBUF_SIZE - tty->flip.count) in raw3215_irq() 472 count = TTY_FLIPBUF_SIZE - tty->flip.count - 1; in raw3215_irq() 480 tty->flip.count++; in raw3215_irq() 481 *tty->flip.flag_buf_ptr++ = TTY_NORMAL; in raw3215_irq() 482 *tty->flip.char_buf_ptr++ = cchar; in raw3215_irq() 487 memcpy(tty->flip.char_buf_ptr, in raw3215_irq() 493 tty->flip.char_buf_ptr[count] = '\n'; in raw3215_irq() 494 memset(tty->flip.flag_buf_ptr, in raw3215_irq() 499 tty->flip.char_buf_ptr += count; in raw3215_irq() 500 tty->flip.flag_buf_ptr += count; in raw3215_irq() [all …]
|
D | tubtty.c | 915 *tty->flip.flag_buf_ptr++ = TTY_NORMAL; in tty3270_do_enter() 916 *tty->flip.char_buf_ptr++ = func; in tty3270_do_enter() 917 tty->flip.count++; in tty3270_do_enter() 920 memcpy(tty->flip.char_buf_ptr, cp, count); in tty3270_do_enter() 924 tty->flip.char_buf_ptr[count] = '\n'; in tty3270_do_enter() 929 memset(tty->flip.flag_buf_ptr, TTY_NORMAL, count); in tty3270_do_enter() 930 tty->flip.char_buf_ptr += count; in tty3270_do_enter() 931 tty->flip.flag_buf_ptr += count; in tty3270_do_enter() 932 tty->flip.count += count; in tty3270_do_enter()
|
/linux-2.4.37.9/drivers/char/ |
D | sh-sci.c | 760 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in sci_receive_chars() 761 *tty->flip.char_buf_ptr++ = sci_in(port, SCxRDR); in sci_receive_chars() 762 *tty->flip.flag_buf_ptr++ = TTY_NORMAL; in sci_receive_chars() 763 tty->flip.count++; in sci_receive_chars() 769 while (count > 0 && tty->flip.count < TTY_FLIPBUF_SIZE){ in sci_receive_chars() 807 *tty->flip.char_buf_ptr++ = c; in sci_receive_chars() 810 *tty->flip.flag_buf_ptr++ = TTY_FRAME; in sci_receive_chars() 813 *tty->flip.flag_buf_ptr++ = TTY_PARITY; in sci_receive_chars() 816 *tty->flip.flag_buf_ptr++ = TTY_NORMAL; in sci_receive_chars() 818 tty->flip.count++; in sci_receive_chars() [all …]
|
D | mux.c | 105 if (tty->flip.count >= TTY_FLIPBUF_SIZE) in mux_read_fifo() 108 *tty->flip.char_buf_ptr = data & 0xffu; in mux_read_fifo() 109 *tty->flip.flag_buf_ptr = 0; in mux_read_fifo() 118 *tty->flip.flag_buf_ptr = TTY_BREAK; in mux_read_fifo() 131 tty->flip.flag_buf_ptr++; in mux_read_fifo() 132 tty->flip.char_buf_ptr++; in mux_read_fifo() 133 tty->flip.count++; in mux_read_fifo()
|
D | vme_scc.c | 464 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in scc_rx_int() 465 *tty->flip.char_buf_ptr = ch; in scc_rx_int() 466 *tty->flip.flag_buf_ptr = 0; in scc_rx_int() 467 tty->flip.flag_buf_ptr++; in scc_rx_int() 468 tty->flip.char_buf_ptr++; in scc_rx_int() 469 tty->flip.count++; in scc_rx_int() 516 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in scc_spcond_int() 517 *tty->flip.char_buf_ptr = ch; in scc_spcond_int() 518 *tty->flip.flag_buf_ptr = err; in scc_spcond_int() 519 tty->flip.flag_buf_ptr++; in scc_spcond_int() [all …]
|
D | dz.c | 227 if (tty->flip.count >= TTY_FLIPBUF_SIZE) in receive_chars() 230 *tty->flip.char_buf_ptr = ch; in receive_chars() 231 *tty->flip.flag_buf_ptr = 0; in receive_chars() 256 *tty->flip.flag_buf_ptr = TTY_PARITY; in receive_chars() 261 *tty->flip.flag_buf_ptr = TTY_FRAME; in receive_chars() 270 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in receive_chars() 271 tty->flip.count++; in receive_chars() 272 tty->flip.flag_buf_ptr++; in receive_chars() 273 tty->flip.char_buf_ptr++; in receive_chars() 274 *tty->flip.flag_buf_ptr = TTY_OVERRUN; in receive_chars() [all …]
|
D | tty_io.c | 2342 queue_task(&tty->flip.tqueue, &tq_timer); in flush_to_ldisc() 2345 if (tty->flip.buf_num) { in flush_to_ldisc() 2346 cp = tty->flip.char_buf + TTY_FLIPBUF_SIZE; in flush_to_ldisc() 2347 fp = tty->flip.flag_buf + TTY_FLIPBUF_SIZE; in flush_to_ldisc() 2348 tty->flip.buf_num = 0; in flush_to_ldisc() 2351 tty->flip.char_buf_ptr = tty->flip.char_buf; in flush_to_ldisc() 2352 tty->flip.flag_buf_ptr = tty->flip.flag_buf; in flush_to_ldisc() 2354 cp = tty->flip.char_buf; in flush_to_ldisc() 2355 fp = tty->flip.flag_buf; in flush_to_ldisc() 2356 tty->flip.buf_num = 1; in flush_to_ldisc() [all …]
|
D | pdc_console.c | 158 if (tty->flip.count >= TTY_FLIPBUF_SIZE) in receive_chars() 161 *tty->flip.char_buf_ptr = ch; in receive_chars() 162 *tty->flip.flag_buf_ptr = 0; in receive_chars() 164 tty->flip.flag_buf_ptr++; in receive_chars() 165 tty->flip.char_buf_ptr++; in receive_chars() 166 tty->flip.count++; in receive_chars()
|
D | serial_txx9.c | 332 if (tty->flip.count >= TTY_FLIPBUF_SIZE) { in receive_chars() 333 tty->flip.tqueue.routine((void *) tty); in receive_chars() 334 if (tty->flip.count >= TTY_FLIPBUF_SIZE) in receive_chars() 338 *tty->flip.char_buf_ptr = ch; in receive_chars() 341 *tty->flip.flag_buf_ptr = 0; in receive_chars() 383 *tty->flip.flag_buf_ptr = TTY_BREAK; in receive_chars() 385 *tty->flip.flag_buf_ptr = TTY_PARITY; in receive_chars() 387 *tty->flip.flag_buf_ptr = TTY_FRAME; in receive_chars() 401 tty->flip.flag_buf_ptr++; in receive_chars() 402 tty->flip.char_buf_ptr++; in receive_chars() [all …]
|
D | serial167.c | 444 if (tty->flip.count < TTY_FLIPBUF_SIZE){ in cd2401_rxerr_interrupt() 445 tty->flip.count++; in cd2401_rxerr_interrupt() 448 *tty->flip.flag_buf_ptr++ = TTY_BREAK; in cd2401_rxerr_interrupt() 449 *tty->flip.char_buf_ptr++ = data; in cd2401_rxerr_interrupt() 454 *tty->flip.flag_buf_ptr++ = TTY_FRAME; in cd2401_rxerr_interrupt() 455 *tty->flip.char_buf_ptr++ = data; in cd2401_rxerr_interrupt() 457 *tty->flip.flag_buf_ptr++ = TTY_PARITY; in cd2401_rxerr_interrupt() 458 *tty->flip.char_buf_ptr++ = data; in cd2401_rxerr_interrupt() 460 *tty->flip.flag_buf_ptr++ = TTY_OVERRUN; in cd2401_rxerr_interrupt() 461 *tty->flip.char_buf_ptr++ = 0; in cd2401_rxerr_interrupt() [all …]
|
D | esp.c | 359 *(tty->flip.char_buf_ptr++) = pio_buf->data[i]; in receive_chars_pio() 362 *(tty->flip.flag_buf_ptr++) = TTY_BREAK; in receive_chars_pio() 368 *(tty->flip.flag_buf_ptr++) = TTY_FRAME; in receive_chars_pio() 370 *(tty->flip.flag_buf_ptr++) = TTY_PARITY; in receive_chars_pio() 372 *(tty->flip.flag_buf_ptr++) = 0; in receive_chars_pio() 374 tty->flip.count++; in receive_chars_pio() 378 queue_task(&tty->flip.tqueue, &tq_timer); in receive_chars_pio() 422 memcpy(tty->flip.char_buf_ptr, dma_buffer, num_bytes); in receive_chars_dma_done() 423 tty->flip.char_buf_ptr += num_bytes; in receive_chars_dma_done() 424 tty->flip.count += num_bytes; in receive_chars_dma_done() [all …]
|
D | cyclades.c | 1197 if (tty->flip.count < TTY_FLIPBUF_SIZE){ in cyy_interrupt() 1198 tty->flip.count++; in cyy_interrupt() 1201 *tty->flip.flag_buf_ptr++ = in cyy_interrupt() 1203 *tty->flip.char_buf_ptr++ = in cyy_interrupt() 1210 *tty->flip.flag_buf_ptr++ = in cyy_interrupt() 1212 *tty->flip.char_buf_ptr++ = in cyy_interrupt() 1217 *tty->flip.flag_buf_ptr++ = in cyy_interrupt() 1219 *tty->flip.char_buf_ptr++ = in cyy_interrupt() 1224 *tty->flip.flag_buf_ptr++ = in cyy_interrupt() 1226 *tty->flip.char_buf_ptr++ = 0; in cyy_interrupt() [all …]
|
D | serial_txx927.c | 337 if (tty->flip.count >= TTY_FLIPBUF_SIZE) in receive_chars() 339 *tty->flip.char_buf_ptr = ch; in receive_chars() 345 *tty->flip.flag_buf_ptr = 0; in receive_chars() 377 *tty->flip.flag_buf_ptr = TTY_BREAK; in receive_chars() 381 *tty->flip.flag_buf_ptr = TTY_PARITY; in receive_chars() 383 *tty->flip.flag_buf_ptr = TTY_FRAME; in receive_chars() 390 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in receive_chars() 391 tty->flip.count++; in receive_chars() 392 tty->flip.flag_buf_ptr++; in receive_chars() 393 tty->flip.char_buf_ptr++; in receive_chars() [all …]
|
D | riscom8.c | 384 if (tty->flip.count >= TTY_FLIPBUF_SIZE) { in rc_receive_exc() 417 *tty->flip.flag_buf_ptr++ = TTY_BREAK; in rc_receive_exc() 422 *tty->flip.flag_buf_ptr++ = TTY_PARITY; in rc_receive_exc() 425 *tty->flip.flag_buf_ptr++ = TTY_FRAME; in rc_receive_exc() 428 *tty->flip.flag_buf_ptr++ = TTY_OVERRUN; in rc_receive_exc() 431 *tty->flip.flag_buf_ptr++ = 0; in rc_receive_exc() 433 *tty->flip.char_buf_ptr++ = ch; in rc_receive_exc() 434 tty->flip.count++; in rc_receive_exc() 435 queue_task(&tty->flip.tqueue, &tq_timer); in rc_receive_exc() 456 if (tty->flip.count >= TTY_FLIPBUF_SIZE) { in rc_receive() [all …]
|
D | isicom.c | 651 if (tty->flip.count >= TTY_FLIPBUF_SIZE) in isicom_interrupt() 653 *tty->flip.flag_buf_ptr++ = TTY_BREAK; in isicom_interrupt() 655 *tty->flip.char_buf_ptr++ = 0; in isicom_interrupt() 656 tty->flip.count++; in isicom_interrupt() 659 queue_task(&tty->flip.tqueue, &tq_timer); in isicom_interrupt() 672 count = MIN(byte_count, (TTY_FLIPBUF_SIZE - tty->flip.count)); in isicom_interrupt() 678 insw(base, tty->flip.char_buf_ptr, word_count); in isicom_interrupt() 679 tty->flip.char_buf_ptr += (word_count << 1); in isicom_interrupt() 682 *tty->flip.char_buf_ptr++ = (char)(inw(base) & 0xff); in isicom_interrupt() 685 memset(tty->flip.flag_buf_ptr, 0, count); in isicom_interrupt() [all …]
|
D | amiserial.c | 305 if (tty->flip.count >= TTY_FLIPBUF_SIZE) in receive_chars() 307 *tty->flip.char_buf_ptr = ch; in receive_chars() 313 *tty->flip.flag_buf_ptr = 0; in receive_chars() 350 *tty->flip.flag_buf_ptr = TTY_BREAK; in receive_chars() 354 *tty->flip.flag_buf_ptr = TTY_PARITY; in receive_chars() 356 *tty->flip.flag_buf_ptr = TTY_FRAME; in receive_chars() 363 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in receive_chars() 364 tty->flip.count++; in receive_chars() 365 tty->flip.flag_buf_ptr++; in receive_chars() 366 tty->flip.char_buf_ptr++; in receive_chars() [all …]
|
D | specialix.c | 649 if (tty->flip.count >= TTY_FLIPBUF_SIZE) { in sx_receive_exc() 682 *tty->flip.flag_buf_ptr++ = TTY_BREAK; in sx_receive_exc() 687 *tty->flip.flag_buf_ptr++ = TTY_PARITY; in sx_receive_exc() 690 *tty->flip.flag_buf_ptr++ = TTY_FRAME; in sx_receive_exc() 693 *tty->flip.flag_buf_ptr++ = TTY_OVERRUN; in sx_receive_exc() 696 *tty->flip.flag_buf_ptr++ = 0; in sx_receive_exc() 698 *tty->flip.char_buf_ptr++ = ch; in sx_receive_exc() 699 tty->flip.count++; in sx_receive_exc() 700 queue_task(&tty->flip.tqueue, &tq_timer); in sx_receive_exc() 722 if (tty->flip.count >= TTY_FLIPBUF_SIZE) { in sx_receive() [all …]
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | serial.c | 2231 *tty->flip.char_buf_ptr = data; in add_char_and_flag() 2232 *tty->flip.flag_buf_ptr = flag; in add_char_and_flag() 2233 tty->flip.flag_buf_ptr++; in add_char_and_flag() 2234 tty->flip.char_buf_ptr++; in add_char_and_flag() 2235 tty->flip.count++; in add_char_and_flag() 2422 info->tty->flip.count = 0; in start_receive() 2604 length = tty->flip.count; in flush_to_flip_buffer() 2646 memcpy(tty->flip.char_buf_ptr + length, buffer->buffer, count); in flush_to_flip_buffer() 2647 memset(tty->flip.flag_buf_ptr + length, TTY_NORMAL, count); in flush_to_flip_buffer() 2648 tty->flip.flag_buf_ptr[length] = buffer->error; in flush_to_flip_buffer() [all …]
|
/linux-2.4.37.9/drivers/s390/net/ |
D | ctctty.c | 143 c = TTY_FLIPBUF_SIZE - tty->flip.count; in ctc_tty_try_read() 146 memcpy(tty->flip.char_buf_ptr, skb->data, len); in ctc_tty_try_read() 147 memset(tty->flip.flag_buf_ptr, 0, len); in ctc_tty_try_read() 148 tty->flip.count += len; in ctc_tty_try_read() 149 tty->flip.char_buf_ptr += len; in ctc_tty_try_read() 150 tty->flip.flag_buf_ptr += len; in ctc_tty_try_read() 178 c = TTY_FLIPBUF_SIZE - tty->flip.count; in ctc_tty_readmodem() 189 memcpy(tty->flip.char_buf_ptr, skb->data, len); in ctc_tty_readmodem() 191 memset(tty->flip.flag_buf_ptr, 0, len); in ctc_tty_readmodem() 192 tty->flip.count += len; in ctc_tty_readmodem() [all …]
|
/linux-2.4.37.9/arch/ppc/8xx_io/ |
D | uart.c | 444 if ((tty->flip.count + i) >= TTY_FLIPBUF_SIZE) in receive_chars() 449 *tty->flip.char_buf_ptr = ch; in receive_chars() 455 *tty->flip.flag_buf_ptr = 0; in receive_chars() 486 *tty->flip.flag_buf_ptr = TTY_BREAK; in receive_chars() 490 *tty->flip.flag_buf_ptr = TTY_PARITY; in receive_chars() 492 *tty->flip.flag_buf_ptr = TTY_FRAME; in receive_chars() 499 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in receive_chars() 500 tty->flip.count++; in receive_chars() 501 tty->flip.flag_buf_ptr++; in receive_chars() 502 tty->flip.char_buf_ptr++; in receive_chars() [all …]
|
/linux-2.4.37.9/arch/ppc/cpm2_io/ |
D | uart.c | 422 if ((tty->flip.count + i) >= TTY_FLIPBUF_SIZE) in receive_chars() 427 *tty->flip.char_buf_ptr = ch; in receive_chars() 433 *tty->flip.flag_buf_ptr = 0; in receive_chars() 464 *tty->flip.flag_buf_ptr = TTY_BREAK; in receive_chars() 468 *tty->flip.flag_buf_ptr = TTY_PARITY; in receive_chars() 470 *tty->flip.flag_buf_ptr = TTY_FRAME; in receive_chars() 477 if (tty->flip.count < TTY_FLIPBUF_SIZE) { in receive_chars() 478 tty->flip.count++; in receive_chars() 479 tty->flip.flag_buf_ptr++; in receive_chars() 480 tty->flip.char_buf_ptr++; in receive_chars() [all …]
|
/linux-2.4.37.9/drivers/usb/serial/ |
D | digi_acceleport.c | 942 len = min(priv->dp_in_buf_len, TTY_FLIPBUF_SIZE - tty->flip.count ); in digi_rx_unthrottle() 944 memcpy( tty->flip.char_buf_ptr, priv->dp_in_buf, len ); in digi_rx_unthrottle() 945 memcpy( tty->flip.flag_buf_ptr, priv->dp_in_flag_buf, len ); in digi_rx_unthrottle() 946 tty->flip.char_buf_ptr += len; in digi_rx_unthrottle() 947 tty->flip.flag_buf_ptr += len; in digi_rx_unthrottle() 948 tty->flip.count += len; in digi_rx_unthrottle() 1889 len = min( len, TTY_FLIPBUF_SIZE - tty->flip.count ); in digi_read_inb_callback() 1892 memcpy( tty->flip.char_buf_ptr, data, len ); in digi_read_inb_callback() 1893 memset( tty->flip.flag_buf_ptr, flag, len ); in digi_read_inb_callback() 1894 tty->flip.char_buf_ptr += len; in digi_read_inb_callback() [all …]
|
/linux-2.4.37.9/drivers/char/rio/ |
D | riointr.c | 820 TTY_FLIPBUF_SIZE - TtyP->flip.count); 840 rio_memcpy_fromio (TtyP->flip.char_buf_ptr, ptr, transCount); 841 memset(TtyP->flip.flag_buf_ptr, TTY_NORMAL, transCount); 852 TtyP->flip.count += transCount; 853 TtyP->flip.char_buf_ptr += transCount; 854 TtyP->flip.flag_buf_ptr += transCount;
|