• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/s390/char/

Lines Matching refs:to

56 /* Structures and data needed to register tty driver */
62 /* Lock to protect internal data from concurrent access */
65 /* List of empty pages to be used as write request buffers */
74 /* Wait queue used to delay write requests while we've run out of buffers */
77 /* Timer used for delaying write requests to merge subsequent messages into
81 /* Pointer to current request buffer which has been partially filled but not
120 /* Put buffer back to list of empty buffers */
123 /* Move request from outqueue to empty queue */
199 * Emit vt220 request buffer to SCLP. Return zero on success, non-zero
268 * Helper function to initialize a page with the sclp request structure.
311 * Add msg to buffer associated with request. Return the number of characters
322 int to;
334 for (from=0, to=0;
335 (from < count) && (to < sclp_vt220_space_left(request));
341 if (to + 1 < sclp_vt220_space_left(request)) {
342 ((unsigned char *) buffer)[to++] = c;
343 ((unsigned char *) buffer)[to++] = 0x0d;
348 ((unsigned char *) buffer)[to++] = c;
350 sccb->header.length += to;
351 sccb->evbuf.length += to;
362 * Emit buffer after having waited long enough for more data to arrive.
375 * to the SCLP interface. In case that the data does not fit into the current
379 * otherwise the user has to explicitly call the flush function.
381 * buffer should be converted to 0x0a 0x0d. After completion, return the number
415 /* Try to write the string to the current request buffer */
422 * Not all characters could be written to the current
432 /* Setup timer to output current console buffer after some time */
445 * This routine is called by the kernel to write a series of
446 * characters to the tty device. The characters may come from
461 * Called by the SCLP to report incoming event buffers.
481 /* Send input to line discipline */
520 * This routine is called by the kernel to write a single
521 * character to the tty device. If the kernel uses this routine,
537 * series of characters to the tty device using put_char().
550 * will accept for queuing to be written. This number is subject
551 * to change as output buffers get emptied, or if the output flow
612 * Pass on all buffers to the hardware. Return only when there are no more
677 /* Note: we're not testing for CONSOLE_IS_SCLP here to preserve
737 * This routine is called from panic when the kernel is going to give up.
738 * We have to make sure that all buffers will be flushed to the SCLP.
747 /* Structure needed to register with printk */