Searched refs:line_wrap (Results 1 – 1 of 1) sorted by relevance
| /drivers/gpu/drm/ |
| A D | drm_panic.c | 481 struct drm_panic_line line_wrap; in draw_line_with_wrap() local 484 line_wrap.len = line->len % chars_per_row; in draw_line_with_wrap() 485 line_wrap.txt = line->txt + line->len - line_wrap.len; in draw_line_with_wrap() 486 draw_txt_rectangle(sb, font, &line_wrap, 1, false, &r_txt, fg_color); in draw_line_with_wrap() 490 while (line_wrap.txt > line->txt) { in draw_line_with_wrap() 491 line_wrap.txt -= chars_per_row; in draw_line_with_wrap() 492 line_wrap.len = chars_per_row; in draw_line_with_wrap() 493 draw_txt_rectangle(sb, font, &line_wrap, 1, false, &r_txt, fg_color); in draw_line_with_wrap()
|
Completed in 6 milliseconds