Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/host1x/
Dsyncpt.h39 struct host1x_syncpt { struct
75 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max()
85 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed()
94 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle()
104 u32 host1x_syncpt_load(struct host1x_syncpt *sp);
107 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
116 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp);
119 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
122 static inline int host1x_syncpt_is_valid(struct host1x_syncpt *sp) in host1x_syncpt_is_valid()
Dsyncpt.c56 static struct host1x_syncpt *host1x_syncpt_alloc(struct host1x *host, in host1x_syncpt_alloc()
60 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
110 u32 host1x_syncpt_id(struct host1x_syncpt *sp) in host1x_syncpt_id()
121 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs) in host1x_syncpt_incr_max()
132 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
150 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
168 u32 host1x_syncpt_load(struct host1x_syncpt *sp) in host1x_syncpt_load()
181 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp) in host1x_syncpt_load_wait_base()
192 int host1x_syncpt_incr(struct host1x_syncpt *sp) in host1x_syncpt_incr()
202 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired()
[all …]
Ddev.h32 struct host1x_syncpt;
76 void (*restore)(struct host1x_syncpt *syncpt);
77 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
78 void (*load_wait_base)(struct host1x_syncpt *syncpt);
79 u32 (*load)(struct host1x_syncpt *syncpt);
80 int (*cpu_incr)(struct host1x_syncpt *syncpt);
81 void (*assign_to_channel)(struct host1x_syncpt *syncpt,
113 struct host1x_syncpt *syncpt;
134 struct host1x_syncpt *nop_sp;
156 struct host1x_syncpt *sp) in host1x_hw_syncpt_restore()
[all …]
Dintr.c167 struct host1x_syncpt *syncpt, in process_wait_list()
205 struct host1x_syncpt *syncpt = in syncpt_thresh_work()
206 container_of(syncpt_intr, struct host1x_syncpt, intr); in syncpt_thresh_work()
214 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt, in host1x_intr_add_action()
260 struct host1x_syncpt *syncpt; in host1x_intr_put_ref()
282 struct host1x_syncpt *syncpt = host->syncpt + id; in host1x_intr_init()
319 struct host1x_syncpt *syncpt = host->syncpt; in host1x_intr_stop()
Dintr.h25 struct host1x_syncpt;
79 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
Dcdma.h26 struct host1x_syncpt;
57 struct host1x_syncpt *syncpt; /* buffer completion syncpt */
Dcdma.c278 struct host1x_syncpt *sp = in update_cdma_locked()
/Linux-v4.19/include/linux/
Dhost1x.h66 struct host1x_syncpt **syncpts;
148 struct host1x_syncpt;
151 struct host1x_syncpt *host1x_syncpt_get(struct host1x *host, u32 id);
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);
157 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
158 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout,
[all …]
/Linux-v4.19/drivers/gpu/host1x/hw/
Dsyncpt_hw.c27 static void syncpt_restore(struct host1x_syncpt *sp) in syncpt_restore()
38 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) in syncpt_restore_wait_base()
49 static void syncpt_read_wait_base(struct host1x_syncpt *sp) in syncpt_read_wait_base()
60 static u32 syncpt_load(struct host1x_syncpt *sp) in syncpt_load()
83 static int syncpt_cpu_incr(struct host1x_syncpt *sp) in syncpt_cpu_incr()
110 static void syncpt_assign_to_channel(struct host1x_syncpt *sp, in syncpt_assign_to_channel()
Dintr_hw.c31 static void host1x_intr_syncpt_handle(struct host1x_syncpt *syncpt) in host1x_intr_syncpt_handle()
54 struct host1x_syncpt *syncpt = in syncpt_thresh_isr()
Dchannel_hw.c79 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base()
96 struct host1x_syncpt *sp; in channel_submit()
/Linux-v4.19/drivers/gpu/drm/tegra/
Ddrm.c324 struct host1x_syncpt *sp; in tegra_drm_submit()
531 struct host1x_syncpt *sp; in tegra_syncpt_read()
546 struct host1x_syncpt *sp; in tegra_syncpt_incr()
560 struct host1x_syncpt *sp; in tegra_syncpt_wait()
656 struct host1x_syncpt *syncpt; in tegra_get_syncpt()
710 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base()
Dgr2d.c194 struct host1x_syncpt **syncpts; in gr2d_probe()
Dgr3d.c289 struct host1x_syncpt **syncpts; in gr3d_probe()
Dvic.c295 struct host1x_syncpt **syncpts; in vic_probe()
Ddc.h76 struct host1x_syncpt *syncpt;