Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/host1x/
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()
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 …]
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,
110 struct host1x_syncpt *syncpt;
131 struct host1x_syncpt *nop_sp;
153 struct host1x_syncpt *sp) in host1x_hw_syncpt_restore()
[all …]
Dintr.c156 struct host1x_syncpt *syncpt, in process_wait_list()
194 struct host1x_syncpt *syncpt = in syncpt_thresh_work()
195 container_of(syncpt_intr, struct host1x_syncpt, intr); in syncpt_thresh_work()
203 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt, in host1x_intr_add_action()
249 struct host1x_syncpt *syncpt; in host1x_intr_put_ref()
271 struct host1x_syncpt *syncpt = host->syncpt + id; in host1x_intr_init()
308 struct host1x_syncpt *syncpt = host->syncpt; in host1x_intr_stop()
Dintr.h14 struct host1x_syncpt;
68 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 */
Dcdma.c327 struct host1x_syncpt *sp = in update_cdma_locked()
/Linux-v5.4/include/linux/
Dhost1x.h53 struct host1x_syncpt **syncpts;
135 struct host1x_syncpt;
138 struct host1x_syncpt *host1x_syncpt_get(struct host1x *host, u32 id);
139 u32 host1x_syncpt_id(struct host1x_syncpt *sp);
140 u32 host1x_syncpt_read_min(struct host1x_syncpt *sp);
141 u32 host1x_syncpt_read_max(struct host1x_syncpt *sp);
142 u32 host1x_syncpt_read(struct host1x_syncpt *sp);
143 int host1x_syncpt_incr(struct host1x_syncpt *sp);
144 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
145 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
[all …]
/Linux-v5.4/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.c90 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base()
121 struct host1x_syncpt *sp; in channel_submit()
/Linux-v5.4/drivers/gpu/drm/tegra/
Ddrm.c338 struct host1x_syncpt *sp; in tegra_drm_submit()
545 struct host1x_syncpt *sp; in tegra_syncpt_read()
560 struct host1x_syncpt *sp; in tegra_syncpt_incr()
574 struct host1x_syncpt *sp; in tegra_syncpt_wait()
670 struct host1x_syncpt *syncpt; in tegra_get_syncpt()
724 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base()
Dgr2d.c192 struct host1x_syncpt **syncpts; in gr2d_probe()
Dgr3d.c286 struct host1x_syncpt **syncpts; in gr3d_probe()
Dvic.c372 struct host1x_syncpt **syncpts; in vic_probe()
Ddc.h73 struct host1x_syncpt *syncpt;