Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 25 of 235) sorted by relevance

12345678910

/linux/drivers/dma-buf/
A Ddma-resv.c334 cursor->seq = read_seqcount_begin(&cursor->obj->seq); in dma_resv_iter_restart_unlocked()
338 cursor->fences = dma_resv_shared_list(cursor->obj); in dma_resv_iter_restart_unlocked()
340 cursor->shared_count = cursor->fences->shared_count; in dma_resv_iter_restart_unlocked()
370 cursor->index >= cursor->shared_count) { in dma_resv_iter_walk_unlocked()
380 cursor->fence = dma_fence_get_rcu(cursor->fence); in dma_resv_iter_walk_unlocked()
381 if (!cursor->fence || !dma_fence_is_signaled(cursor->fence)) in dma_resv_iter_walk_unlocked()
398 } while (read_seqcount_retry(&cursor->obj->seq, cursor->seq)); in dma_resv_iter_first_unlocked()
417 restart = read_seqcount_retry(&cursor->obj->seq, cursor->seq); in dma_resv_iter_next_unlocked()
423 } while (read_seqcount_retry(&cursor->obj->seq, cursor->seq)); in dma_resv_iter_next_unlocked()
445 cursor->fences = dma_resv_shared_list(cursor->obj); in dma_resv_iter_first()
[all …]
/linux/drivers/gpu/drm/sti/
A Dsti_cursor.c112 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show()
118 cursor_dbg_pml(s, cursor, readl(cursor->regs + CUR_PML)); in cursor_dbg_show()
123 cursor_dbg_cml(s, cursor, readl(cursor->regs + CUR_CML)); in cursor_dbg_show()
230 dma_free_wc(cursor->dev, cursor->pixmap.size, in sti_cursor_atomic_check()
231 cursor->pixmap.base, cursor->pixmap.paddr); in sti_cursor_atomic_check()
233 cursor->pixmap.size = cursor->width * cursor->height; in sti_cursor_atomic_check()
235 cursor->pixmap.base = dma_alloc_wc(cursor->dev, in sti_cursor_atomic_check()
296 writel(cursor->pixmap.paddr, cursor->regs + CUR_PML); in sti_cursor_atomic_update()
297 writel(cursor->width, cursor->regs + CUR_PMP); in sti_cursor_atomic_update()
298 writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE); in sti_cursor_atomic_update()
[all …]
/linux/scripts/
A Dasn1_compiler.c824 filename, cursor->line, cursor->content); in parse()
892 filename, cursor->line, cursor->content); in parse_type()
900 filename, cursor->line, cursor->content); in parse_type()
907 if (p - cursor->content != cursor->size) in parse_type()
915 filename, cursor->line, cursor->content); in parse_type()
1016 filename, cursor->line, cursor->content); in parse_type()
1066 filename, cursor->line, cursor->content); in parse_type()
1084 filename, cursor->line, cursor->content); in parse_type()
1136 filename, cursor->line, cursor->content); in parse_type()
1155 filename, cursor->line, cursor->content); in parse_compound()
[all …]
/linux/fs/xfs/
A Dxfs_attr_list.c42 (!((cursor)->initted) && !((cursor)->hashval) && \
43 !((cursor)->blkno) && !((cursor)->offset))
55 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local
153 cursor->initted = 1; in xfs_attr_shortform_list()
154 cursor->blkno = 0; in xfs_attr_shortform_list()
189 cursor->offset++; in xfs_attr_shortform_list()
219 cursor->blkno = 0; in xfs_attr_node_list_lookup()
286 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_node_list() local
297 cursor->initted = 1; in xfs_attr_node_list()
391 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr3_leaf_list_int() local
[all …]
/linux/net/ceph/
A Dmessenger.c784 cursor->bvec_iter.bi_size = cursor->resid; in ceph_msg_data_bvecs_cursor_init()
852 cursor->last_piece = cursor->page_offset + cursor->resid <= PAGE_SIZE; in ceph_msg_data_pages_cursor_init()
863 BUG_ON(cursor->page_index >= cursor->page_count); in ceph_msg_data_pages_next()
894 BUG_ON(cursor->page_index >= cursor->page_count); in ceph_msg_data_pages_advance()
896 cursor->last_piece = cursor->resid <= PAGE_SIZE; in ceph_msg_data_pages_advance()
927 cursor->last_piece = cursor->resid <= PAGE_SIZE; in ceph_msg_data_pagelist_cursor_init()
943 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_next()
966 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_advance()
983 cursor->page = list_next_entry(cursor->page, lru); in ceph_msg_data_pagelist_advance()
984 cursor->last_piece = cursor->resid <= PAGE_SIZE; in ceph_msg_data_pagelist_advance()
[all …]
/linux/include/linux/
A Ddma-resv.h198 cursor->obj = obj; in dma_resv_iter_begin()
199 cursor->all_fences = all_fences; in dma_resv_iter_begin()
200 cursor->fence = NULL; in dma_resv_iter_begin()
212 dma_fence_put(cursor->fence); in dma_resv_iter_end()
223 return cursor->index == 0; in dma_resv_iter_is_exclusive()
234 return cursor->is_restarted; in dma_resv_iter_is_restarted()
249 for (fence = dma_resv_iter_first_unlocked(cursor); \
250 fence; fence = dma_resv_iter_next_unlocked(cursor))
266 for (dma_resv_iter_begin(cursor, obj, all_fences), \
267 fence = dma_resv_iter_first(cursor); fence; \
[all …]
/linux/drivers/staging/sm750fb/
A Dsm750_cursor.c23 writel((data), cursor->mmio + (addr))
63 cursor->w = w; in sm750_hw_cursor_setSize()
64 cursor->h = h; in sm750_hw_cursor_setSize()
94 pitch = cursor->w >> 3; in sm750_hw_cursor_setData()
97 count = pitch * cursor->h; in sm750_hw_cursor_setData()
100 offset = cursor->max_w * 2 / 8; in sm750_hw_cursor_setData()
103 pstart = cursor->vstart; in sm750_hw_cursor_setData()
144 pitch = cursor->w >> 3; in sm750_hw_cursor_setData2()
147 count = pitch * cursor->h; in sm750_hw_cursor_setData2()
150 offset = cursor->max_w * 2 / 8; in sm750_hw_cursor_setData2()
[all …]
A Dsm750_cursor.h6 void sm750_hw_cursor_enable(struct lynx_cursor *cursor);
7 void sm750_hw_cursor_disable(struct lynx_cursor *cursor);
8 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h);
9 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y);
10 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg);
11 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
13 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
/linux/drivers/video/fbdev/aty/
A Dmach64_cursor.c82 if (cursor->enable) in atyfb_cursor()
90 if (cursor->set & FB_CUR_SETPOS) { in atyfb_cursor()
91 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; in atyfb_cursor()
99 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; in atyfb_cursor()
107 h = cursor->image.height; in atyfb_cursor()
125 if (cursor->set & FB_CUR_SETCMAP) { in atyfb_cursor()
128 fg_idx = cursor->image.fg_color; in atyfb_cursor()
129 bg_idx = cursor->image.bg_color; in atyfb_cursor()
145 u8 *src = (u8 *)cursor->image.data; in atyfb_cursor()
146 u8 *msk = (u8 *)cursor->mask; in atyfb_cursor()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_cursor.c291 plane->cursor.base = base; in i845_update_cursor()
292 plane->cursor.size = size; in i845_update_cursor()
759 if (IS_ERR(cursor)) in intel_cursor_plane_create()
760 return cursor; in intel_cursor_plane_create()
762 cursor->pipe = pipe; in intel_cursor_plane_create()
765 cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id); in intel_cursor_plane_create()
781 cursor->cursor.base = ~0; in intel_cursor_plane_create()
782 cursor->cursor.cntl = ~0; in intel_cursor_plane_create()
785 cursor->cursor.size = ~0; in intel_cursor_plane_create()
811 return cursor; in intel_cursor_plane_create()
[all …]
/linux/tools/perf/util/
A Dcallchain.h160 struct callchain_cursor_node cursor; member
197 struct callchain_cursor *cursor,
200 int callchain_merge(struct callchain_cursor *cursor,
203 void callchain_cursor_reset(struct callchain_cursor *cursor);
214 cursor->curr = cursor->first; in callchain_cursor_commit()
215 cursor->pos = 0; in callchain_cursor_commit()
220 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument
222 if (cursor->pos == cursor->nr) in callchain_cursor_current()
225 return cursor->curr; in callchain_cursor_current()
230 cursor->curr = cursor->curr->next; in callchain_cursor_advance()
[all …]
A Dcallchain.c570 node->val_nr = cursor->nr - cursor->pos; in fill_node()
919 u64 start = cursor->pos; in append_chain()
964 if (matches == root->val_nr && cursor->pos == cursor->nr) { in append_chain()
981 if (!cursor->nr) in callchain_append()
1003 int old_pos = cursor->nr; in merge_chain_branch()
1033 cursor->nr = old_pos; in merge_chain_branch()
1034 cursor->last = old_last; in merge_chain_branch()
1058 *cursor->last = node; in callchain_cursor_append()
1075 cursor->nr++; in callchain_cursor_append()
1596 cursor->nr = 0; in callchain_cursor_reset()
[all …]
/linux/drivers/video/fbdev/core/
A Dtileblit.c70 struct fb_tilecursor cursor; in tile_cursor() local
73 cursor.sx = vc->state.x; in tile_cursor()
74 cursor.sy = vc->state.y; in tile_cursor()
76 cursor.fg = fg; in tile_cursor()
77 cursor.bg = bg; in tile_cursor()
81 cursor.shape = FB_TILE_CURSOR_NONE; in tile_cursor()
84 cursor.shape = FB_TILE_CURSOR_UNDERLINE; in tile_cursor()
90 cursor.shape = FB_TILE_CURSOR_LOWER_HALF; in tile_cursor()
93 cursor.shape = FB_TILE_CURSOR_TWO_THIRDS; in tile_cursor()
97 cursor.shape = FB_TILE_CURSOR_BLOCK; in tile_cursor()
[all …]
A Dfbcon_ccw.c205 struct fb_cursor cursor; in ccw_cursor() local
218 cursor.set = 0; in ccw_cursor()
247 cursor.set |= FB_CUR_SETCMAP; in ccw_cursor()
255 cursor.set |= FB_CUR_SETSIZE; in ccw_cursor()
266 cursor.set |= FB_CUR_SETPOS; in ccw_cursor()
272 cursor.set |= FB_CUR_SETHOT; in ccw_cursor()
344 cursor.image.data = src; in ccw_cursor()
355 cursor.image.depth = 1; in ccw_cursor()
356 cursor.rop = ROP_XOR; in ccw_cursor()
362 soft_cursor(info, &cursor); in ccw_cursor()
[all …]
A Dfbcon_cw.c188 struct fb_cursor cursor; in cw_cursor() local
201 cursor.set = 0; in cw_cursor()
230 cursor.set |= FB_CUR_SETCMAP; in cw_cursor()
238 cursor.set |= FB_CUR_SETSIZE; in cw_cursor()
249 cursor.set |= FB_CUR_SETPOS; in cw_cursor()
255 cursor.set |= FB_CUR_SETHOT; in cw_cursor()
327 cursor.image.data = src; in cw_cursor()
338 cursor.image.depth = 1; in cw_cursor()
339 cursor.rop = ROP_XOR; in cw_cursor()
345 soft_cursor(info, &cursor); in cw_cursor()
[all …]
A Dbitblit.c224 struct fb_cursor cursor; in bit_cursor() local
233 cursor.set = 0; in bit_cursor()
262 cursor.set |= FB_CUR_SETCMAP; in bit_cursor()
270 cursor.set |= FB_CUR_SETPOS; in bit_cursor()
278 cursor.set |= FB_CUR_SETSIZE; in bit_cursor()
284 cursor.set |= FB_CUR_SETHOT; in bit_cursor()
344 cursor.image.data = src; in bit_cursor()
355 cursor.image.depth = 1; in bit_cursor()
356 cursor.rop = ROP_XOR; in bit_cursor()
362 soft_cursor(info, &cursor); in bit_cursor()
[all …]
A Dfbcon_ud.c234 struct fb_cursor cursor; in ud_cursor() local
248 cursor.set = 0; in ud_cursor()
277 cursor.set |= FB_CUR_SETCMAP; in ud_cursor()
285 cursor.set |= FB_CUR_SETSIZE; in ud_cursor()
296 cursor.set |= FB_CUR_SETPOS; in ud_cursor()
302 cursor.set |= FB_CUR_SETHOT; in ud_cursor()
366 cursor.image.data = src; in ud_cursor()
377 cursor.image.depth = 1; in ud_cursor()
378 cursor.rop = ROP_XOR; in ud_cursor()
384 soft_cursor(info, &cursor); in ud_cursor()
[all …]
A Dsoftcursor.c22 int soft_cursor(struct fb_info *info, struct fb_cursor *cursor) in soft_cursor() argument
34 s_pitch = (cursor->image.width + 7) >> 3; in soft_cursor()
35 dsize = s_pitch * cursor->image.height; in soft_cursor()
50 *image = cursor->image; in soft_cursor()
57 if (cursor->enable) { in soft_cursor()
58 switch (cursor->rop) { in soft_cursor()
61 src[i] = image->data[i] ^ cursor->mask[i]; in soft_cursor()
66 src[i] = image->data[i] & cursor->mask[i]; in soft_cursor()
/linux/drivers/video/fbdev/
A Dpmag-aa-fb.c108 if (cursor->image.height > BT431_CURSOR_SIZE || in aafb_cursor()
109 cursor->image.width > BT431_CURSOR_SIZE) { in aafb_cursor()
114 if (!cursor->enable) in aafb_cursor()
117 if (cursor->set & FB_CUR_SETPOS) in aafb_cursor()
119 cursor->image.dx, cursor->image.dy); in aafb_cursor()
120 if (cursor->set & FB_CUR_SETCMAP) { in aafb_cursor()
121 u8 fg = cursor->image.fg_color ? 0xf : 0x0; in aafb_cursor()
122 u8 bg = cursor->image.bg_color ? 0xf : 0x0; in aafb_cursor()
130 cursor->image.data, cursor->mask, cursor->rop, in aafb_cursor()
131 cursor->image.width, cursor->image.height); in aafb_cursor()
[all …]
/linux/drivers/firmware/google/
A Dmemconsole-coreboot.c23 u32 cursor; member
42 u32 cursor = cbmem_console->cursor & CURSOR_MASK; in memconsole_coreboot_read() local
43 u32 flags = cbmem_console->cursor & ~CURSOR_MASK; in memconsole_coreboot_read()
53 if (cursor > size) /* Shouldn't really happen, but... */ in memconsole_coreboot_read()
54 cursor = 0; in memconsole_coreboot_read()
55 seg[0] = (struct seg){.phys = cursor, .len = size - cursor}; in memconsole_coreboot_read()
56 seg[1] = (struct seg){.phys = 0, .len = cursor}; in memconsole_coreboot_read()
58 seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; in memconsole_coreboot_read()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vm.c459 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant()
466 ++cursor->level; in amdgpu_vm_pt_descendant()
468 cursor->parent = cursor->entry; in amdgpu_vm_pt_descendant()
469 cursor->entry = &to_amdgpu_bo_vm(cursor->entry->bo)->entries[idx]; in amdgpu_vm_pt_descendant()
501 ++cursor->entry; in amdgpu_vm_pt_sibling()
519 --cursor->level; in amdgpu_vm_pt_ancestor()
520 cursor->entry = cursor->parent; in amdgpu_vm_pt_ancestor()
521 cursor->parent = amdgpu_vm_pt_parent(cursor->parent); in amdgpu_vm_pt_ancestor()
566 *cursor = *start; in amdgpu_vm_pt_first_dfs()
598 if (!cursor->entry) in amdgpu_vm_pt_next_dfs()
[all …]
/linux/crypto/asymmetric_keys/
A Dverify_pefile.c32 size_t cursor, datalen = pelen; in pefile_parse_binary() local
45 cursor = sizeof(*mz); in pefile_parse_binary()
51 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary()
54 pe32 = pebuf + cursor; in pefile_parse_binary()
55 pe64 = pebuf + cursor; in pefile_parse_binary()
59 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary()
63 cursor += sizeof(*pe32); in pefile_parse_binary()
68 chkaddr(0, cursor, sizeof(*pe64)); in pefile_parse_binary()
72 cursor += sizeof(*pe64); in pefile_parse_binary()
90 ddir = pebuf + cursor; in pefile_parse_binary()
[all …]
/linux/net/rxrpc/
A Dpeer_event.c305 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument
340 slot += cursor; in rxrpc_peer_keepalive_dispatch()
362 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local
367 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
368 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker()
384 while (base <= now && (s8)(cursor - stop) < 0) { in rxrpc_peer_keepalive_worker()
388 cursor++; in rxrpc_peer_keepalive_worker()
395 rxnet->peer_keepalive_cursor = cursor; in rxrpc_peer_keepalive_worker()
400 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
401 stop = cursor + RXRPC_KEEPALIVE_TIME - 1; in rxrpc_peer_keepalive_worker()
[all …]
/linux/drivers/video/fbdev/intelfb/
A Dintelfbdrv.c707 dinfo->cursor.physical in intelfb_pci_register()
756 dinfo->cursor.physical, dinfo->cursor.size, in intelfb_pci_register()
757 dinfo->cursor.virtual, dinfo->cursor.offset, in intelfb_pci_register()
758 dinfo->cursor.physical); in intelfb_pci_register()
1562 cursor->image.width, cursor->image.height, in intelfb_cursor()
1563 cursor->image.dx, cursor->image.dy); in intelfb_cursor()
1568 cursor->image.dy); in intelfb_cursor()
1582 if (cursor->enable) in intelfb_cursor()
1597 if (cursor->image.width > 64 || cursor->image.height > 64) in intelfb_cursor()
1628 switch (cursor->rop) { in intelfb_cursor()
[all …]
/linux/lib/
A Dassoc_array.c31 cursor = root; in assoc_array_subtree_iterate()
83 cursor = ptr; in assoc_array_subtree_iterate()
97 cursor = parent; in assoc_array_subtree_iterate()
105 cursor = parent; in assoc_array_subtree_iterate()
186 if (!cursor) in assoc_array_walk()
229 cursor = ptr; in assoc_array_walk()
240 cursor = ptr; in assoc_array_walk()
353 cursor = root; in assoc_array_destroy_subtree()
354 if (!cursor) { in assoc_array_destroy_subtree()
387 cursor = ptr; in assoc_array_destroy_subtree()
[all …]

Completed in 73 milliseconds

12345678910