Lines Matching refs:val

41 static unsigned int show_channel_command(struct output *o, u32 val)  in show_channel_command()  argument
46 switch (val >> 28) { in show_channel_command()
48 mask = val & 0x3f; in show_channel_command()
51 val >> 6 & 0x3ff, in show_channel_command()
52 val >> 16 & 0xfff, mask); in show_channel_command()
56 val >> 6 & 0x3ff); in show_channel_command()
62 val >> 16 & 0xfff); in show_channel_command()
63 return val & 0xffff; in show_channel_command()
67 val >> 16 & 0xfff); in show_channel_command()
68 return val & 0xffff; in show_channel_command()
71 mask = val & 0xffff; in show_channel_command()
73 val >> 16 & 0xfff, mask); in show_channel_command()
78 val >> 16 & 0xfff, val & 0xffff); in show_channel_command()
82 host1x_debug_output(o, "RESTART(offset=%08x)\n", val << 4); in show_channel_command()
87 val >> 16 & 0xfff, val >> 15 & 0x1, in show_channel_command()
88 val >> 14 & 0x1, val & 0x3fff); in show_channel_command()
92 subop = val >> 24 & 0xf; in show_channel_command()
95 val & 0xff); in show_channel_command()
98 val & 0xff); in show_channel_command()
100 host1x_debug_output(o, "EXTEND_UNKNOWN(%08x)\n", val); in show_channel_command()
128 u32 val = *(map_addr + offset / 4 + i); in show_gather() local
131 host1x_debug_output(o, "%08x: %08x:", addr, val); in show_gather()
132 data_count = show_channel_command(o, val); in show_gather()
134 host1x_debug_output(o, "%08x%s", val, in show_gather()
185 u32 val, base, baseval; in host1x_debug_show_channel_cdma() local
214 val = cbread & 0xffff; in host1x_debug_show_channel_cdma()
216 cbread >> 24, baseval + val, base, in host1x_debug_show_channel_cdma()
217 baseval, val); in host1x_debug_show_channel_cdma()
236 u32 val, rd_ptr, wr_ptr, start, end; in host1x_debug_show_channel_fifo() local
241 val = host1x_ch_readl(ch, HOST1X_CHANNEL_FIFOSTAT); in host1x_debug_show_channel_fifo()
242 host1x_debug_output(o, "FIFOSTAT %08x\n", val); in host1x_debug_show_channel_fifo()
243 if (HOST1X_CHANNEL_FIFOSTAT_CFEMPTY_V(val)) { in host1x_debug_show_channel_fifo()
253 val = host1x_sync_readl(host, HOST1X_SYNC_CFPEEK_PTRS); in host1x_debug_show_channel_fifo()
254 rd_ptr = HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(val); in host1x_debug_show_channel_fifo()
255 wr_ptr = HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(val); in host1x_debug_show_channel_fifo()
257 val = host1x_sync_readl(host, HOST1X_SYNC_CF_SETUP(ch->id)); in host1x_debug_show_channel_fifo()
258 start = HOST1X_SYNC_CF_SETUP_BASE_V(val); in host1x_debug_show_channel_fifo()
259 end = HOST1X_SYNC_CF_SETUP_LIMIT_V(val); in host1x_debug_show_channel_fifo()
267 val = host1x_sync_readl(host, HOST1X_SYNC_CFPEEK_READ); in host1x_debug_show_channel_fifo()
270 host1x_debug_output(o, "%08x:", val); in host1x_debug_show_channel_fifo()
271 data_count = show_channel_command(o, val); in host1x_debug_show_channel_fifo()
273 host1x_debug_output(o, "%08x%s", val, in host1x_debug_show_channel_fifo()