/drivers/tty/ |
D | tty_buffer.c | 247 const unsigned char *chars, char flag, size_t size) in tty_insert_flip_string_fixed_flag() argument 257 memcpy(tb->char_buf_ptr + tb->used, chars, space); in tty_insert_flip_string_fixed_flag() 261 chars += space; in tty_insert_flip_string_fixed_flag() 284 const unsigned char *chars, const char *flags, size_t size) in tty_insert_flip_string_flags() argument 294 memcpy(tb->char_buf_ptr + tb->used, chars, space); in tty_insert_flip_string_flags() 298 chars += space; in tty_insert_flip_string_flags() 344 int tty_prepare_flip_string(struct tty_struct *tty, unsigned char **chars, in tty_prepare_flip_string() argument 350 *chars = tb->char_buf_ptr + tb->used; in tty_prepare_flip_string() 375 unsigned char **chars, char **flags, size_t size) in tty_prepare_flip_string_flags() argument 380 *chars = tb->char_buf_ptr + tb->used; in tty_prepare_flip_string_flags()
|
D | moxa.c | 1243 int chars; in moxa_chars_in_buffer() local 1245 chars = MoxaPortTxQueue(ch); in moxa_chars_in_buffer() 1246 if (chars) in moxa_chars_in_buffer() 1252 return chars; in moxa_chars_in_buffer()
|
/drivers/edac/ |
D | edac_mc.c | 756 int chars; in edac_mc_handle_ue() local 770 chars = snprintf(pos, len + 1, "%s", in edac_mc_handle_ue() 772 len -= chars; in edac_mc_handle_ue() 773 pos += chars; in edac_mc_handle_ue() 777 chars = snprintf(pos, len + 1, ":%s", in edac_mc_handle_ue() 779 len -= chars; in edac_mc_handle_ue() 780 pos += chars; in edac_mc_handle_ue() 826 int chars; in edac_mc_handle_fbd_ue() local 861 chars = snprintf(pos, len + 1, "%s", in edac_mc_handle_fbd_ue() 863 len -= chars; in edac_mc_handle_fbd_ue() [all …]
|
/drivers/usb/serial/ |
D | generic.c | 293 int chars; in usb_serial_generic_chars_in_buffer() local 301 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer() 304 dbg("%s - returns %d", __func__, chars); in usb_serial_generic_chars_in_buffer() 305 return chars; in usb_serial_generic_chars_in_buffer()
|
D | cypress_m8.c | 1112 int chars = 0; in cypress_chars_in_buffer() local 1118 chars = kfifo_len(&priv->write_fifo); in cypress_chars_in_buffer() 1121 dbg("%s - returns %d", __func__, chars); in cypress_chars_in_buffer() 1122 return chars; in cypress_chars_in_buffer()
|
D | oti6858.c | 410 int chars = 0; in oti6858_chars_in_buffer() local 416 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer() 419 return chars; in oti6858_chars_in_buffer()
|
D | whiteheat.c | 877 int chars = 0; in whiteheat_chars_in_buffer() local 885 chars += wrap->urb->transfer_buffer_length; in whiteheat_chars_in_buffer() 889 dbg("%s - returns %d", __func__, chars); in whiteheat_chars_in_buffer() 890 return chars; in whiteheat_chars_in_buffer()
|
D | ti_usb_3410_5052.c | 725 int chars = 0; in ti_chars_in_buffer() local 734 chars = kfifo_len(&tport->write_fifo); in ti_chars_in_buffer() 737 dbg("%s - returns %d", __func__, chars); in ti_chars_in_buffer() 738 return chars; in ti_chars_in_buffer()
|
D | mos7720.c | 1146 int chars = 0; in mos7720_chars_in_buffer() local 1160 chars += URB_TRANSFER_BUFFER_SIZE; in mos7720_chars_in_buffer() 1162 dbg("%s - returns %d", __func__, chars); in mos7720_chars_in_buffer() 1163 return chars; in mos7720_chars_in_buffer()
|
D | mos7840.c | 1153 int chars = 0; in mos7840_chars_in_buffer() local 1174 chars += urb->transfer_buffer_length; in mos7840_chars_in_buffer() 1178 dbg("%s - returns %d", __func__, chars); in mos7840_chars_in_buffer() 1179 return chars; in mos7840_chars_in_buffer()
|
D | io_ti.c | 2156 int chars = 0; in edge_chars_in_buffer() local 2167 chars = kfifo_len(&edge_port->write_fifo); in edge_chars_in_buffer() 2170 dbg("%s - returns %d", __func__, chars); in edge_chars_in_buffer() 2171 return chars; in edge_chars_in_buffer()
|
/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 118 int chars; in ttm_mem_zone_store() local 122 chars = sscanf(buffer, "%lu", &val); in ttm_mem_zone_store() 123 if (chars == 0) in ttm_mem_zone_store()
|
D | ttm_page_alloc.c | 158 int chars; in ttm_pool_store() local 160 chars = sscanf(buffer, "%u", &val); in ttm_pool_store() 161 if (chars == 0) in ttm_pool_store()
|
D | ttm_page_alloc_dma.c | 211 int chars; in ttm_pool_store() local 213 chars = sscanf(buffer, "%u", &val); in ttm_pool_store() 214 if (chars == 0) in ttm_pool_store()
|
/drivers/usb/gadget/ |
D | u_serial.c | 964 int chars = 0; in gs_chars_in_buffer() local 967 chars = gs_buf_data_avail(&port->port_write_buf); in gs_chars_in_buffer() 971 port->port_num, tty, chars); in gs_chars_in_buffer() 973 return chars; in gs_chars_in_buffer()
|
/drivers/pnp/pnpbios/ |
D | pnpbios.h | 159 char chars[0x21]; /* To calculate the checksum */ member
|
D | core.c | 462 sum += check->chars[i]; in pnpbios_probe_system()
|
/drivers/staging/serqt_usb2/ |
D | serqt_usb2.c | 1005 int chars = 0; in qt_chars_in_buffer() local 1013 chars = port->write_urb->transfer_buffer_length; in qt_chars_in_buffer() 1016 dbg("%s - returns %d\n", __func__, chars); in qt_chars_in_buffer() 1018 return chars; in qt_chars_in_buffer()
|
/drivers/acpi/ |
D | osl.c | 1110 u32 chars; in acpi_os_get_line() local 1115 chars = strlen(buffer) - 1; in acpi_os_get_line() 1116 buffer[chars] = '\0'; in acpi_os_get_line()
|
/drivers/s390/cio/ |
D | chsc.c | 749 struct cmg_chars *chars) in chsc_initialize_cmg_chars() argument 758 cmg_chars->values[i] = chars->values[i]; in chsc_initialize_cmg_chars()
|
/drivers/tty/serial/ |
D | ifx6x60.c | 586 unsigned char *chars, size_t size) in ifx_spi_insert_flip_string() argument 591 tty_insert_flip_string(tty, chars, size); in ifx_spi_insert_flip_string()
|
/drivers/message/i2o/ |
D | i2o_proc.c | 258 static char *chtostr(u8 * chars, int n) in chtostr() argument 262 return strncat(tmp, (char *)chars, n); in chtostr()
|
/drivers/char/ |
D | lp.c | 955 lp_table[i].chars = LP_INIT_CHAR; in lp_init()
|
/drivers/net/usb/ |
D | hso.c | 1462 int chars; in hso_serial_chars_in_buffer() local 1470 chars = serial->tx_buffer_count; in hso_serial_chars_in_buffer() 1473 return chars; in hso_serial_chars_in_buffer()
|
/drivers/staging/panel/ |
D | Kconfig | 128 some of them need to be able to address 40 chars with the lower bits, they
|