Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_cursor.c78 readl(cursor->regs + reg))
91 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() argument
93 if (cursor->pixmap.paddr == val) in cursor_dbg_pml()
94 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml()
98 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() argument
100 if (cursor->clut_paddr == val) in cursor_dbg_cml()
101 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml()
107 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; in cursor_dbg_show() local
110 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show()
114 cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO)); in cursor_dbg_show()
[all …]
/Linux-v4.19/fs/xfs/
Dxfs_attr_list.c46 #define XFS_ISRESET_CURSOR(cursor) \ argument
47 (!((cursor)->initted) && !((cursor)->hashval) && \
48 !((cursor)->blkno) && !((cursor)->offset))
59 attrlist_cursor_kern_t *cursor; in xfs_attr_shortform_list() local
74 cursor = context->cursor; in xfs_attr_shortform_list()
75 ASSERT(cursor != NULL); in xfs_attr_shortform_list()
89 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list()
157 cursor->initted = 1; in xfs_attr_shortform_list()
158 cursor->blkno = 0; in xfs_attr_shortform_list()
160 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
[all …]
/Linux-v4.19/scripts/
Dasn1_compiler.c810 struct token *cursor; in parse() local
816 cursor = type->name; in parse()
818 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse()
819 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse()
821 cursor += 2; in parse()
823 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
826 if (cursor != type[1].name) { in parse()
828 filename, cursor->line, cursor->content); in parse()
862 struct token *cursor = *_cursor; in parse_type() local
867 top = element = alloc_elem(cursor); in parse_type()
[all …]
/Linux-v4.19/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,
10 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor,
12 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor,
14 void sm750_hw_cursor_setData(struct lynx_cursor *cursor,
16 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor,
/Linux-v4.19/drivers/gpu/drm/mgag200/
Dmgag200_cursor.c25 if (mdev->cursor.pixels_1->pin_count) in mga_hide_cursor()
26 mgag200_bo_unpin(mdev->cursor.pixels_1); in mga_hide_cursor()
27 if (mdev->cursor.pixels_2->pin_count) in mga_hide_cursor()
28 mgag200_bo_unpin(mdev->cursor.pixels_2); in mga_hide_cursor()
39 struct mgag200_bo *pixels_1 = mdev->cursor.pixels_1; in mga_crtc_cursor_set()
40 struct mgag200_bo *pixels_2 = mdev->cursor.pixels_2; in mga_crtc_cursor_set()
41 struct mgag200_bo *pixels_current = mdev->cursor.pixels_current; in mga_crtc_cursor_set()
42 struct mgag200_bo *pixels_prev = mdev->cursor.pixels_prev; in mga_crtc_cursor_set()
99 &mdev->cursor.pixels_1_gpu_addr); in mga_crtc_cursor_set()
105 &mdev->cursor.pixels_2_gpu_addr); in mga_crtc_cursor_set()
[all …]
/Linux-v4.19/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-v4.19/tools/perf/util/
Dcallchain.h184 struct callchain_cursor *cursor,
187 int callchain_merge(struct callchain_cursor *cursor,
194 static inline void callchain_cursor_reset(struct callchain_cursor *cursor) in callchain_cursor_reset() argument
198 cursor->nr = 0; in callchain_cursor_reset()
199 cursor->last = &cursor->first; in callchain_cursor_reset()
201 for (node = cursor->first; node != NULL; node = node->next) in callchain_cursor_reset()
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()
[all …]
Dcallchain.c559 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
563 node->val_nr = cursor->nr - cursor->pos; in fill_node()
567 cursor_node = callchain_cursor_current(cursor); in fill_node()
616 callchain_cursor_advance(cursor); in fill_node()
617 cursor_node = callchain_cursor_current(cursor); in fill_node()
624 struct callchain_cursor *cursor, in add_child() argument
633 if (fill_node(new, cursor) < 0) { in add_child()
782 struct callchain_cursor *cursor, in split_add_child() argument
814 if (idx_total < cursor->nr) { in split_add_child()
825 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
/Linux-v4.19/net/ceph/
Dmessenger.c836 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
839 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
840 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init()
842 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init()
844 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init()
845 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init()
847 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init()
848 cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); in ceph_msg_data_bio_cursor_init()
851 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
855 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next()
[all …]
/Linux-v4.19/drivers/firmware/google/
Dmemconsole-coreboot.c30 u32 cursor; member
49 u32 cursor = cbmem_console->cursor & CURSOR_MASK; in memconsole_coreboot_read() local
50 u32 flags = cbmem_console->cursor & ~CURSOR_MASK; in memconsole_coreboot_read()
60 if (cursor > size) /* Shouldn't really happen, but... */ in memconsole_coreboot_read()
61 cursor = 0; in memconsole_coreboot_read()
62 seg[0] = (struct seg){.phys = cursor, .len = size - cursor}; in memconsole_coreboot_read()
63 seg[1] = (struct seg){.phys = 0, .len = cursor}; in memconsole_coreboot_read()
65 seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; in memconsole_coreboot_read()
/Linux-v4.19/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-v4.19/drivers/video/fbdev/core/
Dtileblit.c85 struct fb_tilecursor cursor; in tile_cursor() local
88 cursor.sx = vc->vc_x; in tile_cursor()
89 cursor.sy = vc->vc_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()
Dfbcon_ccw.c224 struct fb_cursor cursor; in ccw_cursor() local
237 cursor.set = 0; in ccw_cursor()
255 cursor.set |= FB_CUR_SETIMAGE; in ccw_cursor()
275 cursor.set |= FB_CUR_SETCMAP; in ccw_cursor()
283 cursor.set |= FB_CUR_SETSIZE; in ccw_cursor()
294 cursor.set |= FB_CUR_SETPOS; in ccw_cursor()
299 ops->cursor_state.hot.x = cursor.hot.y = 0; in ccw_cursor()
300 cursor.set |= FB_CUR_SETHOT; in ccw_cursor()
303 if (cursor.set & FB_CUR_SETSIZE || in ccw_cursor()
326 cursor.set |= FB_CUR_SETSHAPE; in ccw_cursor()
[all …]
Dfbcon_cw.c207 struct fb_cursor cursor; in cw_cursor() local
220 cursor.set = 0; in cw_cursor()
238 cursor.set |= FB_CUR_SETIMAGE; in cw_cursor()
258 cursor.set |= FB_CUR_SETCMAP; in cw_cursor()
266 cursor.set |= FB_CUR_SETSIZE; in cw_cursor()
277 cursor.set |= FB_CUR_SETPOS; in cw_cursor()
282 ops->cursor_state.hot.x = cursor.hot.y = 0; in cw_cursor()
283 cursor.set |= FB_CUR_SETHOT; in cw_cursor()
286 if (cursor.set & FB_CUR_SETSIZE || in cw_cursor()
309 cursor.set |= FB_CUR_SETSHAPE; in cw_cursor()
[all …]
Dbitblit.c239 struct fb_cursor cursor; in bit_cursor() local
248 cursor.set = 0; in bit_cursor()
266 cursor.set |= FB_CUR_SETIMAGE; in bit_cursor()
286 cursor.set |= FB_CUR_SETCMAP; in bit_cursor()
294 cursor.set |= FB_CUR_SETPOS; in bit_cursor()
302 cursor.set |= FB_CUR_SETSIZE; in bit_cursor()
307 ops->cursor_state.hot.x = cursor.hot.y = 0; in bit_cursor()
308 cursor.set |= FB_CUR_SETHOT; in bit_cursor()
311 if (cursor.set & FB_CUR_SETSIZE || in bit_cursor()
326 cursor.set |= FB_CUR_SETSHAPE; in bit_cursor()
[all …]
Dfbcon_ud.c254 struct fb_cursor cursor; in ud_cursor() local
268 cursor.set = 0; in ud_cursor()
286 cursor.set |= FB_CUR_SETIMAGE; in ud_cursor()
306 cursor.set |= FB_CUR_SETCMAP; in ud_cursor()
314 cursor.set |= FB_CUR_SETSIZE; in ud_cursor()
325 cursor.set |= FB_CUR_SETPOS; in ud_cursor()
330 ops->cursor_state.hot.x = cursor.hot.y = 0; in ud_cursor()
331 cursor.set |= FB_CUR_SETHOT; in ud_cursor()
334 if (cursor.set & FB_CUR_SETSIZE || in ud_cursor()
349 cursor.set |= FB_CUR_SETSHAPE; in ud_cursor()
[all …]
/Linux-v4.19/net/rxrpc/
Dpeer_event.c299 u8 cursor = peer->rtt_cursor, usage = peer->rtt_usage; in rxrpc_peer_add_rtt() local
308 sum -= peer->rtt_cache[cursor]; in rxrpc_peer_add_rtt()
310 peer->rtt_cache[cursor] = rtt; in rxrpc_peer_add_rtt()
311 peer->rtt_cursor = (cursor + 1) & (RXRPC_RTT_CACHE_SIZE - 1); in rxrpc_peer_add_rtt()
340 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument
362 cursor, peer->debug_id, slot, &peer->srx.transport); in rxrpc_peer_keepalive_dispatch()
373 slot += cursor; in rxrpc_peer_keepalive_dispatch()
393 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local
398 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
399 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker()
[all …]
/Linux-v4.19/crypto/asymmetric_keys/
Dverify_pefile.c36 size_t cursor, datalen = pelen; in pefile_parse_binary() local
49 cursor = sizeof(*mz); in pefile_parse_binary()
51 chkaddr(cursor, mz->peaddr, sizeof(*pe)); in pefile_parse_binary()
55 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary()
57 chkaddr(0, cursor, sizeof(pe32->magic)); in pefile_parse_binary()
58 pe32 = pebuf + cursor; in pefile_parse_binary()
59 pe64 = pebuf + cursor; in pefile_parse_binary()
63 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary()
67 cursor += sizeof(*pe32); in pefile_parse_binary()
72 chkaddr(0, cursor, sizeof(*pe64)); in pefile_parse_binary()
[all …]
/Linux-v4.19/drivers/staging/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-v4.19/drivers/video/fbdev/intelfb/
Dintelfbdrv.c154 struct fb_cursor *cursor);
611 dinfo->cursor.size = HW_CURSOR_SIZE; in intelfb_pci_register()
637 dinfo->cursor.offset = offset + in intelfb_pci_register()
642 + (dinfo->cursor.size >> 12); in intelfb_pci_register()
693 agp_allocate_memory(bridge, dinfo->cursor.size >> 12, in intelfb_pci_register()
701 dinfo->cursor.offset)) { in intelfb_pci_register()
708 dinfo->cursor.physical in intelfb_pci_register()
711 dinfo->cursor.physical = dinfo->aperture.physical in intelfb_pci_register()
712 + (dinfo->cursor.offset << 12); in intelfb_pci_register()
713 dinfo->cursor.virtual = dinfo->aperture.virtual in intelfb_pci_register()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c48 } cursor; member
378 spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); in update_cursor()
379 if (mdp4_crtc->cursor.stale) { in update_cursor()
380 struct drm_gem_object *next_bo = mdp4_crtc->cursor.next_bo; in update_cursor()
381 struct drm_gem_object *prev_bo = mdp4_crtc->cursor.scanout_bo; in update_cursor()
382 uint64_t iova = mdp4_crtc->cursor.next_iova; in update_cursor()
391 MDP4_DMA_CURSOR_SIZE_WIDTH(mdp4_crtc->cursor.width) | in update_cursor()
392 MDP4_DMA_CURSOR_SIZE_HEIGHT(mdp4_crtc->cursor.height)); in update_cursor()
407 mdp4_crtc->cursor.scanout_bo = next_bo; in update_cursor()
408 mdp4_crtc->cursor.stale = false; in update_cursor()
[all …]
/Linux-v4.19/lib/
Dassoc_array.c31 const struct assoc_array_ptr *cursor, *ptr, *parent; in assoc_array_subtree_iterate() local
35 cursor = root; in assoc_array_subtree_iterate()
38 if (assoc_array_ptr_is_shortcut(cursor)) { in assoc_array_subtree_iterate()
40 shortcut = assoc_array_ptr_to_shortcut(cursor); in assoc_array_subtree_iterate()
41 cursor = READ_ONCE(shortcut->next_node); /* Address dependency. */ in assoc_array_subtree_iterate()
44 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate()
83 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate()
87 cursor = ptr; in assoc_array_subtree_iterate()
101 cursor = parent; in assoc_array_subtree_iterate()
109 cursor = parent; in assoc_array_subtree_iterate()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c69 } cursor; member
480 if (mdp5_crtc->cursor.iova) { in mdp5_crtc_atomic_enable()
483 spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_atomic_enable()
485 spin_unlock_irqrestore(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_atomic_enable()
778 if (mdp5_crtc->cursor.x >= 0) in get_roi()
779 *roi_w = min(mdp5_crtc->cursor.width, xres - in get_roi()
780 mdp5_crtc->cursor.x); in get_roi()
782 *roi_w = mdp5_crtc->cursor.width - abs(mdp5_crtc->cursor.x); in get_roi()
783 if (mdp5_crtc->cursor.y >= 0) in get_roi()
784 *roi_h = min(mdp5_crtc->cursor.height, yres - in get_roi()
[all …]

123456789