Lines Matching refs:mapped
53 if (!pb->mapped) in host1x_pushbuffer_destroy()
61 dma_free_wc(host1x->dev, pb->alloc_size, pb->mapped, pb->phys); in host1x_pushbuffer_destroy()
63 pb->mapped = NULL; in host1x_pushbuffer_destroy()
78 pb->mapped = NULL; in host1x_pushbuffer_init()
93 pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys, in host1x_pushbuffer_init()
95 if (!pb->mapped) in host1x_pushbuffer_init()
112 pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys, in host1x_pushbuffer_init()
114 if (!pb->mapped) in host1x_pushbuffer_init()
129 dma_free_wc(host1x->dev, size, pb->mapped, pb->phys); in host1x_pushbuffer_init()
140 u32 *p = (u32 *)((void *)pb->mapped + pb->pos); in host1x_pushbuffer_push()
453 u32 *mapped = cdma->push_buffer.mapped; in host1x_cdma_update_sync_queue() local
472 mapped[2*slot+0] = (0xd << 28) | (next_job * 2); in host1x_cdma_update_sync_queue()
473 mapped[2*slot+1] = 0x0; in host1x_cdma_update_sync_queue()
475 mapped[2*slot+0] = 0x1bad0000; in host1x_cdma_update_sync_queue()
476 mapped[2*slot+1] = 0x1bad0000; in host1x_cdma_update_sync_queue()