Lines Matching refs:ch
191 static void host1x_enable_gather_filter(struct host1x_channel *ch)
194 struct host1x *host = dev_get_drvdata(ch->dev->parent);
201 host, HOST1X_HV_CH_KERNEL_FILTER_GBUFFER(ch->id / 32));
202 val |= BIT(ch->id % 32);
204 host, val, HOST1X_HV_CH_KERNEL_FILTER_GBUFFER(ch->id / 32));
206 host1x_ch_writel(ch,
289 struct host1x_channel *ch = job->channel;
294 struct host1x *host = dev_get_drvdata(ch->dev->parent);
296 trace_host1x_channel_submit(dev_name(ch->dev),
304 err = mutex_lock_interruptible(&ch->submitlock);
308 host1x_channel_set_streamid(ch);
309 host1x_enable_gather_filter(ch);
310 host1x_hw_syncpt_assign_to_channel(host, sp, ch);
313 err = host1x_cdma_begin(&ch->cdma, job);
315 mutex_unlock(&ch->submitlock);
335 host1x_cdma_end(&ch->cdma, job);
337 trace_host1x_channel_submitted(dev_name(ch->dev), prev_max, syncval);
339 mutex_unlock(&ch->submitlock);
342 host1x_cdma_update(&ch->cdma);
349 static int host1x_channel_init(struct host1x_channel *ch, struct host1x *dev,
353 ch->regs = dev->regs + index * 0x4000;
355 ch->regs = dev->regs + index * 0x100;