Lines Matching refs:cpu_to_le32
363 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ in radeon_vce_get_create_msg()
364 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ in radeon_vce_get_create_msg()
365 ib.ptr[ib.length_dw++] = cpu_to_le32(handle); in radeon_vce_get_create_msg()
367 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000030); /* len */ in radeon_vce_get_create_msg()
368 ib.ptr[ib.length_dw++] = cpu_to_le32(0x01000001); /* create cmd */ in radeon_vce_get_create_msg()
369 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); in radeon_vce_get_create_msg()
370 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000042); in radeon_vce_get_create_msg()
371 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000a); in radeon_vce_get_create_msg()
372 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); in radeon_vce_get_create_msg()
373 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000080); in radeon_vce_get_create_msg()
374 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000060); in radeon_vce_get_create_msg()
375 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000100); in radeon_vce_get_create_msg()
376 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000100); in radeon_vce_get_create_msg()
377 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); in radeon_vce_get_create_msg()
378 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); in radeon_vce_get_create_msg()
380 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000014); /* len */ in radeon_vce_get_create_msg()
381 ib.ptr[ib.length_dw++] = cpu_to_le32(0x05000005); /* feedback buffer */ in radeon_vce_get_create_msg()
382 ib.ptr[ib.length_dw++] = cpu_to_le32(upper_32_bits(dummy)); in radeon_vce_get_create_msg()
383 ib.ptr[ib.length_dw++] = cpu_to_le32(dummy); in radeon_vce_get_create_msg()
384 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); in radeon_vce_get_create_msg()
387 ib.ptr[i] = cpu_to_le32(0x0); in radeon_vce_get_create_msg()
430 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ in radeon_vce_get_destroy_msg()
431 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ in radeon_vce_get_destroy_msg()
432 ib.ptr[ib.length_dw++] = cpu_to_le32(handle); in radeon_vce_get_destroy_msg()
434 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000014); /* len */ in radeon_vce_get_destroy_msg()
435 ib.ptr[ib.length_dw++] = cpu_to_le32(0x05000005); /* feedback buffer */ in radeon_vce_get_destroy_msg()
436 ib.ptr[ib.length_dw++] = cpu_to_le32(upper_32_bits(dummy)); in radeon_vce_get_destroy_msg()
437 ib.ptr[ib.length_dw++] = cpu_to_le32(dummy); in radeon_vce_get_destroy_msg()
438 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); in radeon_vce_get_destroy_msg()
440 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000008); /* len */ in radeon_vce_get_destroy_msg()
441 ib.ptr[ib.length_dw++] = cpu_to_le32(0x02000001); /* destroy cmd */ in radeon_vce_get_destroy_msg()
444 ib.ptr[i] = cpu_to_le32(0x0); in radeon_vce_get_destroy_msg()
701 radeon_ring_write(ring, cpu_to_le32(VCE_CMD_SEMAPHORE)); in radeon_vce_semaphore_emit()
702 radeon_ring_write(ring, cpu_to_le32((addr >> 3) & 0x000FFFFF)); in radeon_vce_semaphore_emit()
703 radeon_ring_write(ring, cpu_to_le32((addr >> 23) & 0x000FFFFF)); in radeon_vce_semaphore_emit()
704 radeon_ring_write(ring, cpu_to_le32(0x01003000 | (emit_wait ? 1 : 0))); in radeon_vce_semaphore_emit()
706 radeon_ring_write(ring, cpu_to_le32(VCE_CMD_END)); in radeon_vce_semaphore_emit()
721 radeon_ring_write(ring, cpu_to_le32(VCE_CMD_IB)); in radeon_vce_ib_execute()
722 radeon_ring_write(ring, cpu_to_le32(ib->gpu_addr)); in radeon_vce_ib_execute()
723 radeon_ring_write(ring, cpu_to_le32(upper_32_bits(ib->gpu_addr))); in radeon_vce_ib_execute()
724 radeon_ring_write(ring, cpu_to_le32(ib->length_dw)); in radeon_vce_ib_execute()
740 radeon_ring_write(ring, cpu_to_le32(VCE_CMD_FENCE)); in radeon_vce_fence_emit()
741 radeon_ring_write(ring, cpu_to_le32(addr)); in radeon_vce_fence_emit()
742 radeon_ring_write(ring, cpu_to_le32(upper_32_bits(addr))); in radeon_vce_fence_emit()
743 radeon_ring_write(ring, cpu_to_le32(fence->seq)); in radeon_vce_fence_emit()
744 radeon_ring_write(ring, cpu_to_le32(VCE_CMD_TRAP)); in radeon_vce_fence_emit()
745 radeon_ring_write(ring, cpu_to_le32(VCE_CMD_END)); in radeon_vce_fence_emit()
767 radeon_ring_write(ring, cpu_to_le32(VCE_CMD_END)); in radeon_vce_ring_test()