Home
last modified time | relevance | path

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

12345678910

/Linux-v5.15/drivers/gpu/drm/sti/
Dsti_cursor.c80 readl(cursor->regs + reg))
93 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() argument
95 if (cursor->pixmap.paddr == val) in cursor_dbg_pml()
96 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml()
100 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() argument
102 if (cursor->clut_paddr == val) in cursor_dbg_cml()
103 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml()
109 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; in cursor_dbg_show() local
112 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show()
116 cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO)); in cursor_dbg_show()
[all …]
/Linux-v5.15/scripts/
Dasn1_compiler.c806 struct token *cursor; in parse() local
812 cursor = type->name; in parse()
814 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse()
815 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse()
817 cursor += 2; in parse()
819 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
822 if (cursor != type[1].name) { in parse()
824 filename, cursor->line, cursor->content); in parse()
858 struct token *cursor = *_cursor; in parse_type() local
863 top = element = alloc_elem(cursor); in parse_type()
[all …]
/Linux-v5.15/fs/xfs/
Dxfs_attr_list.c41 #define XFS_ISRESET_CURSOR(cursor) \ argument
42 (!((cursor)->initted) && !((cursor)->hashval) && \
43 !((cursor)->blkno) && !((cursor)->offset))
55 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local
81 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list()
153 cursor->initted = 1; in xfs_attr_shortform_list()
154 cursor->blkno = 0; in xfs_attr_shortform_list()
156 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
157 if (cursor->offset == count) { in xfs_attr_shortform_list()
161 } else if (sbp->hash > cursor->hashval) { in xfs_attr_shortform_list()
[all …]
/Linux-v5.15/net/ceph/
Dmessenger.c715 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
718 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
719 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init()
721 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init()
723 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init()
724 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init()
726 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init()
727 cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); in ceph_msg_data_bio_cursor_init()
730 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
734 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next()
[all …]
/Linux-v5.15/drivers/staging/sm750fb/
Dsm750_cursor.c23 writel((data), cursor->mmio + (addr))
48 void sm750_hw_cursor_enable(struct lynx_cursor *cursor) in sm750_hw_cursor_enable() argument
52 reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE; in sm750_hw_cursor_enable()
56 void sm750_hw_cursor_disable(struct lynx_cursor *cursor) in sm750_hw_cursor_disable() argument
61 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h) in sm750_hw_cursor_setSize() argument
63 cursor->w = w; in sm750_hw_cursor_setSize()
64 cursor->h = h; in sm750_hw_cursor_setSize()
67 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) in sm750_hw_cursor_setPos() argument
76 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument
85 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, in sm750_hw_cursor_setData() argument
[all …]
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-v5.15/drivers/video/fbdev/aty/
Dmach64_cursor.c68 static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in atyfb_cursor() argument
82 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()
144 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { in atyfb_cursor()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_cursor.c282 if (plane->cursor.base != base || in i845_update_cursor()
283 plane->cursor.size != size || in i845_update_cursor()
284 plane->cursor.cntl != cntl) { in i845_update_cursor()
291 plane->cursor.base = base; in i845_update_cursor()
292 plane->cursor.size = size; in i845_update_cursor()
293 plane->cursor.cntl = cntl; in i845_update_cursor()
542 if (plane->cursor.base != base || in i9xx_update_cursor()
543 plane->cursor.size != fbc_ctl || in i9xx_update_cursor()
544 plane->cursor.cntl != cntl) { in i9xx_update_cursor()
552 plane->cursor.base = base; in i9xx_update_cursor()
[all …]
/Linux-v5.15/tools/perf/util/
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);
205 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
212 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
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()
[all …]
Dcallchain.c566 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
570 node->val_nr = cursor->nr - cursor->pos; in fill_node()
574 cursor_node = callchain_cursor_current(cursor); in fill_node()
623 callchain_cursor_advance(cursor); in fill_node()
624 cursor_node = callchain_cursor_current(cursor); in fill_node()
631 struct callchain_cursor *cursor, in add_child() argument
640 if (fill_node(new, cursor) < 0) { in add_child()
790 struct callchain_cursor *cursor, in split_add_child() argument
822 if (idx_total < cursor->nr) { in split_add_child()
833 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
/Linux-v5.15/drivers/firmware/google/
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-v5.15/drivers/video/fbdev/
Dpmag-aa-fb.c104 static int aafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in aafb_cursor() argument
108 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()
128 if (cursor->set & (FB_CUR_SETSIZE | FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) in aafb_cursor()
[all …]
/Linux-v5.15/drivers/video/fbdev/core/
Dtileblit.c85 struct fb_tilecursor cursor; in tile_cursor() local
88 cursor.sx = vc->state.x; in tile_cursor()
89 cursor.sy = vc->state.y; in tile_cursor()
90 cursor.mode = (mode == CM_ERASE || use_sw) ? 0 : 1; in tile_cursor()
91 cursor.fg = fg; in tile_cursor()
92 cursor.bg = bg; in tile_cursor()
96 cursor.shape = FB_TILE_CURSOR_NONE; in tile_cursor()
99 cursor.shape = FB_TILE_CURSOR_UNDERLINE; in tile_cursor()
102 cursor.shape = FB_TILE_CURSOR_LOWER_THIRD; in tile_cursor()
105 cursor.shape = FB_TILE_CURSOR_LOWER_HALF; in tile_cursor()
[all …]
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()
Dbitblit.c239 struct fb_cursor cursor; in bit_cursor() local
248 cursor.set = 0; in bit_cursor()
257 cursor.set |= FB_CUR_SETIMAGE; in bit_cursor()
277 cursor.set |= FB_CUR_SETCMAP; in bit_cursor()
285 cursor.set |= FB_CUR_SETPOS; in bit_cursor()
293 cursor.set |= FB_CUR_SETSIZE; in bit_cursor()
298 ops->cursor_state.hot.x = cursor.hot.y = 0; in bit_cursor()
299 cursor.set |= FB_CUR_SETHOT; in bit_cursor()
302 if (cursor.set & FB_CUR_SETSIZE || in bit_cursor()
317 cursor.set |= FB_CUR_SETSHAPE; in bit_cursor()
[all …]
Dfbcon_cw.c207 struct fb_cursor cursor; in cw_cursor() local
220 cursor.set = 0; in cw_cursor()
229 cursor.set |= FB_CUR_SETIMAGE; in cw_cursor()
249 cursor.set |= FB_CUR_SETCMAP; in cw_cursor()
257 cursor.set |= FB_CUR_SETSIZE; in cw_cursor()
268 cursor.set |= FB_CUR_SETPOS; in cw_cursor()
273 ops->cursor_state.hot.x = cursor.hot.y = 0; in cw_cursor()
274 cursor.set |= FB_CUR_SETHOT; in cw_cursor()
277 if (cursor.set & FB_CUR_SETSIZE || in cw_cursor()
300 cursor.set |= FB_CUR_SETSHAPE; in cw_cursor()
[all …]
Dfbcon_ud.c254 struct fb_cursor cursor; in ud_cursor() local
268 cursor.set = 0; in ud_cursor()
277 cursor.set |= FB_CUR_SETIMAGE; in ud_cursor()
297 cursor.set |= FB_CUR_SETCMAP; in ud_cursor()
305 cursor.set |= FB_CUR_SETSIZE; in ud_cursor()
316 cursor.set |= FB_CUR_SETPOS; in ud_cursor()
321 ops->cursor_state.hot.x = cursor.hot.y = 0; in ud_cursor()
322 cursor.set |= FB_CUR_SETHOT; in ud_cursor()
325 if (cursor.set & FB_CUR_SETSIZE || in ud_cursor()
340 cursor.set |= FB_CUR_SETSHAPE; in ud_cursor()
[all …]
Dfbcon_ccw.c224 struct fb_cursor cursor; in ccw_cursor() local
237 cursor.set = 0; in ccw_cursor()
246 cursor.set |= FB_CUR_SETIMAGE; in ccw_cursor()
266 cursor.set |= FB_CUR_SETCMAP; in ccw_cursor()
274 cursor.set |= FB_CUR_SETSIZE; in ccw_cursor()
285 cursor.set |= FB_CUR_SETPOS; in ccw_cursor()
290 ops->cursor_state.hot.x = cursor.hot.y = 0; in ccw_cursor()
291 cursor.set |= FB_CUR_SETHOT; in ccw_cursor()
294 if (cursor.set & FB_CUR_SETSIZE || in ccw_cursor()
317 cursor.set |= FB_CUR_SETSHAPE; in ccw_cursor()
[all …]
/Linux-v5.15/crypto/asymmetric_keys/
Dverify_pefile.c32 size_t cursor, datalen = pelen; in pefile_parse_binary() local
45 cursor = sizeof(*mz); in pefile_parse_binary()
47 chkaddr(cursor, mz->peaddr, sizeof(*pe)); in pefile_parse_binary()
51 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary()
53 chkaddr(0, cursor, sizeof(pe32->magic)); 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()
[all …]
/Linux-v5.15/net/rxrpc/
Dpeer_event.c305 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument
328 cursor, peer->debug_id, slot, &peer->srx.transport); in rxrpc_peer_keepalive_dispatch()
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()
383 stop = cursor + ARRAY_SIZE(rxnet->peer_keepalive); in rxrpc_peer_keepalive_worker()
384 while (base <= now && (s8)(cursor - stop) < 0) { in rxrpc_peer_keepalive_worker()
385 list_splice_tail_init(&rxnet->peer_keepalive[cursor & mask], in rxrpc_peer_keepalive_worker()
388 cursor++; in rxrpc_peer_keepalive_worker()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.c436 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() argument
438 cursor->pfn = start; in amdgpu_vm_pt_start()
439 cursor->parent = NULL; in amdgpu_vm_pt_start()
440 cursor->entry = &vm->root; in amdgpu_vm_pt_start()
441 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start()
455 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() argument
459 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant()
460 !cursor->entry->bo) in amdgpu_vm_pt_descendant()
463 mask = amdgpu_vm_entries_mask(adev, cursor->level); in amdgpu_vm_pt_descendant()
464 shift = amdgpu_vm_level_shift(adev, cursor->level); in amdgpu_vm_pt_descendant()
[all …]
/Linux-v5.15/drivers/accessibility/speakup/
DDefaultKeyAssignments12 InsKeyPad-8 say from top of screen to reading cursor.
18 InsKeyPad-4 say from left edge of line to reading cursor.
20 InsKeyPad-6 Say from reading cursor to right edge of line.
26 InsKeyPad-plus Say from reading cursor line to bottom of screen.
27 KeyPad-Minus Park reading cursor (toggle)
31 InsKeyPad-9 Move reading cursor to top of screen (insert pgup)
32 InsKeyPad-3 Move reading cursor to bottom of screen (insert pgdn)
33 InsKeyPad-7 Move reading cursor to left edge of screen (insert home)
34 InsKeyPad-1 Move reading cursor to right edge of screen (insert end)
35 ControlKeyPad-1 Move reading cursor to last character on current line.
[all …]
/Linux-v5.15/drivers/video/fbdev/intelfb/
Dintelfbdrv.c154 struct fb_cursor *cursor);
610 dinfo->cursor.size = HW_CURSOR_SIZE; in intelfb_pci_register()
636 dinfo->cursor.offset = offset + in intelfb_pci_register()
641 + (dinfo->cursor.size >> 12); in intelfb_pci_register()
692 agp_allocate_memory(bridge, dinfo->cursor.size >> 12, in intelfb_pci_register()
700 dinfo->cursor.offset)) { in intelfb_pci_register()
707 dinfo->cursor.physical in intelfb_pci_register()
710 dinfo->cursor.physical = dinfo->aperture.physical in intelfb_pci_register()
711 + (dinfo->cursor.offset << 12); in intelfb_pci_register()
712 dinfo->cursor.virtual = dinfo->aperture.virtual in intelfb_pci_register()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c39 } cursor; member
363 spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); in update_cursor()
364 if (mdp4_crtc->cursor.stale) { in update_cursor()
365 struct drm_gem_object *next_bo = mdp4_crtc->cursor.next_bo; in update_cursor()
366 struct drm_gem_object *prev_bo = mdp4_crtc->cursor.scanout_bo; in update_cursor()
367 uint64_t iova = mdp4_crtc->cursor.next_iova; in update_cursor()
376 MDP4_DMA_CURSOR_SIZE_WIDTH(mdp4_crtc->cursor.width) | in update_cursor()
377 MDP4_DMA_CURSOR_SIZE_HEIGHT(mdp4_crtc->cursor.height)); in update_cursor()
392 mdp4_crtc->cursor.scanout_bo = next_bo; in update_cursor()
393 mdp4_crtc->cursor.stale = false; in update_cursor()
[all …]
/Linux-v5.15/lib/
Dassoc_array.c27 const struct assoc_array_ptr *cursor, *ptr, *parent; in assoc_array_subtree_iterate() local
31 cursor = root; in assoc_array_subtree_iterate()
34 if (assoc_array_ptr_is_shortcut(cursor)) { in assoc_array_subtree_iterate()
36 shortcut = assoc_array_ptr_to_shortcut(cursor); in assoc_array_subtree_iterate()
37 cursor = READ_ONCE(shortcut->next_node); /* Address dependency. */ in assoc_array_subtree_iterate()
40 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate()
79 node = assoc_array_ptr_to_node(cursor); 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()
[all …]

12345678910