Home
last modified time | relevance | path

Searched refs:rga2_service (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/
H A Drga2_drv.c88 struct rga2_service_info rga2_service; variable
519 running = atomic_read(&rga2_service.total_running); in rga2_dump()
521 list_for_each_entry_safe(session, session_tmp, &rga2_service.session, in rga2_dump()
561 if (rga2_service.enable) in rga2_power_on()
573 rga2_service.enable = true; in rga2_power_on()
581 if (!rga2_service.enable) { in rga2_power_off()
585 total_running = atomic_read(&rga2_service.total_running); in rga2_power_off()
605 rga2_service.enable = false; in rga2_power_off()
610 if (mutex_trylock(&rga2_service.lock)) { in rga2_power_off_work()
612 mutex_unlock(&rga2_service.lock); in rga2_power_off_work()
[all …]
H A Drga2_mmu_info.c28 extern struct rga2_service_info rga2_service;
655 mutex_lock(&rga2_service.lock); in rga2_mmu_buf_get()
657 mutex_unlock(&rga2_service.lock); in rga2_mmu_buf_get()
666 mutex_lock(&rga2_service.lock); in rga2_mmu_buf_get_try()
693 mutex_unlock(&rga2_service.lock); in rga2_mmu_buf_get_try()
1101 mutex_lock(&rga2_service.lock); in rga2_mmu_flush_cache()
1107 mutex_unlock(&rga2_service.lock); in rga2_mmu_flush_cache()
1218 mutex_lock(&rga2_service.lock); in rga2_mmu_info_BitBlt_mode()
1221 mutex_unlock(&rga2_service.lock); in rga2_mmu_info_BitBlt_mode()
1438 mutex_lock(&rga2_service.lock); in rga2_mmu_info_color_palette_mode()
[all …]