Lines Matching refs:msg

356 static int radeon_uvd_cs_msg_decode(uint32_t *msg, unsigned buf_sizes[])  in radeon_uvd_cs_msg_decode()  argument
358 unsigned stream_type = msg[4]; in radeon_uvd_cs_msg_decode()
359 unsigned width = msg[6]; in radeon_uvd_cs_msg_decode()
360 unsigned height = msg[7]; in radeon_uvd_cs_msg_decode()
361 unsigned dpb_size = msg[9]; in radeon_uvd_cs_msg_decode()
362 unsigned pitch = msg[28]; in radeon_uvd_cs_msg_decode()
470 int32_t *msg, msg_type, handle; in radeon_uvd_cs_msg() local
486 msg = ptr + offset; in radeon_uvd_cs_msg()
488 msg_type = msg[1]; in radeon_uvd_cs_msg()
489 handle = msg[2]; in radeon_uvd_cs_msg()
500 img_size = msg[7] * msg[8]; in radeon_uvd_cs_msg()
502 r = radeon_uvd_validate_codec(p, msg[4]); in radeon_uvd_cs_msg()
526 r = radeon_uvd_validate_codec(p, msg[4]); in radeon_uvd_cs_msg()
528 r = radeon_uvd_cs_msg_decode(msg, buf_sizes); in radeon_uvd_cs_msg()
774 uint32_t __iomem *msg = (void __iomem *)(rdev->uvd.cpu_addr + offs); in radeon_uvd_get_create_msg() local
784 writel((__force u32)cpu_to_le32(0x00000de4), &msg[0]); in radeon_uvd_get_create_msg()
785 writel(0x0, (void __iomem *)&msg[1]); in radeon_uvd_get_create_msg()
786 writel((__force u32)cpu_to_le32(handle), &msg[2]); in radeon_uvd_get_create_msg()
787 writel(0x0, &msg[3]); in radeon_uvd_get_create_msg()
788 writel(0x0, &msg[4]); in radeon_uvd_get_create_msg()
789 writel(0x0, &msg[5]); in radeon_uvd_get_create_msg()
790 writel(0x0, &msg[6]); in radeon_uvd_get_create_msg()
791 writel((__force u32)cpu_to_le32(0x00000780), &msg[7]); in radeon_uvd_get_create_msg()
792 writel((__force u32)cpu_to_le32(0x00000440), &msg[8]); in radeon_uvd_get_create_msg()
793 writel(0x0, &msg[9]); in radeon_uvd_get_create_msg()
794 writel((__force u32)cpu_to_le32(0x01b37000), &msg[10]); in radeon_uvd_get_create_msg()
796 writel(0x0, &msg[i]); in radeon_uvd_get_create_msg()
810 uint32_t __iomem *msg = (void __iomem *)(rdev->uvd.cpu_addr + offs); in radeon_uvd_get_destroy_msg() local
820 writel((__force u32)cpu_to_le32(0x00000de4), &msg[0]); in radeon_uvd_get_destroy_msg()
821 writel((__force u32)cpu_to_le32(0x00000002), &msg[1]); in radeon_uvd_get_destroy_msg()
822 writel((__force u32)cpu_to_le32(handle), &msg[2]); in radeon_uvd_get_destroy_msg()
823 writel(0x0, &msg[3]); in radeon_uvd_get_destroy_msg()
825 writel(0x0, &msg[i]); in radeon_uvd_get_destroy_msg()