Home
last modified time | relevance | path

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

/Linux-v5.15/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()
155 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
173 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
186 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
197 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
207 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired()
[all …]
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,
117 struct host1x_syncpt *syncpt;
138 struct host1x_syncpt *nop_sp;
162 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()
328 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-v5.15/include/linux/
Dhost1x.h70 struct host1x_syncpt **syncpts;
146 struct host1x_syncpt;
149 struct host1x_syncpt *host1x_syncpt_get_by_id(struct host1x *host, u32 id);
150 struct host1x_syncpt *host1x_syncpt_get_by_id_noref(struct host1x *host, u32 id);
151 struct host1x_syncpt *host1x_syncpt_get(struct host1x_syncpt *sp);
152 u32 host1x_syncpt_id(struct host1x_syncpt *sp);
153 u32 host1x_syncpt_read_min(struct host1x_syncpt *sp);
154 u32 host1x_syncpt_read_max(struct host1x_syncpt *sp);
155 u32 host1x_syncpt_read(struct host1x_syncpt *sp);
156 int host1x_syncpt_incr(struct host1x_syncpt *sp);
[all …]
/Linux-v5.15/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.c134 struct host1x_syncpt *sp = job->syncpt; in synchronize_syncpt_base()
165 struct host1x_syncpt *sp = job->syncpt; in channel_submit()
/Linux-v5.15/drivers/gpu/drm/tegra/
Duapi.c53 struct host1x_syncpt *sp; in tegra_drm_uapi_close_file()
282 struct host1x_syncpt *sp; in tegra_drm_ioctl_syncpoint_allocate()
307 struct host1x_syncpt *sp; in tegra_drm_ioctl_syncpoint_free()
326 struct host1x_syncpt *sp; in tegra_drm_ioctl_syncpoint_wait()
Ddrm.c176 struct host1x_syncpt *sp = NULL; in tegra_drm_submit()
384 struct host1x_syncpt *sp; in tegra_syncpt_read()
399 struct host1x_syncpt *sp; in tegra_syncpt_incr()
413 struct host1x_syncpt *sp; in tegra_syncpt_wait()
509 struct host1x_syncpt *syncpt; in tegra_get_syncpt()
563 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base()
Dgr2d.c196 struct host1x_syncpt **syncpts; in gr2d_probe()
Dgr3d.c284 struct host1x_syncpt **syncpts; in gr3d_probe()
Dvic.c406 struct host1x_syncpt **syncpts; in vic_probe()
Ddc.h83 struct host1x_syncpt *syncpt;
Dsubmit.c306 struct host1x_syncpt *sp; in submit_get_syncpt()
/Linux-v5.15/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.c1164 struct host1x_syncpt *fs_sp; in tegra_channel_host1x_syncpt_init()
1165 struct host1x_syncpt *mw_sp; in tegra_channel_host1x_syncpt_init()