Searched refs:chars (Results 1 - 25 of 38) sorted by path

12

/linux-master/arch/sparc/lib/
H A DM7memset.S12 * Set an array of n chars starting at sp to the character c.
315 .wrchars: ! check for extra chars
/linux-master/include/linux/
H A Dlp.h23 #define LP_CHAR(minor) lp_table[(minor)].chars /* busy timeout */
37 unsigned long chars; member in struct:lp_stats
49 unsigned int chars; member in struct:lp_struct
/linux-master/arch/x86/kernel/
H A Dhead_32.S250 movl %ebx,X86_VENDOR_ID # lo 4 chars
251 movl %edx,X86_VENDOR_ID+4 # next 4 chars
252 movl %ecx,X86_VENDOR_ID+8 # last 4 chars
/linux-master/arch/x86/pci/
H A Dpcbios.c85 char chars[16]; member in union:bios32
328 sum += check->chars[i];
/linux-master/drivers/acpi/
H A Dosl.c1308 u32 chars; local
1313 chars = strlen(buffer) - 1;
1314 buffer[chars] = '\0';
/linux-master/drivers/char/
H A Dlp.c1032 lp_table[i].chars = LP_INIT_CHAR;
/linux-master/drivers/net/usb/
H A Dhso.c1403 unsigned int chars; local
1410 chars = serial->tx_buffer_count;
1413 return chars;
/linux-master/drivers/pnp/pnpbios/
H A Dcore.c451 sum += check->chars[i];
H A Dpnpbios.h146 char chars[0x21]; /* To calculate the checksum */ member in union:pnp_bios_install_struct
/linux-master/drivers/s390/cio/
H A Dchsc.c1009 struct cmg_chars *chars)
1016 chp->cmg_chars.values[i] = chars->values[i];
1008 chsc_initialize_cmg_chars(struct channel_path *chp, u8 cmcv, struct cmg_chars *chars) argument
/linux-master/drivers/staging/greybus/
H A Duart.c463 unsigned int chars; local
466 chars = kfifo_len(&gb_tty->write_fifo);
468 chars += GB_UART_FIRMWARE_CREDITS - gb_tty->credits;
471 return chars;
/linux-master/drivers/tty/
H A Dmips_ejtag_fdc.c860 unsigned int chars; local
864 chars = dport->xmit_cnt;
867 return chars;
H A Dmoxa.c1544 unsigned int chars; local
1546 chars = MoxaPortTxQueue(ch);
1547 if (chars)
1553 return chars;
H A Dsynclink_gt.c1762 int chars = 0; local
1796 chars++;
1817 if (chars)
H A Dtty.h35 * signal chars. The stable lock order is slave pty, then
123 const u8 *chars, size_t cnt);
H A Dtty_buffer.c300 size_t __tty_insert_flip_string_flags(struct tty_port *port, const u8 *chars, argument
315 memcpy(char_buf_ptr(tb, tb->used), chars, space);
329 chars += space;
343 * @chars: return pointer for character write area
351 * Returns: the length available and buffer pointer (@chars) to the space which
354 size_t tty_prepare_flip_string(struct tty_port *port, u8 **chars, size_t size) argument
361 *chars = char_buf_ptr(tb, tb->used);
542 * @chars: characters
553 const u8 *chars, size_t size)
559 size = tty_insert_flip_string(port, chars, siz
552 tty_insert_flip_string_and_push_buffer(struct tty_port *port, const u8 *chars, size_t size) argument
[all...]
/linux-master/drivers/tty/serial/
H A Dfsl_lpuart.c1099 unsigned char *chars, size_t size, bool is_cs7)
1105 chars[i] &= 0x7F;
1106 return tty_insert_flip_string(port, chars, size);
1098 lpuart_tty_insert_flip_string(struct tty_port *port, unsigned char *chars, size_t size, bool is_cs7) argument
/linux-master/drivers/usb/gadget/function/
H A Du_serial.c806 unsigned int chars; local
809 chars = kfifo_len(&port->port_write_buf);
812 pr_vdebug("gs_chars_in_buffer: (%d,%p) chars=%u\n",
813 port->port_num, tty, chars);
815 return chars;
/linux-master/drivers/usb/host/
H A Dxhci-dbgtty.c266 unsigned int chars; local
269 chars = kfifo_len(&port->write_fifo);
272 return chars;
/linux-master/drivers/usb/serial/
H A Dcp210x.c1141 struct cp210x_special_chars chars; local
1168 memset(&chars, 0, sizeof(chars));
1170 chars.bXonChar = START_CHAR(tty);
1171 chars.bXoffChar = STOP_CHAR(tty);
1173 ret = cp210x_write_reg_block(port, CP210X_SET_CHARS, &chars,
1174 sizeof(chars));
1176 dev_err(&port->dev, "failed to set special chars: %d\n",
H A Dcypress_m8.c964 unsigned int chars; local
968 chars = kfifo_len(&priv->write_fifo);
971 dev_dbg(&port->dev, "%s - returns %u\n", __func__, chars);
972 return chars;
H A Ddigi_acceleport.c1050 unsigned int chars; local
1054 chars = port->bulk_out_size - 2;
1056 chars = priv->dp_out_buf_len;
1059 dev_dbg(&port->dev, "%s: port=%d, chars=%d\n", __func__,
1060 priv->dp_port_num, chars);
1061 return chars;
H A Dgeneric.c254 unsigned int chars; local
260 chars = kfifo_len(&port->write_fifo) + port->tx_bytes;
263 dev_dbg(&port->dev, "%s - returns %u\n", __func__, chars);
264 return chars;
H A Dio_ti.c2097 unsigned int chars; local
2103 chars = kfifo_len(&port->write_fifo);
2106 dev_dbg(&port->dev, "%s - returns %u\n", __func__, chars);
2107 return chars;
H A Dmos7720.c954 unsigned int chars = 0; local
959 chars += URB_TRANSFER_BUFFER_SIZE;
961 dev_dbg(&port->dev, "%s - returns %u\n", __func__, chars);
962 return chars;

Completed in 680 milliseconds

12