Lines Matching refs:cat
891 const struct dpu_mdss_cfg *cat; in dpu_kms_mdp_snapshot() local
896 cat = dpu_kms->catalog; in dpu_kms_mdp_snapshot()
901 for (i = 0; i < cat->ctl_count; i++) in dpu_kms_mdp_snapshot()
902 msm_disp_snapshot_add_block(disp_state, cat->ctl[i].len, in dpu_kms_mdp_snapshot()
903 dpu_kms->mmio + cat->ctl[i].base, cat->ctl[i].name); in dpu_kms_mdp_snapshot()
906 for (i = 0; i < cat->dspp_count; i++) { in dpu_kms_mdp_snapshot()
907 base = dpu_kms->mmio + cat->dspp[i].base; in dpu_kms_mdp_snapshot()
908 msm_disp_snapshot_add_block(disp_state, cat->dspp[i].len, base, cat->dspp[i].name); in dpu_kms_mdp_snapshot()
910 if (cat->dspp[i].sblk && cat->dspp[i].sblk->pcc.len > 0) in dpu_kms_mdp_snapshot()
911 msm_disp_snapshot_add_block(disp_state, cat->dspp[i].sblk->pcc.len, in dpu_kms_mdp_snapshot()
912 base + cat->dspp[i].sblk->pcc.base, "%s_%s", in dpu_kms_mdp_snapshot()
913 cat->dspp[i].name, in dpu_kms_mdp_snapshot()
914 cat->dspp[i].sblk->pcc.name); in dpu_kms_mdp_snapshot()
918 for (i = 0; i < cat->intf_count; i++) in dpu_kms_mdp_snapshot()
919 msm_disp_snapshot_add_block(disp_state, cat->intf[i].len, in dpu_kms_mdp_snapshot()
920 dpu_kms->mmio + cat->intf[i].base, cat->intf[i].name); in dpu_kms_mdp_snapshot()
923 for (i = 0; i < cat->pingpong_count; i++) { in dpu_kms_mdp_snapshot()
924 base = dpu_kms->mmio + cat->pingpong[i].base; in dpu_kms_mdp_snapshot()
925 msm_disp_snapshot_add_block(disp_state, cat->pingpong[i].len, base, in dpu_kms_mdp_snapshot()
926 cat->pingpong[i].name); in dpu_kms_mdp_snapshot()
930 if (cat->pingpong[i].sblk && cat->pingpong[i].sblk->dither.len > 0) in dpu_kms_mdp_snapshot()
931 msm_disp_snapshot_add_block(disp_state, cat->pingpong[i].sblk->dither.len, in dpu_kms_mdp_snapshot()
932 base + cat->pingpong[i].sblk->dither.base, in dpu_kms_mdp_snapshot()
933 "%s_%s", cat->pingpong[i].name, in dpu_kms_mdp_snapshot()
934 cat->pingpong[i].sblk->dither.name); in dpu_kms_mdp_snapshot()
938 for (i = 0; i < cat->sspp_count; i++) { in dpu_kms_mdp_snapshot()
939 base = dpu_kms->mmio + cat->sspp[i].base; in dpu_kms_mdp_snapshot()
940 msm_disp_snapshot_add_block(disp_state, cat->sspp[i].len, base, cat->sspp[i].name); in dpu_kms_mdp_snapshot()
942 if (cat->sspp[i].sblk && cat->sspp[i].sblk->scaler_blk.len > 0) in dpu_kms_mdp_snapshot()
943 msm_disp_snapshot_add_block(disp_state, cat->sspp[i].sblk->scaler_blk.len, in dpu_kms_mdp_snapshot()
944 base + cat->sspp[i].sblk->scaler_blk.base, in dpu_kms_mdp_snapshot()
945 "%s_%s", cat->sspp[i].name, in dpu_kms_mdp_snapshot()
946 cat->sspp[i].sblk->scaler_blk.name); in dpu_kms_mdp_snapshot()
948 if (cat->sspp[i].sblk && cat->sspp[i].sblk->csc_blk.len > 0) in dpu_kms_mdp_snapshot()
949 msm_disp_snapshot_add_block(disp_state, cat->sspp[i].sblk->csc_blk.len, in dpu_kms_mdp_snapshot()
950 base + cat->sspp[i].sblk->csc_blk.base, in dpu_kms_mdp_snapshot()
951 "%s_%s", cat->sspp[i].name, in dpu_kms_mdp_snapshot()
952 cat->sspp[i].sblk->csc_blk.name); in dpu_kms_mdp_snapshot()
956 for (i = 0; i < cat->mixer_count; i++) in dpu_kms_mdp_snapshot()
957 msm_disp_snapshot_add_block(disp_state, cat->mixer[i].len, in dpu_kms_mdp_snapshot()
958 dpu_kms->mmio + cat->mixer[i].base, cat->mixer[i].name); in dpu_kms_mdp_snapshot()
961 for (i = 0; i < cat->wb_count; i++) in dpu_kms_mdp_snapshot()
962 msm_disp_snapshot_add_block(disp_state, cat->wb[i].len, in dpu_kms_mdp_snapshot()
963 dpu_kms->mmio + cat->wb[i].base, cat->wb[i].name); in dpu_kms_mdp_snapshot()
965 if (cat->mdp[0].features & BIT(DPU_MDP_PERIPH_0_REMOVED)) { in dpu_kms_mdp_snapshot()
967 dpu_kms->mmio + cat->mdp[0].base, "top"); in dpu_kms_mdp_snapshot()
968 msm_disp_snapshot_add_block(disp_state, cat->mdp[0].len - MDP_PERIPH_TOP0_END, in dpu_kms_mdp_snapshot()
969 dpu_kms->mmio + cat->mdp[0].base + MDP_PERIPH_TOP0_END, "top_2"); in dpu_kms_mdp_snapshot()
971 msm_disp_snapshot_add_block(disp_state, cat->mdp[0].len, in dpu_kms_mdp_snapshot()
972 dpu_kms->mmio + cat->mdp[0].base, "top"); in dpu_kms_mdp_snapshot()
976 for (i = 0; i < cat->dsc_count; i++) { in dpu_kms_mdp_snapshot()
977 base = dpu_kms->mmio + cat->dsc[i].base; in dpu_kms_mdp_snapshot()
978 msm_disp_snapshot_add_block(disp_state, cat->dsc[i].len, base, cat->dsc[i].name); in dpu_kms_mdp_snapshot()
980 if (cat->dsc[i].features & BIT(DPU_DSC_HW_REV_1_2)) { in dpu_kms_mdp_snapshot()
981 struct dpu_dsc_blk enc = cat->dsc[i].sblk->enc; in dpu_kms_mdp_snapshot()
982 struct dpu_dsc_blk ctl = cat->dsc[i].sblk->ctl; in dpu_kms_mdp_snapshot()
985 cat->dsc[i].name, enc.name); in dpu_kms_mdp_snapshot()
987 cat->dsc[i].name, ctl.name); in dpu_kms_mdp_snapshot()