Searched refs:print_buf (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/media/platform/amphion/ |
D | vpu_dbg.c | 292 struct print_buf_desc *print_buf; in vpu_dbg_fwlog() local 301 print_buf = core->log.virt; in vpu_dbg_fwlog() 302 rptr = print_buf->read; in vpu_dbg_fwlog() 303 wptr = print_buf->write; in vpu_dbg_fwlog() 310 length = print_buf->bytes + wptr - rptr; in vpu_dbg_fwlog() 317 if (rptr + length >= print_buf->bytes) { in vpu_dbg_fwlog() 318 int num = print_buf->bytes - rptr; in vpu_dbg_fwlog() 320 if (seq_write(s, print_buf->buffer + rptr, num)) in vpu_dbg_fwlog() 327 if (seq_write(s, print_buf->buffer + rptr, length)) in vpu_dbg_fwlog() 332 print_buf->read = rptr; in vpu_dbg_fwlog()
|
/Linux-v6.6/lib/ |
D | test_bitmap.c | 24 static char print_buf[PAGE_SIZE * 2] __initdata; variable 1144 n = bitmap_print_bitmask_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf() 1147 expect_eq_str(t->mask, print_buf, n); in test_bitmap_print_buf() 1149 n = bitmap_print_list_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf() 1152 expect_eq_str(t->list, print_buf, n); in test_bitmap_print_buf() 1156 n = bitmap_print_list_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf() 1159 expect_eq_str(t->list + PAGE_SIZE, print_buf, n); in test_bitmap_print_buf()
|