mfc_regs 339 drivers/media/platform/s5p-mfc/s5p_mfc_common.h const struct s5p_mfc_regs *mfc_regs; mfc_regs 34 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c dev->mfc_regs = s5p_mfc_init_regs_v6_plus(dev); mfc_regs 495 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 502 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(strm_size, mfc_regs->d_stream_data_size); mfc_regs 503 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr, mfc_regs->d_cpb_buffer_addr); mfc_regs 504 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_size->cpb, mfc_regs->d_cpb_buffer_size); mfc_regs 505 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(start_num_byte, mfc_regs->d_cpb_buffer_offset); mfc_regs 517 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 529 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->total_dpb_count, mfc_regs->d_num_dpb); mfc_regs 530 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->luma_size, mfc_regs->d_first_plane_dpb_size); mfc_regs 531 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->chroma_size, mfc_regs->d_second_plane_dpb_size); mfc_regs 533 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->d_scratch_buffer_addr); mfc_regs 534 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->scratch_buf_size, mfc_regs->d_scratch_buffer_size); mfc_regs 538 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->d_first_plane_dpb_stride_size); mfc_regs 540 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->d_second_plane_dpb_stride_size); mfc_regs 549 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->mv_size, mfc_regs->d_mv_buffer_size); mfc_regs 550 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->mv_count, mfc_regs->d_num_mv); mfc_regs 564 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->d_first_plane_dpb + i * 4); mfc_regs 568 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->d_second_plane_dpb + i * 4); mfc_regs 582 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->d_mv_buffer + i * 4); mfc_regs 588 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->d_static_buffer_addr); mfc_regs 590 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->d_static_buffer_size); mfc_regs 602 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->inst_no, mfc_regs->instance_id); mfc_regs 615 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 617 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(addr, mfc_regs->e_stream_buffer_addr); /* 16B align */ mfc_regs 618 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(size, mfc_regs->e_stream_buffer_size); mfc_regs 630 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 632 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(y_addr, mfc_regs->e_source_first_plane_addr); mfc_regs 633 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(c_addr, mfc_regs->e_source_second_plane_addr); mfc_regs 643 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 646 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c *y_addr = readl(mfc_regs->e_encoded_source_first_plane_addr); mfc_regs 647 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c *c_addr = readl(mfc_regs->e_encoded_source_second_plane_addr); mfc_regs 649 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c enc_recon_y_addr = readl(mfc_regs->e_recon_luma_dpb_addr); mfc_regs 650 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c enc_recon_c_addr = readl(mfc_regs->e_recon_chroma_dpb_addr); mfc_regs 660 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 674 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_luma_dpb + (4 * i)); mfc_regs 679 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_chroma_dpb + (4 * i)); mfc_regs 684 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_me_buffer + (4 * i)); mfc_regs 690 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_luma_dpb + (4 * i)); mfc_regs 692 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_chroma_dpb + (4 * i)); mfc_regs 694 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_me_buffer + (4 * i)); mfc_regs 701 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_scratch_buffer_addr); mfc_regs 702 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->scratch_buf_size, mfc_regs->e_scratch_buffer_size); mfc_regs 706 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_tmv_buffer0); mfc_regs 708 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(buf_addr1, mfc_regs->e_tmv_buffer1); mfc_regs 719 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->inst_no, mfc_regs->instance_id); mfc_regs 731 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 735 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->slice_mode, mfc_regs->e_mslice_mode); mfc_regs 737 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->slice_size.mb, mfc_regs->e_mslice_size_mb); mfc_regs 740 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->slice_size.bits, mfc_regs->e_mslice_size_bits); mfc_regs 742 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_mslice_size_mb); mfc_regs 743 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_mslice_size_bits); mfc_regs 752 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 759 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->img_width, mfc_regs->e_frame_width); /* 16 align */ mfc_regs 761 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->img_height, mfc_regs->e_frame_height); /* 16 align */ mfc_regs 764 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->img_width, mfc_regs->e_cropped_frame_width); mfc_regs 766 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->img_height, mfc_regs->e_cropped_frame_height); mfc_regs 768 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_frame_crop_offset); mfc_regs 773 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_gop_config); mfc_regs 781 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 785 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 789 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 795 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->intra_refresh_mb, mfc_regs->e_ir_size); mfc_regs 796 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_enc_options); mfc_regs 801 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 804 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_enc_options); mfc_regs 806 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 811 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_enc_options); mfc_regs 813 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 815 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->pixel_format); mfc_regs 818 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_enc_options); mfc_regs 820 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 822 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x1, mfc_regs->pixel_format); mfc_regs 825 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_enc_options); mfc_regs 827 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 829 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->pixel_format); mfc_regs 834 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_enc_options); mfc_regs 836 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 839 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_padding_ctrl); mfc_regs 850 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_padding_ctrl); mfc_regs 857 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 862 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_rc_bit_rate); mfc_regs 864 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(1, mfc_regs->e_rc_bit_rate); mfc_regs 869 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(1, mfc_regs->e_rc_mode); mfc_regs 871 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(2, mfc_regs->e_rc_mode); mfc_regs 875 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_enc_options); mfc_regs 882 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_enc_options); mfc_regs 885 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_rc_config); mfc_regs 887 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 891 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_mv_hor_range); mfc_regs 894 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_mv_ver_range); mfc_regs 896 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_frame_insertion); mfc_regs 897 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_roi_buffer_addr); mfc_regs 898 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_param_change); mfc_regs 899 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_rc_roi_ctrl); mfc_regs 900 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_picture_tag); mfc_regs 902 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_bit_count_enable); mfc_regs 903 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_max_bit_count); mfc_regs 904 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_min_bit_count); mfc_regs 906 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_metadata_buffer_addr); mfc_regs 907 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_metadata_buffer_size); mfc_regs 917 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 928 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_gop_config); mfc_regs 931 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_gop_config); mfc_regs 939 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_picture_profile); mfc_regs 942 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_rc_config); mfc_regs 946 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 951 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 959 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_qp_bound); mfc_regs 962 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_fixed_picture_qp); mfc_regs 968 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_fixed_picture_qp); mfc_regs 976 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_frame_rate); mfc_regs 983 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_vbv_buffer_size); mfc_regs 986 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->vbv_delay, mfc_regs->e_vbv_init_delay); mfc_regs 992 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 997 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_frame_height); /* 32 align */ mfc_regs 1000 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_cropped_frame_height); mfc_regs 1004 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_h264_options); mfc_regs 1007 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1017 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_lf_alpha_offset); mfc_regs 1027 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_lf_beta_offset); mfc_regs 1030 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_h264_options); mfc_regs 1033 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1036 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_h264_options); mfc_regs 1039 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1042 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_h264_options); mfc_regs 1045 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1048 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_mb_rc_config); mfc_regs 1059 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_mb_rc_config); mfc_regs 1063 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->e_h264_options); mfc_regs 1066 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1068 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_aspect_ratio); mfc_regs 1069 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_extended_sar); mfc_regs 1074 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_aspect_ratio); mfc_regs 1080 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_extended_sar); mfc_regs 1086 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->e_h264_options); mfc_regs 1089 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1092 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_h264_i_period); mfc_regs 1096 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_i_period); mfc_regs 1100 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->e_h264_options); mfc_regs 1102 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1105 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->e_h264_options); mfc_regs 1107 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1110 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->e_h264_options); mfc_regs 1113 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1116 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->e_h264_options); mfc_regs 1119 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1124 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_num_t_layer); mfc_regs 1129 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_h264_hierarchical_qp_layer0 mfc_regs 1134 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_num_t_layer); mfc_regs 1137 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->e_h264_options); mfc_regs 1140 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_options); mfc_regs 1147 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_h264_frame_packing_sei_info); mfc_regs 1157 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_h264_fmo_run_length_minus1_0 mfc_regs 1169 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_h264_fmo_slice_grp_change_dir); mfc_regs 1172 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_h264_fmo_slice_grp_change_rate_minus1); mfc_regs 1183 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_h264_fmo_slice_grp_map_type); mfc_regs 1185 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_h264_fmo_num_slice_grp_minus1); mfc_regs 1187 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0, mfc_regs->e_h264_fmo_num_slice_grp_minus1); mfc_regs 1198 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1208 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_gop_config); mfc_regs 1211 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_gop_config); mfc_regs 1219 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_picture_profile); mfc_regs 1222 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_rc_config); mfc_regs 1226 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1231 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1239 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_qp_bound); mfc_regs 1242 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_fixed_picture_qp); mfc_regs 1248 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_fixed_picture_qp); mfc_regs 1256 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_frame_rate); mfc_regs 1262 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->vbv_size & 0xFFFF, mfc_regs->e_vbv_buffer_size); mfc_regs 1265 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->vbv_delay, mfc_regs->e_vbv_init_delay); mfc_regs 1269 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_mpeg4_options); mfc_regs 1270 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_mpeg4_hec_period); mfc_regs 1280 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1293 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_picture_profile); mfc_regs 1296 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_rc_config); mfc_regs 1300 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1305 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1313 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_qp_bound); mfc_regs 1316 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_fixed_picture_qp); mfc_regs 1322 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_fixed_picture_qp); mfc_regs 1330 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_frame_rate); mfc_regs 1336 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->vbv_size & 0xFFFF, mfc_regs->e_vbv_buffer_size); mfc_regs 1339 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->vbv_delay, mfc_regs->e_vbv_init_delay); mfc_regs 1350 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1361 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_gop_config); mfc_regs 1364 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_gop_config); mfc_regs 1368 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_picture_profile); mfc_regs 1371 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_rc_config); mfc_regs 1375 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1382 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_frame_rate); mfc_regs 1388 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1391 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_fixed_picture_qp); mfc_regs 1396 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_fixed_picture_qp); mfc_regs 1403 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_qp_bound); mfc_regs 1408 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->vbv_size & 0xFFFF, mfc_regs->e_vbv_buffer_size); mfc_regs 1411 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(p->vbv_delay, mfc_regs->e_vbv_init_delay); mfc_regs 1433 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_vp8_options); mfc_regs 1443 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1454 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_gop_config); mfc_regs 1458 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_gop_config); mfc_regs 1476 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_picture_profile); mfc_regs 1513 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_hevc_options); mfc_regs 1518 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_hevc_refresh_period); mfc_regs 1524 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_hevc_lf_beta_offset_div2); mfc_regs 1527 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_hevc_lf_tc_offset_div2); mfc_regs 1534 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_num_t_layer); mfc_regs 1539 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_hier_qp_layer0 + i * 4); mfc_regs 1544 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_hier_bit_rate_layer0 mfc_regs 1550 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg = readl(mfc_regs->e_rc_config); mfc_regs 1554 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1558 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_config); mfc_regs 1567 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_frame_rate); mfc_regs 1578 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_rc_qp_bound); mfc_regs 1580 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->e_fixed_picture_qp); mfc_regs 1589 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->e_fixed_picture_qp); mfc_regs 1600 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1608 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->d_cpb_buffer_addr), mfc_regs 1609 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->d_cpb_buffer_addr), mfc_regs 1610 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c readl(mfc_regs->d_cpb_buffer_addr)); mfc_regs 1617 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->display_delay, mfc_regs->d_display_delay); mfc_regs 1621 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->d_dec_options); mfc_regs 1636 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->d_init_buffer_options); mfc_regs 1638 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(reg, mfc_regs->d_dec_options); mfc_regs 1642 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x1, mfc_regs->pixel_format); mfc_regs 1644 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0x0, mfc_regs->pixel_format); mfc_regs 1648 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->sei_fp_parse & 0x1, mfc_regs->d_sei_enable); mfc_regs 1650 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->inst_no, mfc_regs->instance_id); mfc_regs 1661 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1665 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->inst_no, mfc_regs->instance_id); mfc_regs 1676 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1678 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->dec_dst_flag, mfc_regs->d_available_dpb_flag_lower); mfc_regs 1679 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->slice_interface & 0x1, mfc_regs->d_slice_if_enable); mfc_regs 1681 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->inst_no, mfc_regs->instance_id); mfc_regs 1705 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1725 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->img_width, mfc_regs->e_source_first_plane_stride); mfc_regs 1726 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->img_width, mfc_regs->e_source_second_plane_stride); mfc_regs 1729 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->inst_no, mfc_regs->instance_id); mfc_regs 1739 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1747 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mfc_regs->e_h264_aso_slice_order_0 + i * 4); mfc_regs 1757 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 1774 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->inst_no, mfc_regs->instance_id); mfc_regs 2081 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c const struct s5p_mfc_regs *mfc_regs = dev->mfc_regs; mfc_regs 2082 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0, mfc_regs->risc2host_command); mfc_regs 2083 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(0, mfc_regs->risc2host_int); mfc_regs 2100 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_display_first_plane_addr); mfc_regs 2105 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_decoded_first_plane_addr); mfc_regs 2110 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_display_status); mfc_regs 2115 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_decoded_status); mfc_regs 2120 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_decoded_frame_type) & mfc_regs 2127 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_display_frame_type) & mfc_regs 2133 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_decoded_nal_size); mfc_regs 2138 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->risc2host_command) & mfc_regs 2144 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->error_code); mfc_regs 2154 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_display_frame_width); mfc_regs 2159 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_display_frame_height); mfc_regs 2164 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_min_num_dpb); mfc_regs 2169 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_min_num_mv); mfc_regs 2174 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->d_min_scratch_buffer_size); mfc_regs 2179 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->e_min_scratch_buffer_size); mfc_regs 2184 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->ret_instance_id); mfc_regs 2189 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->e_num_dpb); mfc_regs 2194 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->e_stream_size); mfc_regs 2199 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return readl(dev->mfc_regs->e_slice_type); mfc_regs 2205 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c (__force unsigned long) ctx->dev->mfc_regs->d_ret_picture_tag_top); mfc_regs 2211 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c (__force unsigned long) ctx->dev->mfc_regs->d_ret_picture_tag_bot); mfc_regs 2217 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c (__force unsigned long) ctx->dev->mfc_regs->d_display_crop_info1); mfc_regs 2223 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c (__force unsigned long) ctx->dev->mfc_regs->d_display_crop_info2); mfc_regs 2226 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c static struct s5p_mfc_regs mfc_regs; mfc_regs 2231 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c memset(&mfc_regs, 0, sizeof(mfc_regs)); mfc_regs 2234 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c #define R(m, r) mfc_regs.m = S5P_MFC_REG_ADDR(dev, r) mfc_regs 2481 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c return &mfc_regs;