Home
last modified time | relevance | path

Searched refs:push (Results 1 – 25 of 114) sorted by relevance

12345

/drivers/gpu/drm/nouveau/
Dnv50_display.c459 evo_kick(u32 *push, void *evoc) in evo_kick() argument
462 nvif_wr32(&dmac->base.user, 0x0000, (push - dmac->ptr) << 2); in evo_kick()
497 u32 *push = evo_wait(mast, 8); in evo_sync() local
498 if (push) { in evo_sync()
500 evo_mthd(push, 0x0084, 1); in evo_sync()
501 evo_data(push, 0x80000000 | EVO_MAST_NTFY); in evo_sync()
502 evo_mthd(push, 0x0080, 2); in evo_sync()
503 evo_data(push, 0x00000000); in evo_sync()
504 evo_data(push, 0x00000000); in evo_sync()
505 evo_kick(push, mast); in evo_sync()
[all …]
Dnouveau_chan.c82 nvif_object_fini(&chan->push.ctxdma); in nouveau_channel_del()
83 nouveau_bo_vma_del(chan->push.buffer, &chan->push.vma); in nouveau_channel_del()
84 nouveau_bo_unmap(chan->push.buffer); in nouveau_channel_del()
85 if (chan->push.buffer && chan->push.buffer->pin_refcnt) in nouveau_channel_del()
86 nouveau_bo_unpin(chan->push.buffer); in nouveau_channel_del()
87 nouveau_bo_ref(NULL, &chan->push.buffer); in nouveau_channel_del()
117 &chan->push.buffer); in nouveau_channel_prep()
119 ret = nouveau_bo_pin(chan->push.buffer, target, false); in nouveau_channel_prep()
121 ret = nouveau_bo_map(chan->push.buffer); in nouveau_channel_prep()
133 chan->push.vma.offset = chan->push.buffer->bo.offset; in nouveau_channel_prep()
[all …]
Dnouveau_gem.c675 struct drm_nouveau_gem_pushbuf_push *push; in nouveau_gem_ioctl_pushbuf() local
718 push = u_memcpya(req->push, req->nr_push, sizeof(*push)); in nouveau_gem_ioctl_pushbuf()
719 if (IS_ERR(push)) in nouveau_gem_ioctl_pushbuf()
720 return nouveau_abi16_put(abi16, PTR_ERR(push)); in nouveau_gem_ioctl_pushbuf()
724 u_free(push); in nouveau_gem_ioctl_pushbuf()
730 if (push[i].bo_index >= req->nr_buffers) { in nouveau_gem_ioctl_pushbuf()
764 bo[push[i].bo_index].user_priv; in nouveau_gem_ioctl_pushbuf()
766 nv50_dma_push(chan, nvbo, push[i].offset, in nouveau_gem_ioctl_pushbuf()
767 push[i].length); in nouveau_gem_ioctl_pushbuf()
779 bo[push[i].bo_index].user_priv; in nouveau_gem_ioctl_pushbuf()
[all …]
Dnouveau_dma.c34 u32 *mem = ttm_kmap_obj_virtual(&chan->push.buffer->kmap, &is_iomem); in OUT_RINGp()
74 if (val < chan->push.vma.offset || in READ_GET()
75 val > chan->push.vma.offset + (chan->dma.max << 2)) in READ_GET()
78 return (val - chan->push.vma.offset) >> 2; in READ_GET()
86 struct nouveau_bo *pb = chan->push.buffer; in nv50_dma_push()
227 OUT_RING(chan, chan->push.vma.offset | 0x20000000); in nouveau_dma_wait()
Dnouveau_dma.h104 nouveau_bo_wr32(chan->push.buffer, chan->dma.cur++, data); in OUT_RING()
142 nouveau_bo_rd32(chan->push.buffer, 0); \
143 nvif_wr32(&chan->user, chan->user_put, ((val) << 2) + chan->push.vma.offset); \
154 nv50_dma_push(chan, chan->push.buffer, chan->dma.put << 2, in FIRE_RING()
Dnvc0_fbcon.c130 int push = dwords > 2047 ? 2047 : dwords; in nvc0_fbcon_imageblit() local
132 ret = RING_SPACE(chan, push + 1); in nvc0_fbcon_imageblit()
136 dwords -= push; in nvc0_fbcon_imageblit()
138 BEGIN_NIC0(chan, NvSub2D, 0x0860, push); in nvc0_fbcon_imageblit()
139 OUT_RINGp(chan, data, push); in nvc0_fbcon_imageblit()
140 data += push; in nvc0_fbcon_imageblit()
Dnv50_fbcon.c130 int push = dwords > 2047 ? 2047 : dwords; in nv50_fbcon_imageblit() local
132 ret = RING_SPACE(chan, push + 1); in nv50_fbcon_imageblit()
136 dwords -= push; in nv50_fbcon_imageblit()
138 BEGIN_NI04(chan, NvSub2D, 0x0860, push); in nv50_fbcon_imageblit()
139 OUT_RINGp(chan, data, push); in nv50_fbcon_imageblit()
140 data += push; in nv50_fbcon_imageblit()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc75 push $r13
98 push $r9
99 push $r8
119 push $r9
120 push $r8
177 push $r0
179 push $r8
180 push $r9
181 push $r10
182 push $r11
[all …]
Darith.fuc53 push $r1 // A_hi
54 push $r2 // B_hi
55 push $r3 // tmp0
56 push $r4 // tmp1
Di2c_.fuc139 */ push $r5 /*
160 push $r4
323 push $r13
324 push $r14
326 push $r13
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c114 esw_vlan_action_get_vport(struct mlx5_esw_flow_attr *attr, bool push, bool pop) in esw_vlan_action_get_vport() argument
121 if (push) in esw_vlan_action_get_vport()
132 bool push, bool pop, bool fwd) in esw_add_vlan_action_check() argument
136 if ((push || pop) && !fwd) in esw_add_vlan_action_check()
142 if (push && in_rep->vport == FDB_UPLINK_VPORT) in esw_add_vlan_action_check()
149 if (!push && !pop && fwd) in esw_add_vlan_action_check()
156 if (push && in_rep->vlan_refcount && (in_rep->vlan != attr->vlan)) in esw_add_vlan_action_check()
170 bool push, pop, fwd; in mlx5_eswitch_add_vlan_action() local
173 push = !!(attr->action & MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH); in mlx5_eswitch_add_vlan_action()
177 err = esw_add_vlan_action_check(attr, push, pop, fwd); in mlx5_eswitch_add_vlan_action()
[all …]
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_util.c52 sema_init(&queue->push, 0); in vchiu_queue_init()
105 up(&queue->push); in vchiu_queue_push()
111 if (down_interruptible(&queue->push) != 0) { in vchiu_queue_peek()
116 up(&queue->push); // We haven't removed anything from the queue. in vchiu_queue_peek()
132 if (down_interruptible(&queue->push) != 0) { in vchiu_queue_pop()
/drivers/rtc/
Drtc-sysfs.c160 unsigned long push = 0; in wakealarm_store() local
179 push = 1; in wakealarm_store()
189 if (alarm > now || push) { in wakealarm_store()
198 if (push) { in wakealarm_store()
199 rtc_tm_to_time(&alm.time, &push); in wakealarm_store()
200 alarm += push; in wakealarm_store()
203 } else if (push) in wakealarm_store()
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dcorenv50.c45 u64 push; in nv50_disp_core_new() local
53 push = args->v0.pushbuf; in nv50_disp_core_new()
58 push, oclass, pobject); in nv50_disp_core_new()
207 nvkm_wr32(device, 0x610204, chan->push); in nv50_disp_core_init()
Dovlynv50.c46 u64 push; in nv50_disp_ovly_new() local
55 push = args->v0.pushbuf; in nv50_disp_ovly_new()
61 head, push, oclass, pobject); in nv50_disp_ovly_new()
Dbasenv50.c46 u64 push; in nv50_disp_base_new() local
55 push = args->v0.pushbuf; in nv50_disp_base_new()
61 head, push, oclass, pobject); in nv50_disp_base_new()
Ddmacnv50.c136 struct nv50_disp_root *root, int chid, int head, u64 push, in nv50_disp_dmac_new_() argument
156 dmaobj = nvkm_dma_search(device->dma, client, push); in nv50_disp_dmac_new_()
165 chan->push = 0x00000001 | dmaobj->start >> 8; in nv50_disp_dmac_new_()
168 chan->push = 0x00000003 | dmaobj->start >> 8; in nv50_disp_dmac_new_()
224 nvkm_wr32(device, 0x610204 + (ctrl * 0x0010), chan->push); in nv50_disp_dmac_init()
Ddmacnv50.h9 u32 push; member
20 struct nv50_disp_root *, int chid, int head, u64 push,
/drivers/md/
Ddm-kcopyd.c406 static void push(struct list_head *jobs, struct kcopyd_job *job) in push() function
474 push(&kc->complete_jobs, job); in complete_io()
481 push(&kc->complete_jobs, job); in complete_io()
485 push(&kc->io_jobs, job); in complete_io()
527 push(&job->kc->io_jobs, job); in run_pages_job()
558 push(&kc->complete_jobs, job); in process_jobs()
610 push(&kc->complete_jobs, job); in dispatch_job()
612 push(&kc->io_jobs, job); in dispatch_job()
614 push(&kc->pages_jobs, job); in dispatch_job()
681 push(&kc->complete_jobs, job); in segment_complete()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dgpc.fuc68 push $r14
77 push $r9
326 push $r0
327 push $r8
329 push $r8
330 push $r9
331 push $r10
332 push $r11
333 push $r13
334 push $r14
[all …]
Dhub.fuc241 push $r2
255 push $r2
310 push $r0
311 push $r8
313 push $r8
314 push $r9
315 push $r10
316 push $r11
317 push $r13
318 push $r14
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchannv50.h21 int nv50_fifo_chan_ctor(struct nv50_fifo *, u64 vm, u64 push,
28 int g84_fifo_chan_ctor(struct nv50_fifo *, u64 vm, u64 push,
Dchan.c330 nvkm_gpuobj_del(&chan->push); in nvkm_fifo_chan_dtor()
350 u64 vm, u64 push, u64 engines, int bar, u32 base, u32 user, in nvkm_fifo_chan_ctor() argument
373 if (push) { in nvkm_fifo_chan_ctor()
374 dmaobj = nvkm_dma_search(device->dma, oclass->client, push); in nvkm_fifo_chan_ctor()
379 &chan->push); in nvkm_fifo_chan_ctor()
/drivers/tty/serial/
Dip22zilog.c256 bool push = up->port.state != NULL; in ip22zilog_receive_chars() local
310 if (push) in ip22zilog_receive_chars()
313 return push; in ip22zilog_receive_chars()
437 bool push = false; in ip22zilog_interrupt() local
449 push = ip22zilog_receive_chars(up, channel); in ip22zilog_interrupt()
457 if (push) in ip22zilog_interrupt()
463 push = false; in ip22zilog_interrupt()
472 push = ip22zilog_receive_chars(up, channel); in ip22zilog_interrupt()
480 if (push) in ip22zilog_interrupt()
/drivers/iio/buffer/
DKconfig7 tristate "IIO callback buffer used for push in-kernel interfaces"
9 Should be selected by any drivers that do in-kernel push

12345