Home
last modified time | relevance | path

Searched refs:host1x_syncpt (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/host1x/
H A Dsyncpt.c45 static struct host1x_syncpt *host1x_syncpt_alloc(struct host1x *host, in host1x_syncpt_alloc()
49 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
99 u32 host1x_syncpt_id(struct host1x_syncpt *sp) in host1x_syncpt_id()
110 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs) in host1x_syncpt_incr_max()
121 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
139 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
157 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
170 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
181 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
191 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired()
[all …]
H A Dsyncpt.h28 struct host1x_syncpt { struct
64 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max()
74 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed()
83 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle()
93 u32 host1x_syncpt_load(struct host1x_syncpt *sp);
96 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
105 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp);
108 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
111 static inline int host1x_syncpt_is_valid(struct host1x_syncpt *sp) in host1x_syncpt_is_valid()
H A Ddev.h21 struct host1x_syncpt;
65 void (*restore)(struct host1x_syncpt *syncpt);
66 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
67 void (*load_wait_base)(struct host1x_syncpt *syncpt);
68 u32 (*load)(struct host1x_syncpt *syncpt);
69 int (*cpu_incr)(struct host1x_syncpt *syncpt);
70 void (*assign_to_channel)(struct host1x_syncpt *syncpt,
111 struct host1x_syncpt *syncpt;
132 struct host1x_syncpt *nop_sp;
156 struct host1x_syncpt *sp) in host1x_hw_syncpt_restore()
[all …]
H A Dintr.c155 struct host1x_syncpt *syncpt, in process_wait_list()
193 struct host1x_syncpt *syncpt = in syncpt_thresh_work()
194 container_of(syncpt_intr, struct host1x_syncpt, intr); in syncpt_thresh_work()
202 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt, in host1x_intr_add_action()
248 struct host1x_syncpt *syncpt; in host1x_intr_put_ref()
270 struct host1x_syncpt *syncpt = host->syncpt + id; in host1x_intr_init()
307 struct host1x_syncpt *syncpt = host->syncpt; in host1x_intr_stop()
H A Dintr.h14 struct host1x_syncpt;
68 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
H A Dcdma.h15 struct host1x_syncpt;
46 struct host1x_syncpt *syncpt; /* buffer completion syncpt */
H A Dcdma.c327 struct host1x_syncpt *sp = in update_cdma_locked()
/OK3568_Linux_fs/kernel/include/linux/
H A Dhost1x.h66 struct host1x_syncpt **syncpts;
142 struct host1x_syncpt;
145 struct host1x_syncpt *host1x_syncpt_get(struct host1x *host, u32 id);
146 u32 host1x_syncpt_id(struct host1x_syncpt *sp);
147 u32 host1x_syncpt_read_min(struct host1x_syncpt *sp);
148 u32 host1x_syncpt_read_max(struct host1x_syncpt *sp);
149 u32 host1x_syncpt_read(struct host1x_syncpt *sp);
150 int host1x_syncpt_incr(struct host1x_syncpt *sp);
151 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
152 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/hw/
H A Dsyncpt_hw.c16 static void syncpt_restore(struct host1x_syncpt *sp) in syncpt_restore()
27 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) in syncpt_restore_wait_base()
40 static void syncpt_read_wait_base(struct host1x_syncpt *sp) in syncpt_read_wait_base()
53 static u32 syncpt_load(struct host1x_syncpt *sp) in syncpt_load()
76 static int syncpt_cpu_incr(struct host1x_syncpt *sp) in syncpt_cpu_incr()
103 static void syncpt_assign_to_channel(struct host1x_syncpt *sp, in syncpt_assign_to_channel()
H A Dintr_hw.c20 static void host1x_intr_syncpt_handle(struct host1x_syncpt *syncpt) in host1x_intr_syncpt_handle()
43 struct host1x_syncpt *syncpt = in syncpt_thresh_isr()
H A Dchannel_hw.c90 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base()
121 struct host1x_syncpt *sp; in channel_submit()
/OK3568_Linux_fs/kernel/drivers/staging/media/tegra-video/
H A Dvi.h171 struct host1x_syncpt *frame_start_sp;
172 struct host1x_syncpt *mw_ack_sp;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/
H A Ddrm.c174 struct host1x_syncpt *sp; in tegra_drm_submit()
381 struct host1x_syncpt *sp; in tegra_syncpt_read()
396 struct host1x_syncpt *sp; in tegra_syncpt_incr()
410 struct host1x_syncpt *sp; in tegra_syncpt_wait()
506 struct host1x_syncpt *syncpt; in tegra_get_syncpt()
560 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base()
H A Dgr2d.c191 struct host1x_syncpt **syncpts; in gr2d_probe()
H A Dgr3d.c284 struct host1x_syncpt **syncpts; in gr3d_probe()
H A Ddc.h73 struct host1x_syncpt *syncpt;
H A Dvic.c400 struct host1x_syncpt **syncpts; in vic_probe()