Lines Matching refs:PRINTF

70 PRINTF(  in PRINTF()  function
89 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug()
95 PRINTF(stream, "%08x: ", stream->offset); in debug()
98 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug()
100 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug()
101 PRINTF(stream, "\n"); in debug()
138 PRINTF(stream, "%s %s (%d dwords):\n", name, prim, len); in debug_prim()
139 PRINTF(stream, "\t0x%08x\n", ptr[0]); in debug_prim()
142 PRINTF(stream, "\t0x%08x // %f\n", ptr[i], *(float *)&ptr[i]); in debug_prim()
144 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug_prim()
148 PRINTF(stream, "\n"); in debug_prim()
163 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug_program()
169 PRINTF(stream, "%08x: ", stream->offset); in debug_program()
171 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_program()
185 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_chain()
187 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug_chain()
192 PRINTF(stream, "\n... skipping backwards from 0x%x --> 0x%x ...\n\n", in debug_chain()
195 PRINTF(stream, "\n... skipping from 0x%x --> 0x%x ...\n\n", in debug_chain()
215 PRINTF(stream, "3DPRIM, %s variable length %d indicies (%d dwords):\n", prim, i, len); in debug_variable_length_prim()
217 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug_variable_length_prim()
218 PRINTF(stream, "\n"); in debug_variable_length_prim()
237 PRINTF(stream, "\t\t "); in BITS()
243 PRINTF(stream, ": 0x%x\n", ((dw) & himask) >> (lo)); in BITS()
270 PRINTF(stream, "\t\t "); in FLAG()
276 PRINTF(stream, "\n"); in FLAG()
288 PRINTF(stream, "%s (%d dwords, flags: %x):\n", name, len, bits); in debug_load_immediate()
289 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_load_immediate()
292 PRINTF(stream, "\t LIS0: 0x%08x\n", ptr[j]); in debug_load_immediate()
293 PRINTF(stream, "\t vb address: 0x%08x\n", (ptr[j] & ~0x3)); in debug_load_immediate()
298 PRINTF(stream, "\t LIS1: 0x%08x\n", ptr[j]); in debug_load_immediate()
306 PRINTF(stream, "\t LIS2: 0x%08x\n", ptr[j]); in debug_load_immediate()
315 PRINTF(stream, "\t LIS3: 0x%08x\n", ptr[j]); in debug_load_immediate()
319 PRINTF(stream, "\t LIS4: 0x%08x\n", ptr[j]); in debug_load_immediate()
341 PRINTF(stream, "\t LIS5: 0x%08x\n", ptr[j]); in debug_load_immediate()
359 PRINTF(stream, "\t LIS6: 0x%08x\n", ptr[j]); in debug_load_immediate()
376 PRINTF(stream, "\n"); in debug_load_immediate()
395 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_load_indirect()
396 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_load_indirect()
402 PRINTF(stream, " STATIC: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
403 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
406 PRINTF(stream, " DYNAMIC: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
409 PRINTF(stream, " SAMPLER: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
410 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
413 PRINTF(stream, " MAP: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
414 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
417 PRINTF(stream, " PROGRAM: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
418 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
421 PRINTF(stream, " CONSTANTS: 0x%08x | %x\n", ptr[j]&~3, ptr[j]&3); j++; in debug_load_indirect()
422 PRINTF(stream, " 0x%08x\n", ptr[j++]); in debug_load_indirect()
432 PRINTF(stream, "\t DUMMY: 0x%08x\n", ptr[j++]); in debug_load_indirect()
435 PRINTF(stream, "\n"); in debug_load_indirect()
448 PRINTF(stream, "\t0x%08x\n", val); in BR13()
459 PRINTF(stream, "\t0x%08x\n", val); in BR22()
467 PRINTF(stream, "\t0x%08x\n", val); in BR23()
475 PRINTF(stream, "\t0x%08x -- dest address\n", val); in BR09()
481 PRINTF(stream, "\t0x%08x\n", val); in BR26()
489 PRINTF(stream, "\t0x%08x\n", val); in BR11()
496 PRINTF(stream, "\t0x%08x -- src address\n", val); in BR12()
502 PRINTF(stream, "\t0x%08x -- color\n", val); in BR16()
512 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_copy_blit()
513 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_copy_blit()
535 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_color_blit()
536 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_color_blit()
556 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_modes4()
557 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_modes4()
577 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_map_state()
578 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_map_state()
581 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_map_state()
588 PRINTF(stream, "\t TMn.0: 0x%08x\n", ptr[j]); in debug_map_state()
589 PRINTF(stream, "\t map address: 0x%08x\n", (ptr[j] & ~0x3)); in debug_map_state()
596 PRINTF(stream, "\t TMn.1: 0x%08x\n", ptr[j]); in debug_map_state()
607 PRINTF(stream, "\t TMn.2: 0x%08x\n", ptr[j]); in debug_map_state()
629 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_sampler_state()
630 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_sampler_state()
633 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_sampler_state()
640 PRINTF(stream, "\t TSn.0: 0x%08x\n", ptr[j]); in debug_sampler_state()
657 PRINTF(stream, "\t TSn.1: 0x%08x\n", ptr[j]); in debug_sampler_state()
672 PRINTF(stream, "\t TSn.2: 0x%08x (default color)\n", ptr[j]); in debug_sampler_state()
689 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_dest_vars()
690 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_dest_vars()
693 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_dest_vars()
724 PRINTF(stream, "%s (%d dwords):\n", name, len); in debug_buf_info()
725 PRINTF(stream, "\t0x%08x\n", ptr[j++]); in debug_buf_info()
728 PRINTF(stream, "\t0x%08x\n", ptr[j]); in debug_buf_info()
740 PRINTF(stream, "\t0x%08x -- buffer base address\n", ptr[j++]); in debug_buf_info()