Home
last modified time | relevance | path

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

/linux/drivers/gpu/host1x/
H A Dsyncpt.c58 struct host1x_syncpt *host1x_syncpt_alloc(struct host1x *host, in host1x_syncpt_alloc()
62 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
116 u32 host1x_syncpt_id(struct host1x_syncpt *sp) in host1x_syncpt_id()
127 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs) in host1x_syncpt_incr_max()
138 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
165 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
183 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
196 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
207 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
220 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait()
[all …]
H A Dsyncpt.h30 struct host1x_syncpt { struct
74 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max()
84 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed()
93 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle()
103 u32 host1x_syncpt_load(struct host1x_syncpt *sp);
106 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
115 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp);
118 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
121 static inline int host1x_syncpt_is_valid(struct host1x_syncpt *sp) in host1x_syncpt_is_valid()
126 static inline void host1x_syncpt_set_locked(struct host1x_syncpt *sp) in host1x_syncpt_set_locked()
H A Ddev.h23 struct host1x_syncpt;
67 void (*restore)(struct host1x_syncpt *syncpt);
68 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
69 void (*load_wait_base)(struct host1x_syncpt *syncpt);
70 u32 (*load)(struct host1x_syncpt *syncpt);
71 int (*cpu_incr)(struct host1x_syncpt *syncpt);
72 void (*assign_to_channel)(struct host1x_syncpt *syncpt,
137 struct host1x_syncpt *syncpt;
158 struct host1x_syncpt *nop_sp;
186 struct host1x_syncpt *sp) in host1x_hw_syncpt_restore()
[all …]
H A Dintr.c31 static void host1x_intr_update_hw_state(struct host1x *host, struct host1x_syncpt *sp) in host1x_intr_update_hw_state()
77 struct host1x_syncpt *sp = &host->syncpt[id]; in host1x_intr_handle_interrupt()
110 struct host1x_syncpt *syncpt = &host->syncpt[id]; in host1x_intr_init()
H A Dcdma.h16 struct host1x_syncpt;
47 struct host1x_syncpt *syncpt; /* buffer completion syncpt */
H A Dfence.h14 struct host1x_syncpt *sp;
H A Dfence.c125 struct dma_fence *host1x_fence_create(struct host1x_syncpt *sp, u32 threshold, in host1x_fence_create()
H A Dcdma.c320 struct host1x_syncpt *sp = job->syncpt; in update_cdma_locked()
/linux/include/linux/
H A Dhost1x.h103 struct host1x_syncpt **syncpts;
198 struct host1x_syncpt;
201 struct host1x_syncpt *host1x_syncpt_get_by_id(struct host1x *host, u32 id);
202 struct host1x_syncpt *host1x_syncpt_get_by_id_noref(struct host1x *host, u32 id);
203 struct host1x_syncpt *host1x_syncpt_get(struct host1x_syncpt *sp);
204 u32 host1x_syncpt_id(struct host1x_syncpt *sp);
205 u32 host1x_syncpt_read_min(struct host1x_syncpt *sp);
206 u32 host1x_syncpt_read_max(struct host1x_syncpt *sp);
207 u32 host1x_syncpt_read(struct host1x_syncpt *sp);
208 int host1x_syncpt_incr(struct host1x_syncpt *sp);
[all …]
/linux/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 Dchannel_hw.c165 struct host1x_syncpt *sp = job->syncpt; in synchronize_syncpt_base()
215 struct host1x_syncpt *sp = job->syncpt; in channel_program_cdma()
290 struct host1x_syncpt *sp = job->syncpt; in channel_submit()
/linux/drivers/gpu/drm/tegra/
H A Duapi.c52 struct host1x_syncpt *sp; in tegra_drm_uapi_close_file()
303 struct host1x_syncpt *sp; in tegra_drm_ioctl_syncpoint_allocate()
328 struct host1x_syncpt *sp; in tegra_drm_ioctl_syncpoint_free()
347 struct host1x_syncpt *sp; in tegra_drm_ioctl_syncpoint_wait()
H A Ddrm.c180 struct host1x_syncpt *sp = NULL; in tegra_drm_submit()
388 struct host1x_syncpt *sp; in tegra_syncpt_read()
403 struct host1x_syncpt *sp; in tegra_syncpt_incr()
417 struct host1x_syncpt *sp; in tegra_syncpt_wait()
520 struct host1x_syncpt *syncpt; in tegra_get_syncpt()
574 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base()
H A Dgr2d.c237 struct host1x_syncpt **syncpts; in gr2d_probe()
H A Dgr3d.c488 struct host1x_syncpt **syncpts; in gr3d_probe()
H A Dnvdec.c427 struct host1x_syncpt **syncpts; in nvdec_probe()
H A Ddc.h84 struct host1x_syncpt *syncpt;
H A Dvic.c451 struct host1x_syncpt **syncpts; in vic_probe()
H A Dsubmit.c330 struct host1x_syncpt *sp; in submit_get_syncpt()
/linux/drivers/staging/media/tegra-video/
H A Dvi.h189 struct host1x_syncpt *frame_start_sp[GANG_PORTS_MAX];
190 struct host1x_syncpt *mw_ack_sp[GANG_PORTS_MAX];
H A Dtegra210.c187 struct host1x_syncpt *fs_sp; in tegra210_channel_host1x_syncpt_init()
188 struct host1x_syncpt *mw_sp; in tegra210_channel_host1x_syncpt_init()
H A Dtegra20.c254 struct host1x_syncpt *out_sp; in tegra20_channel_host1x_syncpt_init()
/linux/drivers/crypto/tegra/
H A Dtegra-se.h424 struct host1x_syncpt *syncpt;