/linux-master/fs/jfs/ |
H A D | jfs_logmgr.c | 276 * commit time to allow forwarding log syncpt past log 317 * forward log syncpt if log reached next syncpt trigger 924 int written; /* written since last syncpt */ 940 * forward syncpt 942 /* if last sync is same as last syncpt, 946 if (log->sync == log->syncpt) { 959 /* if sync is different from last syncpt, 960 * write a SYNCPT record with syncpt = sync. 961 * reset syncpt [all...] |
H A D | jfs_logmgr.h | 278 * replay log up to syncpt address specified; 281 __le32 sync; /* 4: syncpt address (0 = here) */ 282 } syncpt; member in union:lrd::__anon1803 356 * before writing syncpt. 379 /* syncpt */ 380 int nextsync; /* 4: bytes to write before next syncpt */ 394 int syncpt; /* 4: addr of last syncpt record */ member in struct:jfs_log 485 diff = (lsn) - (log)->syncpt;\
|
/linux-master/drivers/gpu/host1x/ |
H A D | cdma.c | 282 cdma->timeout.syncpt = job->syncpt; 320 struct host1x_syncpt *sp = job->syncpt; 322 /* Check whether this syncpt has completed, and bail if not */ 325 /* Start timer on next pending syncpt */ 370 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); 377 * completed based on the current HW syncpt value. It's likely there 379 * where a syncpt incr happens just prior/during the teardown. 441 host1x_syncpt_set_locked(job->syncpt); 447 if (job->syncpt ! [all...] |
H A D | dev.h | 20 #include "syncpt.h" 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, 135 struct host1x_syncpt *syncpt; member in struct:host1x
|
H A D | syncpt.c | 15 #include "syncpt.h" 62 struct host1x_syncpt *sp = host->syncpt; 138 struct host1x_syncpt *sp_base = host->syncpt; 143 * Unassign syncpt from channels for purposes of Tegra186 165 struct host1x_syncpt *sp_base = host->syncpt; 283 struct host1x_syncpt *syncpt; local 286 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), 288 if (!syncpt) 297 syncpt[ [all...] |
H A D | intr.c | 77 struct host1x_syncpt *sp = &host->syncpt[id]; 108 struct host1x_syncpt *syncpt = &host->syncpt[id]; local 110 spin_lock_init(&syncpt->fences.lock); 111 INIT_LIST_HEAD(&syncpt->fences.list);
|
H A D | job.c | 22 #include "syncpt.h" 101 if (job->syncpt) 102 host1x_syncpt_put(job->syncpt); 684 dev_dbg(dev, " SYNCPT_ID %d\n", job->syncpt->id);
|
H A D | debug.c | 92 u32 max = host1x_syncpt_read_max(m->syncpt + i); 93 u32 min = host1x_syncpt_load(m->syncpt + i); 96 spin_lock_irqsave(&m->syncpt[i].fences.lock, irqflags); 97 list_for_each(pos, &m->syncpt[i].fences.list) 99 spin_unlock_irqrestore(&m->syncpt[i].fences.lock, irqflags); 101 if (!kref_read(&m->syncpt[i].ref)) 109 i, m->syncpt[i].name, min, max, waiters); 115 base_val = host1x_syncpt_load_wait_base(m->syncpt + i);
|
H A D | cdma.h | 47 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member in struct:buffer_timeout 48 u32 syncpt_val; /* syncpt value when completed */
|
H A D | Makefile | 4 syncpt.o \
|
/linux-master/net/tipc/ |
H A D | node.c | 1938 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; local 1996 syncpt = oseqno + exp_pkts - 1; 2014 /* If pkts arrive out of order, use lowest calculated syncpt */ 2015 if (less(syncpt, n->sync_point)) 2016 n->sync_point = syncpt; 2036 syncpt = msg_syncpt(hdr); 2038 syncpt = msg_seqno(msg_inner_hdr(hdr)) + exp_pkts - 1; 2042 n->sync_point = syncpt;
|
H A D | link.c | 1968 u16 syncpt; local 1992 syncpt = l->snd_nxt + skb_queue_len(&l->backlogq) - 1; 1993 msg_set_syncpt(hdr, syncpt);
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | drm.c | 177 struct drm_tegra_syncpt syncpt; local 303 if (copy_from_user(&syncpt, user_syncpt, sizeof(syncpt))) { 309 sp = host1x_syncpt_get_by_id(host1x, syncpt.id); 317 job->syncpt_incrs = syncpt.incrs; 318 job->syncpt = sp; 520 struct host1x_syncpt *syncpt; local 536 syncpt = context->client->base.syncpts[args->index]; 537 args->id = host1x_syncpt_id(syncpt); 574 struct host1x_syncpt *syncpt; local [all...] |
H A D | dc.c | 1767 if (dc->syncpt && !dc->soc->has_nvdisplay) 1768 return host1x_syncpt_read(dc->syncpt); 2170 if (dc->syncpt) { 2171 u32 syncpt = host1x_syncpt_id(dc->syncpt), enable; local 2181 value = enable | syncpt; 2636 dc->syncpt = host1x_syncpt_request(client, flags); 2637 if (!dc->syncpt) 2721 host1x_syncpt_put(dc->syncpt); 2746 host1x_syncpt_put(dc->syncpt); [all...] |
H A D | dc.h | 84 struct host1x_syncpt *syncpt; member in struct:tegra_dc
|
H A D | submit.c | 332 if (args->syncpt.flags) { 333 SUBMIT_ERR(context, "invalid flag specified for syncpt"); 338 sp = xa_load(syncpoints, args->syncpt.id); 340 SUBMIT_ERR(context, "syncpoint specified in syncpt was not allocated"); 344 job->syncpt = host1x_syncpt_get(sp); 345 job->syncpt_incrs = args->syncpt.increments; 457 if (cmd->wait_syncpt.id != args->syncpt.id) { 646 args->syncpt.value = job->syncpt_end; 649 struct dma_fence *fence = host1x_fence_create(job->syncpt, job->syncpt_end, true);
|
/linux-master/include/linux/ |
H A D | host1x.h | 290 struct host1x_syncpt *syncpt; member in struct:host1x_job
|
/linux-master/drivers/gpu/host1x/hw/ |
H A D | channel_hw.c | 165 struct host1x_syncpt *sp = job->syncpt; 215 struct host1x_syncpt *sp = job->syncpt; 231 HOST1X_UCLASS_INCR_SYNCPT_INDX_F(job->syncpt->id) | 233 submit_wait(job, job->syncpt->id, fence, job->class); 243 HOST1X_UCLASS_INCR_SYNCPT_INDX_F(job->syncpt->id) | 245 submit_wait(job, job->syncpt->id, fence, job->class); 259 host1x_class_host_wait_syncpt(job->syncpt->id, 290 struct host1x_syncpt *sp = job->syncpt; 298 job->syncpt->id, job->syncpt_incrs);
|
H A D | cdma_hw.c | 26 * Increment timedout buffer's syncpt via CPU. 34 host1x_syncpt_incr(cdma->timeout.syncpt); 37 host1x_syncpt_load(cdma->timeout.syncpt); 303 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); 316 __func__, cdma->timeout.syncpt->id, cdma->timeout.syncpt->name,
|
H A D | debug_hw.c | 201 host1x_debug_output(o, "JOB, syncpt %u: %u timeout: %u num_slots: %u num_handles: %u\n", 202 job->syncpt->id, job->syncpt_end, job->timeout,
|
/linux-master/include/uapi/drm/ |
H A D | tegra_drm.h | 235 * @syncpt: 239 __u32 syncpt; member in struct:drm_tegra_get_syncpt_base 377 * @syncpt: 381 __u32 syncpt; member in struct:drm_tegra_waitchk 991 struct drm_tegra_submit_syncpt syncpt; member in struct:drm_tegra_channel_submit
|