Lines Matching defs:pc
182 struct pipe_control *pc = ring->private;
183 u32 scratch_addr = pc->gtt_offset + 128;
220 struct pipe_control *pc = ring->private;
221 u32 scratch_addr = pc->gtt_offset + 128;
313 struct pipe_control *pc = ring->private;
314 u32 scratch_addr = pc->gtt_offset + 128;
488 struct pipe_control *pc;
495 pc = kmalloc(sizeof(*pc), GFP_KERNEL);
496 if (!pc)
512 pc->gtt_offset = obj->gtt_offset;
514 pc->cpu_page = (u32*) obj->page_list[0];
515 if (pc->cpu_page == NULL)
519 ring->name, pc->gtt_offset);
521 pc->obj = obj;
522 ring->private = pc;
530 kfree(pc, sizeof(*pc));
537 struct pipe_control *pc = ring->private;
540 obj = pc->obj;
544 kfree(pc, sizeof(*pc));
746 struct pipe_control *pc = ring->private;
747 u32 scratch_addr = pc->gtt_offset + 128;
765 intel_ring_emit(ring, pc->gtt_offset | PIPE_CONTROL_GLOBAL_GTT);
784 intel_ring_emit(ring, pc->gtt_offset | PIPE_CONTROL_GLOBAL_GTT);
818 struct pipe_control *pc = ring->private;
819 return pc->cpu_page[0];
825 struct pipe_control *pc = ring->private;
826 pc->cpu_page[0] = seqno;