/Linux-v4.19/drivers/gpu/host1x/ |
D | intr.c | 167 struct host1x_syncpt *syncpt, in process_wait_list() argument 177 spin_lock(&syncpt->intr.lock); in process_wait_list() 179 remove_completed_waiters(&syncpt->intr.wait_head, threshold, in process_wait_list() 182 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list() 184 host1x_hw_intr_disable_syncpt_intr(host, syncpt->id); in process_wait_list() 186 reset_threshold_interrupt(host, &syncpt->intr.wait_head, in process_wait_list() 187 syncpt->id); in process_wait_list() 189 spin_unlock(&syncpt->intr.lock); in process_wait_list() 205 struct host1x_syncpt *syncpt = in syncpt_thresh_work() local 207 unsigned int id = syncpt->id; in syncpt_thresh_work() [all …]
|
D | syncpt.c | 60 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() 132 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore() 150 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save() 379 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local 382 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init() 384 if (!syncpt) in host1x_syncpt_init() 393 syncpt[i].id = i; in host1x_syncpt_init() 394 syncpt[i].host = host; in host1x_syncpt_init() 401 host1x_hw_syncpt_assign_to_channel(host, &syncpt[i], NULL); in host1x_syncpt_init() 408 host->syncpt = syncpt; in host1x_syncpt_init() [all …]
|
D | dev.h | 51 int (*timeout_init)(struct host1x_cdma *cdma, unsigned int 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; member 265 unsigned int syncpt) in host1x_hw_cdma_timeout_init() argument 267 return host->cdma_op->timeout_init(cdma, syncpt); in host1x_hw_cdma_timeout_init()
|
D | debug.c | 82 u32 max = host1x_syncpt_read_max(m->syncpt + i); in show_syncpts() 83 u32 min = host1x_syncpt_load(m->syncpt + i); in show_syncpts() 89 i, m->syncpt[i].name, min, max); in show_syncpts() 95 base_val = host1x_syncpt_load_wait_base(m->syncpt + i); in show_syncpts()
|
D | Makefile | 4 syncpt.o \
|
D | intr.h | 79 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
|
D | cdma.h | 57 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member
|
D | cdma.c | 235 cdma->timeout.syncpt = host1x_syncpt_get(host, job->syncpt_id); in cdma_start_timer_locked() 328 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in host1x_cdma_update_sync_queue()
|
/Linux-v4.19/drivers/gpu/host1x/hw/ |
D | intr_hw.c | 31 static void host1x_intr_syncpt_handle(struct host1x_syncpt *syncpt) in host1x_intr_syncpt_handle() argument 33 unsigned int id = syncpt->id; in host1x_intr_syncpt_handle() 34 struct host1x *host = syncpt->host; in host1x_intr_syncpt_handle() 41 schedule_work(&syncpt->intr.work); in host1x_intr_syncpt_handle() 54 struct host1x_syncpt *syncpt = in syncpt_thresh_isr() local 55 host->syncpt + (i * 32 + id); in syncpt_thresh_isr() 56 host1x_intr_syncpt_handle(syncpt); in syncpt_thresh_isr() 102 INIT_WORK(&host->syncpt[i].intr.work, syncpt_thresh_work); in _host1x_intr_init_host_sync() 147 cancel_work_sync(&host->syncpt[i].intr.work); in _host1x_free_syncpt_irq()
|
D | cdma_hw.c | 47 host1x_syncpt_incr(cdma->timeout.syncpt); in cdma_timeout_cpu_incr() 50 host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_cpu_incr() 277 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_handler() 290 __func__, cdma->timeout.syncpt->id, cdma->timeout.syncpt->name, in cdma_timeout_handler() 303 static int cdma_timeout_init(struct host1x_cdma *cdma, unsigned int syncpt) in cdma_timeout_init() argument
|
D | channel_hw.c | 79 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base() 104 sp = host->syncpt + job->syncpt_id; in channel_submit()
|
/Linux-v4.19/drivers/gpu/drm/tegra/ |
D | drm.c | 321 struct drm_tegra_syncpt syncpt; in tegra_drm_submit() local 446 if (copy_from_user(&syncpt, user_syncpt, sizeof(syncpt))) { in tegra_drm_submit() 452 sp = host1x_syncpt_get(host1x, syncpt.id); in tegra_drm_submit() 460 job->syncpt_incrs = syncpt.incrs; in tegra_drm_submit() 461 job->syncpt_id = syncpt.id; in tegra_drm_submit() 656 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local 672 syncpt = context->client->base.syncpts[args->index]; in tegra_get_syncpt() 673 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt() 710 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base() local 721 if (args->syncpt >= context->client->base.num_syncpts) { in tegra_get_syncpt_base() [all …]
|
D | dc.c | 1545 if (dc->syncpt && !dc->soc->has_nvdisplay) in tegra_dc_get_vblank_counter() 1546 return host1x_syncpt_read(dc->syncpt); in tegra_dc_get_vblank_counter() 1791 if (dc->syncpt) { in tegra_crtc_atomic_enable() 1792 u32 syncpt = host1x_syncpt_id(dc->syncpt), enable; in tegra_crtc_atomic_enable() local 1802 value = enable | syncpt; in tegra_crtc_atomic_enable() 1991 dc->syncpt = host1x_syncpt_request(client, flags); in tegra_dc_init() 1992 if (!dc->syncpt) in tegra_dc_init() 2065 host1x_syncpt_free(dc->syncpt); in tegra_dc_init() 2084 host1x_syncpt_free(dc->syncpt); in tegra_dc_exit()
|
D | dc.h | 76 struct host1x_syncpt *syncpt; member
|
/Linux-v4.19/fs/jfs/ |
D | jfs_logmgr.h | 295 } syncpt; member 407 int syncpt; /* 4: addr of last syncpt record */ member 498 diff = (lsn) - (log)->syncpt;\
|
D | jfs_logmgr.c | 967 if (log->sync == log->syncpt) { in lmLogSync() 984 if (log->sync != log->syncpt) { in lmLogSync() 989 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync() 992 log->syncpt = log->sync; in lmLogSync() 1026 log->syncpt = log->sync = lsn; in lmLogSync() 1041 log->syncpt); in lmLogSync() 1387 lrd.log.syncpt.sync = 0; in lmLogInit() 1411 log->syncpt = lsn; in lmLogInit() 1412 log->sync = log->syncpt; in lmLogInit() 1416 log->lsn, log->syncpt, log->sync); in lmLogInit() [all …]
|
/Linux-v4.19/include/uapi/drm/ |
D | tegra_drm.h | 256 __u32 syncpt; member 398 __u32 syncpt; member
|
/Linux-v4.19/net/tipc/ |
D | node.c | 1565 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; in tipc_node_check_state() local 1616 syncpt = oseqno + exp_pkts - 1; in tipc_node_check_state() 1631 if (less(syncpt, n->sync_point)) in tipc_node_check_state() 1632 n->sync_point = syncpt; in tipc_node_check_state() 1651 syncpt = iseqno + exp_pkts - 1; in tipc_node_check_state() 1655 n->sync_point = syncpt; in tipc_node_check_state()
|
/Linux-v4.19/Documentation/gpu/ |
D | tegra.rst | 58 .. kernel-doc:: drivers/gpu/host1x/syncpt.c
|
/Linux-v4.19/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra20-host1x.txt | 289 interrupts = <0 65 0x04 /* mpcore syncpt */
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | tegra114.dtsi | 22 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
|
D | tegra20.dtsi | 35 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
|
D | tegra30.dtsi | 115 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
|
D | tegra124.dtsi | 89 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
|
/Linux-v4.19/arch/arm64/boot/dts/nvidia/ |
D | tegra132.dtsi | 87 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
|