| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-main.c | 155 job->syncpt = host1x_syncpt_get(se->syncpt); in tegra_se_host1x_submit() 179 ret = host1x_syncpt_wait(job->syncpt, job->syncpt_end, in tegra_se_host1x_submit() 208 se->syncpt = host1x_syncpt_request(&se->client, 0); in tegra_se_client_init() 209 if (!se->syncpt) { in tegra_se_client_init() 210 dev_err(se->dev, "host1x syncpt allocation failed\n"); in tegra_se_client_init() 215 se->syncpt_id = host1x_syncpt_id(se->syncpt); in tegra_se_client_init() 242 host1x_syncpt_put(se->syncpt); in tegra_se_client_init() 255 host1x_syncpt_put(se->syncpt); in tegra_se_client_deinit()
|
| /linux/drivers/gpu/host1x/ |
| H A D | dev.h | 21 #include "syncpt.h" 67 void (*restore)(struct host1x_syncpt *syncpt); 68 void (*restore_wait_base)(struct host1x_syncpt *syncpt); 69 void (*load_wait_base)(struct host1x_syncpt *syncpt); 70 u32 (*load)(struct host1x_syncpt *syncpt); 71 int (*cpu_incr)(struct host1x_syncpt *syncpt); 72 void (*assign_to_channel)(struct host1x_syncpt *syncpt, 137 struct host1x_syncpt *syncpt; member
|
| H A D | intr.c | 77 struct host1x_syncpt *sp = &host->syncpt[id]; in host1x_intr_handle_interrupt() 108 struct host1x_syncpt *syncpt = &host->syncpt[id]; in host1x_intr_init() local 110 spin_lock_init(&syncpt->fences.lock); in host1x_intr_init() 111 INIT_LIST_HEAD(&syncpt->fences.list); in host1x_intr_init()
|
| H A D | cdma.h | 47 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member 48 u32 syncpt_val; /* syncpt value when completed */
|
| H A D | job.c | 22 #include "syncpt.h" 101 if (job->syncpt) in job_free() 102 host1x_syncpt_put(job->syncpt); in job_free() 684 dev_dbg(dev, " SYNCPT_ID %d\n", job->syncpt->id); in host1x_job_dump()
|
| H A D | fence.c | 16 #include "syncpt.h"
|
| H A D | dev.c | 557 sprintf(irq_name, "syncpt%d", i); in host1x_probe()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | submit.c | 332 if (args->syncpt.flags) { in submit_get_syncpt() 333 SUBMIT_ERR(context, "invalid flag specified for syncpt"); in submit_get_syncpt() 337 /* Syncpt ref will be dropped on job release */ in submit_get_syncpt() 338 sp = xa_load(syncpoints, args->syncpt.id); in submit_get_syncpt() 340 SUBMIT_ERR(context, "syncpoint specified in syncpt was not allocated"); in submit_get_syncpt() 344 job->syncpt = host1x_syncpt_get(sp); in submit_get_syncpt() 345 job->syncpt_incrs = args->syncpt.increments; in submit_get_syncpt() 457 if (cmd->wait_syncpt.id != args->syncpt.id) { in submit_create_job() 646 args->syncpt.value = job->syncpt_end; in tegra_drm_ioctl_channel_submit() 649 struct dma_fence *fence = host1x_fence_create(job->syncpt, job->syncpt_end, true); in tegra_drm_ioctl_channel_submit()
|
| H A D | drm.c | 178 struct drm_tegra_syncpt syncpt; in tegra_drm_submit() local 304 if (copy_from_user(&syncpt, user_syncpt, sizeof(syncpt))) { in tegra_drm_submit() 310 sp = host1x_syncpt_get_by_id(host1x, syncpt.id); in tegra_drm_submit() 318 job->syncpt_incrs = syncpt.incrs; in tegra_drm_submit() 319 job->syncpt = sp; in tegra_drm_submit() 521 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local 537 syncpt = context->client->base.syncpts[args->index]; in tegra_get_syncpt() 538 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt() 575 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base() local 586 if (args->syncpt >= context->client->base.num_syncpts) { in tegra_get_syncpt_base() [all …]
|
| H A D | dc.c | 1776 if (dc->syncpt && !dc->soc->has_nvdisplay) in tegra_dc_get_vblank_counter() 1777 return host1x_syncpt_read(dc->syncpt); in tegra_dc_get_vblank_counter() 2179 if (dc->syncpt) { in tegra_crtc_atomic_enable() 2180 u32 syncpt = host1x_syncpt_id(dc->syncpt), enable; in tegra_crtc_atomic_enable() local 2190 value = enable | syncpt; in tegra_crtc_atomic_enable() 2645 dc->syncpt = host1x_syncpt_request(client, flags); in tegra_dc_init() 2646 if (!dc->syncpt) in tegra_dc_init() 2730 host1x_syncpt_put(dc->syncpt); in tegra_dc_init() 2755 host1x_syncpt_put(dc->syncpt); in tegra_dc_exit()
|
| H A D | dc.h | 84 struct host1x_syncpt *syncpt; member
|
| /linux/Documentation/devicetree/bindings/display/tegra/ |
| H A D | nvidia,tegra20-host1x.yaml | 133 - const: syncpt 170 - const: syncpt 252 interrupts = <0 65 0x04>, /* mpcore syncpt */ 254 interrupt-names = "syncpt", "host1x"; 388 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* mpcore syncpt */ 390 interrupt-names = "syncpt", "host1x";
|
| /linux/drivers/staging/media/tegra-video/ |
| H A D | tegra210.c | 432 * Tegra VI block interacts with host1x syncpt to synchronize in tegra_channel_capture_frame() 438 * register are added to HW syncpt FIFO and when HW triggers, in tegra_channel_capture_frame() 439 * syncpt condition is removed from the FIFO and counter at in tegra_channel_capture_frame() 449 /* Program FRAME_START trigger condition syncpt request */ in tegra_channel_capture_frame() 459 /* Program MW_ACK_DONE trigger condition syncpt request */ in tegra_channel_capture_frame() 473 * Wait for syncpt counter to reach frame start event threshold in tegra_channel_capture_frame() 491 "frame start syncpt timeout: %d\n", err); in tegra_channel_capture_frame() 517 * Wait for syncpt counter to reach MW_ACK_DONE event threshold in tegra_channel_capture_done() 534 "MW_ACK_DONE syncpt timeout: %d\n", ret); in tegra_channel_capture_done() 620 /* clear syncpt errors */ in tegra210_vi_start_streaming()
|
| /linux/drivers/gpu/host1x/hw/ |
| H A D | debug_hw_1x01.c | 43 host1x_debug_output(o, "waiting on syncpt %d val %d\n", in host1x_debug_show_channel_cdma() 53 host1x_debug_output(o, "waiting on syncpt %d val %d (base %d = %d; offset = %d)\n", in host1x_debug_show_channel_cdma()
|
| H A D | syncpt_hw.c | 11 #include "../syncpt.h"
|
| H A D | debug_hw_1x06.c | 52 host1x_debug_output(o, "waiting on syncpt\n"); in host1x_debug_show_channel_cdma()
|
| /linux/include/uapi/drm/ |
| H A D | tegra_drm.h | 235 * @syncpt: 239 __u32 syncpt; member 377 * @syncpt: 381 __u32 syncpt; member 991 struct drm_tegra_submit_syncpt syncpt; member
|
| /linux/net/tipc/ |
| H A D | node.c | 1938 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; in tipc_node_check_state() local 1996 syncpt = oseqno + exp_pkts - 1; in tipc_node_check_state() 2014 /* If pkts arrive out of order, use lowest calculated syncpt */ in tipc_node_check_state() 2015 if (less(syncpt, n->sync_point)) in tipc_node_check_state() 2016 n->sync_point = syncpt; in tipc_node_check_state() 2036 syncpt = msg_syncpt(hdr); in tipc_node_check_state() 2038 syncpt = msg_seqno(msg_inner_hdr(hdr)) + exp_pkts - 1; in tipc_node_check_state() 2042 n->sync_point = syncpt; in tipc_node_check_state()
|
| H A D | link.c | 1958 u16 syncpt; in tipc_link_tnl_prepare() local 1982 syncpt = l->snd_nxt + skb_queue_len(&l->backlogq) - 1; in tipc_link_tnl_prepare() 1983 msg_set_syncpt(hdr, syncpt); in tipc_link_tnl_prepare()
|
| /linux/Documentation/gpu/ |
| H A D | tegra.rst | 58 .. kernel-doc:: drivers/gpu/host1x/syncpt.c
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra132.dtsi | 88 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */ 90 interrupt-names = "syncpt", "host1x";
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra124.dtsi | 92 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */ 94 interrupt-names = "syncpt", "host1x";
|