Lines Matching refs:feat

294 	const struct dispc_features *feat;
681 for (i = 0; i < dispc->feat->num_vps; ++i) {
687 for (i = 0; i < dispc->feat->num_planes; ++i) {
693 if (dispc->feat->subrev == DISPC_K2G)
708 for (i = 0; i < dispc->feat->num_vps; ++i)
711 for (i = 0; i < dispc->feat->num_planes; ++i)
724 for (i = 0; i < dispc->feat->num_vps; ++i)
727 for (i = 0; i < dispc->feat->num_planes; ++i)
745 for (i = 0; i < dispc->feat->num_vps; ++i) {
753 for (i = 0; i < dispc->feat->num_planes; ++i) {
773 switch (dispc->feat->subrev) {
787 switch (dispc->feat->subrev) {
851 if (dispc->feat->vp_bus_type[hw_videoport] != DISPC_VP_OLDI &&
854 __func__, dispc->feat->vp_name[hw_videoport]);
955 if (dispc->feat->vp_bus_type[hw_videoport] == DISPC_VP_OLDI) {
1014 if (dispc->feat->vp_bus_type[hw_videoport] == DISPC_VP_OLDI)
1040 if (dispc->feat->vp_bus_type[hw_videoport] == DISPC_VP_OLDI) {
1119 bus_type = dispc->feat->vp_bus_type[hw_videoport];
1121 max_pclk = dispc->feat->max_pclk_khz[bus_type];
1126 if (mode->clock < dispc->feat->min_pclk_khz)
1276 switch (dispc->feat->subrev) {
1298 if (dispc->feat->subrev == DISPC_K2G)
1516 if (dispc->feat->subrev == DISPC_K2G)
1616 const struct dispc_features_scaling *f = &dispc->feat->scaling;
1918 bool lite = dispc->feat->vid_lite[hw_plane];
1989 bool lite = dispc->feat->vid_lite[hw_plane];
2107 for (hw_plane = 0; hw_plane < dispc->feat->num_planes; hw_plane++) {
2123 dispc->feat->vid_name[hw_plane],
2162 for (hw_plane = 0; hw_plane < dispc->feat->num_planes; hw_plane++) {
2178 dispc->feat->vid_name[hw_plane],
2199 switch (dispc->feat->subrev) {
2219 for (i = 0; i < dispc->feat->num_vps; i++)
2229 if (dispc->feat->subrev == DISPC_J721E) {
2241 u32 hwlen = dispc->feat->vp_feat.color.gamma_size;
2246 if (WARN_ON(dispc->feat->vp_feat.color.gamma_type != TIDSS_GAMMA_8BIT))
2263 u32 hwlen = dispc->feat->vp_feat.color.gamma_size;
2268 if (WARN_ON(dispc->feat->vp_feat.color.gamma_type != TIDSS_GAMMA_8BIT))
2284 u32 hwlen = dispc->feat->vp_feat.color.gamma_size;
2289 if (WARN_ON(dispc->feat->vp_feat.color.gamma_type != TIDSS_GAMMA_10BIT))
2305 switch (dispc->feat->subrev) {
2332 u32 hwlen = dispc->feat->vp_feat.color.gamma_size;
2339 if (dispc->feat->vp_feat.color.gamma_type == TIDSS_GAMMA_10BIT)
2542 if (dispc->feat->subrev == DISPC_K2G)
2583 if (dispc->feat->subrev == DISPC_AM65X)
2665 const struct dispc_features *feat;
2671 feat = tidss->feat;
2673 if (feat->subrev != DISPC_K2G) {
2685 dispc->feat = feat;
2705 dispc_common_regmap = dispc->feat->common_regs;
2707 r = dispc_iomap_resource(pdev, dispc->feat->common,
2712 for (i = 0; i < dispc->feat->num_planes; i++) {
2713 r = dispc_iomap_resource(pdev, dispc->feat->vid_name[i],
2719 for (i = 0; i < dispc->feat->num_vps; i++) {
2720 u32 gamma_size = dispc->feat->vp_feat.color.gamma_size;
2724 r = dispc_iomap_resource(pdev, dispc->feat->ovr_name[i],
2729 r = dispc_iomap_resource(pdev, dispc->feat->vp_name[i],
2734 clk = devm_clk_get(dev, dispc->feat->vpclk_name[i]);
2737 dispc->feat->vpclk_name[i], PTR_ERR(clk));
2750 if (feat->subrev == DISPC_AM65X) {