Searched refs:fourccs (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_format_helper.c | 1097 static bool is_listed_fourcc(const uint32_t *fourccs, size_t nfourccs, uint32_t fourcc) in is_listed_fourcc() argument 1099 const uint32_t *fourccs_end = fourccs + nfourccs; in is_listed_fourcc() 1101 while (fourccs < fourccs_end) { in is_listed_fourcc() 1102 if (*fourccs == fourcc) in is_listed_fourcc() 1104 ++fourccs; in is_listed_fourcc() 1149 u32 *fourccs = fourccs_out; in drm_fb_build_fourcc_list() local 1165 if (is_listed_fourcc(fourccs_out, fourccs - fourccs_out, fourcc)) { in drm_fb_build_fourcc_list() 1167 } else if (fourccs == fourccs_end) { in drm_fb_build_fourcc_list() 1174 *fourccs = fourcc; in drm_fb_build_fourcc_list() 1175 ++fourccs; in drm_fb_build_fourcc_list() [all …]
|
/Linux-v6.6/drivers/gpu/drm/tidss/ |
D | tidss_kms.c | 111 const u32 *fourccs = dispc_plane_formats(tidss->dispc, &fourccs_len); in tidss_dispc_modeset_init() local 201 fourccs, fourccs_len); in tidss_dispc_modeset_init() 235 fourccs, fourccs_len); in tidss_dispc_modeset_init()
|
D | tidss_dispc.c | 352 u32 *fourccs; member 1947 WARN_ON(!dispc->fourccs); in dispc_plane_formats() 1951 return dispc->fourccs; in dispc_plane_formats() 2750 dispc->fourccs = devm_kcalloc(dev, ARRAY_SIZE(dispc_color_formats), in dispc_init() 2751 sizeof(*dispc->fourccs), GFP_KERNEL); in dispc_init() 2752 if (!dispc->fourccs) in dispc_init() 2761 dispc->fourccs[num_fourccs++] = dispc_color_formats[i].fourcc; in dispc_init()
|