Lines Matching refs:ch
179 struct host1x_channel *ch, in host1x_debug_show_channel_cdma() argument
182 struct host1x_cdma *cdma = &ch->cdma; in host1x_debug_show_channel_cdma()
187 dmaput = host1x_ch_readl(ch, HOST1X_CHANNEL_DMAPUT); in host1x_debug_show_channel_cdma()
188 dmaget = host1x_ch_readl(ch, HOST1X_CHANNEL_DMAGET); in host1x_debug_show_channel_cdma()
189 dmactrl = host1x_ch_readl(ch, HOST1X_CHANNEL_DMACTRL); in host1x_debug_show_channel_cdma()
190 cbread = host1x_sync_readl(host, HOST1X_SYNC_CBREAD(ch->id)); in host1x_debug_show_channel_cdma()
191 cbstat = host1x_sync_readl(host, HOST1X_SYNC_CBSTAT(ch->id)); in host1x_debug_show_channel_cdma()
193 host1x_debug_output(o, "%d-%s: ", ch->id, dev_name(ch->dev)); in host1x_debug_show_channel_cdma()
196 !ch->cdma.push_buffer.mapped) { in host1x_debug_show_channel_cdma()
233 struct host1x_channel *ch, in host1x_debug_show_channel_fifo() argument
239 host1x_debug_output(o, "%d: fifo:\n", ch->id); in host1x_debug_show_channel_fifo()
241 val = host1x_ch_readl(ch, HOST1X_CHANNEL_FIFOSTAT); in host1x_debug_show_channel_fifo()
250 HOST1X_SYNC_CFPEEK_CTRL_CHANNR_F(ch->id), in host1x_debug_show_channel_fifo()
257 val = host1x_sync_readl(host, HOST1X_SYNC_CF_SETUP(ch->id)); in host1x_debug_show_channel_fifo()
264 HOST1X_SYNC_CFPEEK_CTRL_CHANNR_F(ch->id) | in host1x_debug_show_channel_fifo()