Home
last modified time | relevance | path

Searched refs:lima_ip (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_pp.h7 struct lima_ip;
10 int lima_pp_resume(struct lima_ip *ip);
11 void lima_pp_suspend(struct lima_ip *ip);
12 int lima_pp_init(struct lima_ip *ip);
13 void lima_pp_fini(struct lima_ip *ip);
15 int lima_pp_bcast_resume(struct lima_ip *ip);
16 void lima_pp_bcast_suspend(struct lima_ip *ip);
17 int lima_pp_bcast_init(struct lima_ip *ip);
18 void lima_pp_bcast_fini(struct lima_ip *ip);
H A Dlima_mmu.h7 struct lima_ip;
10 int lima_mmu_resume(struct lima_ip *ip);
11 void lima_mmu_suspend(struct lima_ip *ip);
12 int lima_mmu_init(struct lima_ip *ip);
13 void lima_mmu_fini(struct lima_ip *ip);
15 void lima_mmu_flush_tlb(struct lima_ip *ip);
16 void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm);
17 void lima_mmu_page_fault_resume(struct lima_ip *ip);
H A Dlima_bcast.h7 struct lima_ip;
9 int lima_bcast_resume(struct lima_ip *ip);
10 void lima_bcast_suspend(struct lima_ip *ip);
11 int lima_bcast_init(struct lima_ip *ip);
12 void lima_bcast_fini(struct lima_ip *ip);
16 int lima_bcast_mask_irq(struct lima_ip *ip);
17 int lima_bcast_reset(struct lima_ip *ip);
H A Dlima_dlbu.c18 struct lima_ip *ip = dev->ip + lima_ip_dlbu; in lima_dlbu_enable()
22 struct lima_ip *pp = pipe->processor[i]; in lima_dlbu_enable()
32 struct lima_ip *ip = dev->ip + lima_ip_dlbu; in lima_dlbu_disable()
37 void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg) in lima_dlbu_set_reg()
45 static int lima_dlbu_hw_init(struct lima_ip *ip) in lima_dlbu_hw_init()
55 int lima_dlbu_resume(struct lima_ip *ip) in lima_dlbu_resume()
60 void lima_dlbu_suspend(struct lima_ip *ip) in lima_dlbu_suspend()
65 int lima_dlbu_init(struct lima_ip *ip) in lima_dlbu_init()
70 void lima_dlbu_fini(struct lima_ip *ip) in lima_dlbu_fini()
H A Dlima_bcast.c17 struct lima_ip *ip = dev->ip + lima_ip_bcast; in lima_bcast_enable()
21 struct lima_ip *pp = pipe->processor[i]; in lima_bcast_enable()
29 static int lima_bcast_hw_init(struct lima_ip *ip) in lima_bcast_hw_init()
36 int lima_bcast_resume(struct lima_ip *ip) in lima_bcast_resume()
41 void lima_bcast_suspend(struct lima_ip *ip) in lima_bcast_suspend()
46 int lima_bcast_mask_irq(struct lima_ip *ip) in lima_bcast_mask_irq()
53 int lima_bcast_reset(struct lima_ip *ip) in lima_bcast_reset()
58 int lima_bcast_init(struct lima_ip *ip) in lima_bcast_init()
70 void lima_bcast_fini(struct lima_ip *ip) in lima_bcast_fini()
H A Dlima_l2_cache.h7 struct lima_ip;
9 int lima_l2_cache_resume(struct lima_ip *ip);
10 void lima_l2_cache_suspend(struct lima_ip *ip);
11 int lima_l2_cache_init(struct lima_ip *ip);
12 void lima_l2_cache_fini(struct lima_ip *ip);
14 int lima_l2_cache_flush(struct lima_ip *ip);
H A Dlima_pp.c43 struct lima_ip *ip = data; in lima_pp_irq_handler()
64 struct lima_ip *pp_bcast = data; in lima_pp_bcast_irq_handler()
76 struct lima_ip *ip = pipe->processor[i]; in lima_pp_bcast_irq_handler()
233 int lima_pp_resume(struct lima_ip *ip) in lima_pp_resume()
238 void lima_pp_suspend(struct lima_ip *ip) in lima_pp_suspend()
243 int lima_pp_init(struct lima_ip *ip) in lima_pp_init()
267 void lima_pp_fini(struct lima_ip *ip) in lima_pp_fini()
286 int lima_pp_bcast_init(struct lima_ip *ip) in lima_pp_bcast_init()
302 void lima_pp_bcast_fini(struct lima_ip *ip) in lima_pp_bcast_fini()
408 struct lima_ip *ip = pipe->processor[i]; in lima_pp_task_error()
[all …]
H A Dlima_dlbu.h7 struct lima_ip;
13 void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg);
15 int lima_dlbu_resume(struct lima_ip *ip);
16 void lima_dlbu_suspend(struct lima_ip *ip);
17 int lima_dlbu_init(struct lima_ip *ip);
18 void lima_dlbu_fini(struct lima_ip *ip);
H A Dlima_pmu.h7 struct lima_ip;
9 int lima_pmu_resume(struct lima_ip *ip);
10 void lima_pmu_suspend(struct lima_ip *ip);
11 int lima_pmu_init(struct lima_ip *ip);
12 void lima_pmu_fini(struct lima_ip *ip);
H A Dlima_gp.h7 struct lima_ip;
10 int lima_gp_resume(struct lima_ip *ip);
11 void lima_gp_suspend(struct lima_ip *ip);
12 int lima_gp_init(struct lima_ip *ip);
13 void lima_gp_fini(struct lima_ip *ip);
H A Dlima_l2_cache.c14 static int lima_l2_cache_wait_idle(struct lima_ip *ip) in lima_l2_cache_wait_idle()
30 int lima_l2_cache_flush(struct lima_ip *ip) in lima_l2_cache_flush()
41 static int lima_l2_cache_hw_init(struct lima_ip *ip) in lima_l2_cache_hw_init()
57 int lima_l2_cache_resume(struct lima_ip *ip) in lima_l2_cache_resume()
62 void lima_l2_cache_suspend(struct lima_ip *ip) in lima_l2_cache_suspend()
67 int lima_l2_cache_init(struct lima_ip *ip) in lima_l2_cache_init()
95 void lima_l2_cache_fini(struct lima_ip *ip) in lima_l2_cache_fini()
H A Dlima_pmu.c14 static int lima_pmu_wait_cmd(struct lima_ip *ip) in lima_pmu_wait_cmd()
32 static u32 lima_pmu_get_ip_mask(struct lima_ip *ip) in lima_pmu_get_ip_mask()
66 static int lima_pmu_hw_init(struct lima_ip *ip) in lima_pmu_hw_init()
91 static void lima_pmu_hw_fini(struct lima_ip *ip) in lima_pmu_hw_fini()
113 int lima_pmu_resume(struct lima_ip *ip) in lima_pmu_resume()
118 void lima_pmu_suspend(struct lima_ip *ip) in lima_pmu_suspend()
123 int lima_pmu_init(struct lima_ip *ip) in lima_pmu_init()
128 void lima_pmu_fini(struct lima_ip *ip) in lima_pmu_fini()
H A Dlima_gp.c22 struct lima_ip *ip = data; in lima_gp_irq_handler()
130 struct lima_ip *ip = pipe->processor[0]; in lima_gp_task_run()
180 static int lima_gp_hard_reset(struct lima_ip *ip) in lima_gp_hard_reset()
214 struct lima_ip *ip = pipe->processor[0]; in lima_gp_task_error()
229 struct lima_ip *ip = pipe->processor[0]; in lima_gp_task_mask_irq()
236 struct lima_ip *ip = pipe->processor[0]; in lima_gp_task_recover()
296 static int lima_gp_hw_init(struct lima_ip *ip) in lima_gp_hw_init()
303 int lima_gp_resume(struct lima_ip *ip) in lima_gp_resume()
308 void lima_gp_suspend(struct lima_ip *ip) in lima_gp_suspend()
313 int lima_gp_init(struct lima_ip *ip) in lima_gp_init()
[all …]
H A Dlima_mmu.c31 struct lima_ip *ip = data; in lima_mmu_irq_handler()
62 static int lima_mmu_hw_init(struct lima_ip *ip) in lima_mmu_hw_init()
82 int lima_mmu_resume(struct lima_ip *ip) in lima_mmu_resume()
90 void lima_mmu_suspend(struct lima_ip *ip) in lima_mmu_suspend()
95 int lima_mmu_init(struct lima_ip *ip) in lima_mmu_init()
119 void lima_mmu_fini(struct lima_ip *ip) in lima_mmu_fini()
129 void lima_mmu_flush_tlb(struct lima_ip *ip) in lima_mmu_flush_tlb()
134 void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm) in lima_mmu_switch_vm()
153 void lima_mmu_page_fault_resume(struct lima_ip *ip) in lima_mmu_page_fault_resume()
H A Dlima_sched.h44 struct lima_ip;
58 struct lima_ip *mmu[LIMA_SCHED_PIPE_MAX_MMU];
61 struct lima_ip *l2_cache[LIMA_SCHED_PIPE_MAX_L2_CACHE];
64 struct lima_ip *processor[LIMA_SCHED_PIPE_MAX_PROCESSOR];
67 struct lima_ip *bcast_processor;
68 struct lima_ip *bcast_mmu;
H A Dlima_device.h54 struct lima_ip { struct
93 struct lima_ip ip[lima_ip_num];
120 const char *lima_ip_name(struct lima_ip *ip);
122 typedef int (*lima_poll_func_t)(struct lima_ip *);
124 static inline int lima_poll_timeout(struct lima_ip *ip, lima_poll_func_t func, in lima_poll_timeout()
H A Dlima_device.c27 int (*init)(struct lima_ip *ip);
28 void (*fini)(struct lima_ip *ip);
29 int (*resume)(struct lima_ip *ip);
30 void (*suspend)(struct lima_ip *ip);
80 const char *lima_ip_name(struct lima_ip *ip) in lima_ip_name()
212 struct lima_ip *ip = dev->ip + index; in lima_init_ip()
245 struct lima_ip *ip = ldev->ip + index; in lima_fini_ip()
254 struct lima_ip *ip = ldev->ip + index; in lima_resume_ip()
266 struct lima_ip *ip = ldev->ip + index; in lima_suspend_ip()
316 struct lima_ip *pp = dev->ip + lima_ip_pp0 + i; in lima_init_pp_pipe()
[all …]
H A Dlima_sched.c273 struct lima_ip *ip = pipe->processor[0]; in lima_sched_build_error_task_list()