/linux-master/include/linux/ |
H A D | tty_flip.h | 13 size_t __tty_insert_flip_string_flags(struct tty_port *port, const u8 *chars, 16 size_t tty_prepare_flip_string(struct tty_port *port, u8 **chars, size_t size); 22 * @chars: characters 32 const u8 *chars, u8 flag, 35 return __tty_insert_flip_string_flags(port, chars, &flag, false, size); 41 * @chars: characters 51 const u8 *chars, 54 return __tty_insert_flip_string_flags(port, chars, flags, true, size); 81 const u8 *chars, size_t size) 83 return tty_insert_flip_string_fixed_flag(port, chars, TTY_NORMA 31 tty_insert_flip_string_fixed_flag(struct tty_port *port, const u8 *chars, u8 flag, size_t size) argument 50 tty_insert_flip_string_flags(struct tty_port *port, const u8 *chars, const u8 *flags, size_t size) argument 80 tty_insert_flip_string(struct tty_port *port, const u8 *chars, size_t size) argument [all...] |
H A D | lp.h | 23 #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
|
H A D | serial_core.h | 716 * uart_xmit_advance - Advance xmit buffer and account Tx'ed chars 718 * @chars: number of characters sent 721 * @chars transmitted and handles accounting of transmitted bytes (into 724 static inline void uart_xmit_advance(struct uart_port *up, unsigned int chars) argument 728 xmit->tail = (xmit->tail + chars) & (UART_XMIT_SIZE - 1); 729 up->icount.tx += chars;
|
/linux-master/lib/ |
H A D | strscpy_kunit.c | 17 * @chars: Number of characters from the src string expected to be 26 int chars, int terminator, int pad) 60 for (i = 0; i < chars; i++) 69 index = chars + terminator + i; 74 nr_bytes_poison = sizeof(buf) - chars - terminator - pad; 95 /* tc(test, src, count, expected, chars, terminator, pad) */ 25 tc(struct kunit *test, char *src, int count, int expected, int chars, int terminator, int pad) argument
|
/linux-master/drivers/tty/ |
H A D | tty_buffer.c | 300 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...] |
H A D | tty.h | 35 * signal chars. The stable lock order is slave pty, then 123 const u8 *chars, size_t cnt);
|
H A D | mips_ejtag_fdc.c | 860 unsigned int chars; local 864 chars = dport->xmit_cnt; 867 return chars;
|
/linux-master/fs/ |
H A D | pipe.c | 307 size_t chars = buf->len; local 311 if (chars > total_len) { 317 chars = total_len; 327 written = copy_page_to_iter(buf->page, buf->offset, chars, to); 328 if (unlikely(written < chars)) { 333 ret += chars; 334 buf->offset += chars; 335 buf->len -= chars; 339 total_len = chars; 345 total_len -= chars; 435 ssize_t chars; local [all...] |
/linux-master/arch/x86/kernel/ |
H A D | head_32.S | 250 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 D | pcbios.c | 85 char chars[16]; member in union:bios32 328 sum += check->chars[i];
|
/linux-master/drivers/usb/serial/ |
H A D | generic.c | 254 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 D | sierra.c | 638 unsigned int chars; local 642 chars = portdata->outstanding_urbs * MAX_TRANSFER; 645 dev_dbg(&port->dev, "%s - %u\n", __func__, chars); 647 return chars;
|
H A D | cypress_m8.c | 964 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 D | cp210x.c | 1141 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 D | digi_acceleport.c | 1050 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 D | mos7720.c | 954 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;
|
H A D | oti6858.c | 383 unsigned int chars; local 387 chars = kfifo_len(&port->write_fifo); 390 return chars;
|
/linux-master/drivers/pnp/pnpbios/ |
H A D | pnpbios.h | 146 char chars[0x21]; /* To calculate the checksum */ member in union:pnp_bios_install_struct
|
/linux-master/drivers/usb/host/ |
H A D | xhci-dbgtty.c | 266 unsigned int chars; local 269 chars = kfifo_len(&port->write_fifo); 272 return chars;
|
/linux-master/fs/ocfs2/ |
H A D | ocfs2_fs.h | 1570 int chars; local 1578 chars = snprintf(buf, len, "%s", 1581 chars = snprintf(buf, len, 1585 return chars;
|
/linux-master/drivers/staging/greybus/ |
H A D | uart.c | 463 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/usb/gadget/function/ |
H A D | u_serial.c | 806 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/acpi/ |
H A D | osl.c | 1308 u32 chars; local 1313 chars = strlen(buffer) - 1; 1314 buffer[chars] = '\0';
|
/linux-master/scripts/ |
H A D | get_abi.pl | 285 # Convert special chars to "_" 292 my @chars = ("A".."Z", "a".."z"); 293 $label .= $chars[rand @chars]; 476 # Escape any special chars from description 491 # Escape special chars from content
|
/linux-master/fs/reiserfs/ |
H A D | inode.c | 294 int chars; local 409 chars = 414 chars = ih_item_len(ih) - path.pos_in_item; 416 memcpy(p, ih_item_body(bh, ih) + path.pos_in_item, chars); 421 p += chars; 433 set_cpu_key_k_offset(&key, cpu_key_k_offset(&key) + chars);
|