Home
last modified time | relevance | path

Searched refs:num_chars (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/auxdisplay/
Dline-display.c35 unsigned int num_chars = linedisp->num_chars; in linedisp_scroll() local
38 for (i = 0; i < num_chars;) { in linedisp_scroll()
40 for (; i < num_chars && ch < linedisp->message_len; i++, ch++) in linedisp_scroll()
55 if (linedisp->message_len > num_chars && linedisp->scroll_rate) in linedisp_scroll()
91 memset(linedisp->buf, ' ', linedisp->num_chars); in linedisp_display()
173 if (linedisp->message && linedisp->message_len > linedisp->num_chars) { in scroll_step_ms_store()
206 unsigned int num_chars, char *buf, in linedisp_register() argument
217 linedisp->num_chars = num_chars; in linedisp_register()
Dimg-ascii-lcd.c28 unsigned int num_chars; member
77 .num_chars = 8,
92 for (i = 0; i < linedisp->num_chars; i++) { in malta_update()
104 .num_chars = 8,
177 for (i = 0; i < linedisp->num_chars; i++) { in sead3_update()
204 .num_chars = 16,
239 ctx = devm_kzalloc(dev, sizeof(*ctx) + cfg->num_chars, GFP_KERNEL); in img_ascii_lcd_probe()
256 err = linedisp_register(&ctx->linedisp, dev, cfg->num_chars, ctx->curr, in img_ascii_lcd_probe()
Dline-display.h32 unsigned int num_chars; member
39 unsigned int num_chars, char *buf,
/linux-6.1.9/drivers/firmware/google/
Dmemconsole-x86-legacy.c30 u16 num_chars; member
58 hdr->v1.end, hdr->v1.num_chars); in found_v1_header()
61 memconsole_length = hdr->v1.num_chars; in found_v1_header()
/linux-6.1.9/drivers/tty/serial/
Dmsm_serial.c844 unsigned int num_chars; in msm_handle_tx_pio() local
864 num_chars = min(tx_count - tf_pointer, in msm_handle_tx_pio()
867 num_chars = 1; in msm_handle_tx_pio()
869 for (i = 0; i < num_chars; i++) { in msm_handle_tx_pio()
875 xmit->tail = (xmit->tail + num_chars) & (UART_XMIT_SIZE - 1); in msm_handle_tx_pio()
876 tf_pointer += num_chars; in msm_handle_tx_pio()
1637 unsigned int num_chars; in __msm_console_write() local
1641 num_chars = min(count - i, (unsigned int)sizeof(buf)); in __msm_console_write()
1643 num_chars = 1; in __msm_console_write()
1645 for (j = 0; j < num_chars; j++) { in __msm_console_write()
[all …]
/linux-6.1.9/drivers/tty/
Dn_tty.c646 unsigned int num_chars, num_bs; in __process_echoes() local
650 num_chars = echo_buf(ldata, tail + 2); in __process_echoes()
662 if (!(num_chars & 0x80)) in __process_echoes()
663 num_chars += ldata->canon_column; in __process_echoes()
664 num_bs = 8 - (num_chars & 7); in __process_echoes()
873 static void echo_erase_tab(unsigned int num_chars, int after_tab, in echo_erase_tab() argument
880 num_chars &= 7; in echo_erase_tab()
884 num_chars |= 0x80; in echo_erase_tab()
886 add_echo_byte(num_chars, ldata); in echo_erase_tab()
1031 unsigned int num_chars = 0; in eraser() local
[all …]
/linux-6.1.9/drivers/usb/serial/
Dio_edgeport.c1350 unsigned int num_chars; in edge_chars_in_buffer() local
1354 num_chars = edge_port->maxTxCredits - edge_port->txCredits + in edge_chars_in_buffer()
1357 if (num_chars) { in edge_chars_in_buffer()
1358 dev_dbg(&port->dev, "%s - returns %u\n", __func__, num_chars); in edge_chars_in_buffer()
1361 return num_chars; in edge_chars_in_buffer()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dhtt.h1159 __le16 num_chars; member