Lines Matching refs:logo_cache

1191 	struct rockchip_logo_cache *tmp, *logo_cache = NULL;  in find_or_alloc_logo_cache()  local
1196 logo_cache = tmp; in find_or_alloc_logo_cache()
1201 if (!logo_cache) { in find_or_alloc_logo_cache()
1202 logo_cache = malloc(sizeof(*logo_cache)); in find_or_alloc_logo_cache()
1203 if (!logo_cache) { in find_or_alloc_logo_cache()
1207 memset(logo_cache, 0, sizeof(*logo_cache)); in find_or_alloc_logo_cache()
1208 strcpy(logo_cache->name, bmp); in find_or_alloc_logo_cache()
1209 INIT_LIST_HEAD(&logo_cache->head); in find_or_alloc_logo_cache()
1210 list_add_tail(&logo_cache->head, &logo_cache_list); in find_or_alloc_logo_cache()
1213 return logo_cache; in find_or_alloc_logo_cache()
1255 struct rockchip_logo_cache *logo_cache; in load_bmp_logo_legacy() local
1265 logo_cache = find_or_alloc_logo_cache(bmp_name, logo->rotate); in load_bmp_logo_legacy()
1266 if (!logo_cache) in load_bmp_logo_legacy()
1269 if (logo_cache->logo.mem) { in load_bmp_logo_legacy()
1270 memcpy(logo, &logo_cache->logo, sizeof(*logo)); in load_bmp_logo_legacy()
1340 memcpy(&logo_cache->logo, logo, sizeof(*logo)); in load_bmp_logo_legacy()
1473 struct rockchip_logo_cache *logo_cache; in load_bmp_logo() local
1490 logo_cache = find_or_alloc_logo_cache(bmp_name, logo->rotate); in load_bmp_logo()
1491 if (!logo_cache) in load_bmp_logo()
1494 if (logo_cache->logo.mem) { in load_bmp_logo()
1495 memcpy(logo, &logo_cache->logo, sizeof(*logo)); in load_bmp_logo()
1563 memcpy(&logo_cache->logo, logo, sizeof(*logo)); in load_bmp_logo()
1564 logo_cache->logo_rotate = logo->rotate; in load_bmp_logo()