Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/host1x/
Dsyncpt.h29 struct host1x_syncpt { struct
73 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max()
83 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed()
92 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle()
102 u32 host1x_syncpt_load(struct host1x_syncpt *sp);
105 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
114 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp);
117 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
120 static inline int host1x_syncpt_is_valid(struct host1x_syncpt *sp) in host1x_syncpt_is_valid()
125 static inline void host1x_syncpt_set_locked(struct host1x_syncpt *sp) in host1x_syncpt_set_locked()
Dsyncpt.c57 struct host1x_syncpt *host1x_syncpt_alloc(struct host1x *host, in host1x_syncpt_alloc()
61 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
115 u32 host1x_syncpt_id(struct host1x_syncpt *sp) in host1x_syncpt_id()
126 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs) in host1x_syncpt_incr_max()
137 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
164 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
182 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
195 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
206 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
216 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired()
[all …]
Ddev.h22 struct host1x_syncpt;
66 void (*restore)(struct host1x_syncpt *syncpt);
67 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
68 void (*load_wait_base)(struct host1x_syncpt *syncpt);
69 u32 (*load)(struct host1x_syncpt *syncpt);
70 int (*cpu_incr)(struct host1x_syncpt *syncpt);
71 void (*assign_to_channel)(struct host1x_syncpt *syncpt,
128 struct host1x_syncpt *syncpt;
150 struct host1x_syncpt *nop_sp;
178 struct host1x_syncpt *sp) in host1x_hw_syncpt_restore()
[all …]
Dintr.c164 struct host1x_syncpt *syncpt, in process_wait_list()
202 struct host1x_syncpt *syncpt = in syncpt_thresh_work()
203 container_of(syncpt_intr, struct host1x_syncpt, intr); in syncpt_thresh_work()
211 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt, in host1x_intr_add_action()
259 struct host1x_syncpt *syncpt; in host1x_intr_put_ref()
291 struct host1x_syncpt *syncpt = host->syncpt + id; in host1x_intr_init()
325 struct host1x_syncpt *syncpt = host->syncpt; in host1x_intr_stop()
Dintr.h14 struct host1x_syncpt;
70 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
Dcdma.h15 struct host1x_syncpt;
46 struct host1x_syncpt *syncpt; /* buffer completion syncpt */
Dfence.c25 struct host1x_syncpt *sp;
146 struct dma_fence *host1x_fence_create(struct host1x_syncpt *sp, u32 threshold) in host1x_fence_create()
Dcdma.c320 struct host1x_syncpt *sp = job->syncpt; in update_cdma_locked()
/Linux-v6.1/include/linux/
Dhost1x.h102 struct host1x_syncpt **syncpts;
197 struct host1x_syncpt;
200 struct host1x_syncpt *host1x_syncpt_get_by_id(struct host1x *host, u32 id);
201 struct host1x_syncpt *host1x_syncpt_get_by_id_noref(struct host1x *host, u32 id);
202 struct host1x_syncpt *host1x_syncpt_get(struct host1x_syncpt *sp);
203 u32 host1x_syncpt_id(struct host1x_syncpt *sp);
204 u32 host1x_syncpt_read_min(struct host1x_syncpt *sp);
205 u32 host1x_syncpt_read_max(struct host1x_syncpt *sp);
206 u32 host1x_syncpt_read(struct host1x_syncpt *sp);
207 int host1x_syncpt_incr(struct host1x_syncpt *sp);
[all …]
/Linux-v6.1/drivers/gpu/host1x/hw/
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()
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()
Dchannel_hw.c165 struct host1x_syncpt *sp = job->syncpt; in synchronize_syncpt_base()
217 struct host1x_syncpt *sp = job->syncpt; in channel_program_cdma()
284 struct host1x_syncpt *sp = job->syncpt; in channel_submit()
/Linux-v6.1/drivers/gpu/drm/tegra/
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()
Ddrm.c183 struct host1x_syncpt *sp = NULL; in tegra_drm_submit()
391 struct host1x_syncpt *sp; in tegra_syncpt_read()
406 struct host1x_syncpt *sp; in tegra_syncpt_incr()
420 struct host1x_syncpt *sp; in tegra_syncpt_wait()
523 struct host1x_syncpt *syncpt; in tegra_get_syncpt()
577 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base()
Dgr2d.c243 struct host1x_syncpt **syncpts; in gr2d_probe()
Dnvdec.c360 struct host1x_syncpt **syncpts; in nvdec_probe()
Dgr3d.c495 struct host1x_syncpt **syncpts; in gr3d_probe()
Ddc.h84 struct host1x_syncpt *syncpt;
Dvic.c471 struct host1x_syncpt **syncpts; in vic_probe()
Dsubmit.c335 struct host1x_syncpt *sp; in submit_get_syncpt()
/Linux-v6.1/drivers/staging/media/tegra-video/
Dvi.h179 struct host1x_syncpt *frame_start_sp[GANG_PORTS_MAX];
180 struct host1x_syncpt *mw_ack_sp[GANG_PORTS_MAX];
Dvi.c1170 struct host1x_syncpt *fs_sp; in tegra_channel_host1x_syncpt_init()
1171 struct host1x_syncpt *mw_sp; in tegra_channel_host1x_syncpt_init()