Home
last modified time | relevance | path

Searched refs:sync_pt (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/staging/android/
Dsw_sync.c36 struct sync_pt *sw_sync_pt_create(struct sw_sync_timeline *obj, u32 value) in sw_sync_pt_create()
45 return (struct sync_pt *)pt; in sw_sync_pt_create()
49 static struct sync_pt *sw_sync_pt_dup(struct sync_pt *sync_pt) in sw_sync_pt_dup() argument
51 struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt; in sw_sync_pt_dup()
53 (struct sw_sync_timeline *)sync_pt_parent(sync_pt); in sw_sync_pt_dup()
55 return (struct sync_pt *)sw_sync_pt_create(obj, pt->value); in sw_sync_pt_dup()
58 static int sw_sync_pt_has_signaled(struct sync_pt *sync_pt) in sw_sync_pt_has_signaled() argument
60 struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt; in sw_sync_pt_has_signaled()
62 (struct sw_sync_timeline *)sync_pt_parent(sync_pt); in sw_sync_pt_has_signaled()
67 static int sw_sync_pt_compare(struct sync_pt *a, struct sync_pt *b) in sw_sync_pt_compare()
[all …]
Dsync.h27 struct sync_pt;
55 struct sync_pt * (*dup)(struct sync_pt *pt);
58 int (*has_signaled)(struct sync_pt *pt);
61 int (*compare)(struct sync_pt *a, struct sync_pt *b);
64 void (*free_pt)(struct sync_pt *sync_pt);
70 int (*fill_driver_data)(struct sync_pt *syncpt, void *data, int size);
77 void (*pt_value_str)(struct sync_pt *pt, char *str, int size);
123 struct sync_pt { struct
130 static inline struct sync_timeline *sync_pt_parent(struct sync_pt *pt) in sync_pt_parent() argument
138 struct fence *sync_pt; member
[all …]
Dsync.c108 struct sync_pt *pt, *next; in sync_timeline_signal()
124 struct sync_pt *sync_pt_create(struct sync_timeline *obj, int size) in sync_pt_create()
127 struct sync_pt *pt; in sync_pt_create()
129 if (size < sizeof(struct sync_pt)) in sync_pt_create()
147 void sync_pt_free(struct sync_pt *pt) in sync_pt_free()
191 struct sync_fence *sync_fence_create(const char *name, struct sync_pt *pt) in sync_fence_create()
202 fence->cbs[0].sync_pt = &pt->base; in sync_fence_create()
247 fence->cbs[*i].sync_pt = pt; in sync_fence_add_pt()
278 struct fence *pt_a = a->cbs[i_a].sync_pt; in sync_fence_merge()
279 struct fence *pt_b = b->cbs[i_b].sync_pt; in sync_fence_merge()
[all …]
Dsw_sync.h32 struct sync_pt pt;
41 struct sync_pt *sw_sync_pt_create(struct sw_sync_timeline *obj, u32 value);
52 static inline struct sync_pt *sw_sync_pt_create(struct sw_sync_timeline *obj, in sw_sync_pt_create()
Dsync_debug.c85 static void sync_print_pt(struct seq_file *s, struct sync_pt *pt, bool fence) in sync_print_pt()
139 struct sync_pt *pt = in sync_print_obj()
140 container_of(pos, struct sync_pt, child_list); in sync_print_obj()
156 struct sync_pt *pt = in sync_print_fence()
157 container_of(fence->cbs[i].sync_pt, in sync_print_fence()
158 struct sync_pt, base); in sync_print_fence()
/linux-4.4.14/drivers/staging/android/trace/
Dsync.h56 TRACE_EVENT(sync_pt,