Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 25 of 26) sorted by relevance

12

/drivers/tty/
Dtty_buffer.c247 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()
Dmoxa.c1243 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/
Dedac_mc.c756 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/
Dgeneric.c293 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()
Dcypress_m8.c1112 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()
Doti6858.c410 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()
Dwhiteheat.c877 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()
Dti_usb_3410_5052.c725 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()
Dmos7720.c1146 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()
Dmos7840.c1153 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()
Dio_ti.c2156 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/
Dttm_memory.c118 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()
Dttm_page_alloc.c158 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()
Dttm_page_alloc_dma.c211 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/
Du_serial.c964 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/
Dpnpbios.h159 char chars[0x21]; /* To calculate the checksum */ member
Dcore.c462 sum += check->chars[i]; in pnpbios_probe_system()
/drivers/staging/serqt_usb2/
Dserqt_usb2.c1005 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/
Dosl.c1110 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/
Dchsc.c749 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/
Difx6x60.c586 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/
Di2o_proc.c258 static char *chtostr(u8 * chars, int n) in chtostr() argument
262 return strncat(tmp, (char *)chars, n); in chtostr()
/drivers/char/
Dlp.c955 lp_table[i].chars = LP_INIT_CHAR; in lp_init()
/drivers/net/usb/
Dhso.c1462 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/
DKconfig128 some of them need to be able to address 40 chars with the lower bits, they

12