Searched refs:print_buf (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/media/platform/amphion/ |
D | vpu_dbg.c | 306 struct print_buf_desc *print_buf; in vpu_dbg_fwlog() local 315 print_buf = core->log.virt; in vpu_dbg_fwlog() 316 rptr = print_buf->read; in vpu_dbg_fwlog() 317 wptr = print_buf->write; in vpu_dbg_fwlog() 324 length = print_buf->bytes + wptr - rptr; in vpu_dbg_fwlog() 331 if (rptr + length >= print_buf->bytes) { in vpu_dbg_fwlog() 332 int num = print_buf->bytes - rptr; in vpu_dbg_fwlog() 334 if (seq_write(s, print_buf->buffer + rptr, num)) in vpu_dbg_fwlog() 341 if (seq_write(s, print_buf->buffer + rptr, length)) in vpu_dbg_fwlog() 346 print_buf->read = rptr; in vpu_dbg_fwlog()
|
/linux-6.12.1/lib/ |
D | test_bitmap.c | 24 static char print_buf[PAGE_SIZE * 2] __initdata; variable 1208 n = bitmap_print_bitmask_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf() 1211 expect_eq_str(t->mask, print_buf, n); in test_bitmap_print_buf() 1213 n = bitmap_print_list_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf() 1216 expect_eq_str(t->list, print_buf, n); in test_bitmap_print_buf() 1220 n = bitmap_print_list_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf() 1223 expect_eq_str(t->list + PAGE_SIZE, print_buf, n); in test_bitmap_print_buf()
|